This project is 99% code generated using Bolt.new + windsurft + Claude. The heatmap UI is inspired by city-roads. Huge thanks to anvaka!
A modern web application that integrates with Strava to visualize and analyze your cycling activities, generate an attractive annual cycling heatmap. Built with Next.js 15, featuring a beautiful UI and comprehensive statistics.
English | 简体中文
- Strava Integration
- Detailed Activity Statistics
- Activity Maps with Routes
- Responsive Design
- Dark/Light Mode
- i18n Support (English/Chinese)
- Next.js 15
- TypeScript
- Tailwind CSS
- next-intl
- Mapbox
- OpenStreetMap
- Clone the repository:
git clone https://github.com/hi-otto/strava-ride-insights.git
cd strava-ride-insights
- Install dependencies:
npm install
-
Set up environment variables: Create a
.env.local
file with:First, get your Strava API credentials from https://www.strava.com/settings/api:
- Log in to your Strava account
- Go to Settings > API
- Create an application to get your Client ID and Client Secret
AUTH_STRAVA_ID=your_client_id
AUTH_STRAVA_SECRET=your_client_secret
NEXT_PUBLIC_BASE_URL=http://localhost:3000
- Run the development server:
npm run dev
Open http://localhost:3000 to view the application.
npm run dev
- Start development servernpm run build
- Build for productionnpm run start
- Start production servernpm run lint
- Run ESLintnpm run format
- Format code with Prettier