Skip to content
j-vPublic

About

Enterprise Pedaling Intelligence Console - Millenial Edition

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

EpicPedal — Enterprise Pedaling Intelligence Console

The over-engineered cycling training dashboard designed by committee for enterprise customers

How can you know how your cycling season is going without a quarterly report?

EpicPedal: A personal cycling training dashboard that reads athlete data from intervals.icu, aggregates server-side, and caches aggresively so page loads stay fast and upstream API stays quiet. See my example dashboard hosted at epicpedal.vercel.app

Currently the platform supports only a single athlete, so you need to self-host your own if you want to see your own data. (It's easy with Docker!) Feel free to create a GitHub issue if you want to see the dashboard extended for multiple athlete sign-ins.

Quick start

npm install
cp .env.example .env.local    # fill in your intervals.icu API key
npm run dev                   # http://localhost:3000

API credentials: intervals.icu → Settings → Developer settings.

Deploying

Easiest deployment is through Vercel CLI:

npx vercel link         # once per clone; writes .vercel/project.json
npx vercel deploy --prod

You can connect your Upstash Redis account via Vercel web UI, otherwise it will fallback to in-memory cache.

Self-hosting

Prefer your own machine? The Docker image needs only your intervals.icu API key — no Vercel account, no Redis:

cp .env.example .env    # paste your INTERVALS_API_KEY
docker compose up --build

The dashboard is at http://localhost:3456. Compose passes the env contract (INTERVALS_API_KEY, optional INTERVALS_ATHLETE_ID, and optional KV_REST_API_URL / KV_REST_API_TOKEN) into the container.

Without the KV_* values the app uses its per-process in-memory cache. That is fine for personal use — Redis only starts to matter for serverless deploys, where every invocation is a fresh process.

More documentation

About

Enterprise Pedaling Intelligence Console - Millenial Edition

Resources

Stars

1 star

Watchers

0 watching

Forks

Sponsor this project

Used by

Contributors

Languages