Custom JavaScript editor for extending Intervals.icu

Custom JavaScript

Extend Intervals.icu with your own JavaScript. Create computed activity fields, custom interval fields, custom activity streams from FIT file data, and custom charts with Plotly. Share your creations with the community.

Make It Your Own

Intervals.icu lets you write JavaScript that runs on the server to create your own fields, streams, and charts. Access activity data, wellness records, FIT file contents, and more to build exactly the analysis you need.

  • Custom activity fields: compute values from activity data, streams, and wellness records
  • Custom interval fields: calculate metrics for each detected interval
  • Custom activity streams: extract and transform data from FIT file record messages
  • Custom activity charts: build interactive visualizations with Plotly
  • Scripts run on Intervals.icu servers with access to athlete and sport settings
  • Test scripts in context with a built-in play button
  • Code completion support for VS Code and IntelliJ IDEA
  • Share your custom fields, streams, and charts with the community