A clean, vibe-coded, offline-ready and hopefully useful running pace calculator for planning races and training sessions.
- Goal Time — enter a distance and target time to see your required pace and speed
- Pace Splits — view per-km (or per-mile) split times for any pace, with faster/slower offset comparisons
- Metric / Imperial — toggle between km and miles throughout the app
- PWA — installable on your phone or desktop, works fully offline
- Mobile-first — designed for quick use on the go, with a responsive desktop layout
- React + TypeScript
- Vite for builds and dev server
- Tailwind CSS v4 for styling
- Vitest for unit testing
# Clone the repo
git clone https://github.com/laban211/pacecalc.git
cd pacecalc
# Install dependencies
npm install
# Start the dev server
npm run dev| Command | Description |
|---|---|
npm run dev |
Start dev server |
npm run build |
Type-check and build |
npm run test |
Run unit tests |
npm run lint |
Lint with ESLint |