Sprint.dev
Open source learning roadmaps for self-taught developers. Each topic ends with something to build, with progress saved locally on your device.
What it is#
Sprint.dev is an open source learning platform built around structured learning roadmaps for self-taught developers.
Instead of treating a roadmap as just a list of technologies, each topic explains why it matters, what to learn, and what to build to prove you understood it. There are no accounts or required backend services for learning progress. Progress, notes and streaks stay on the device, and the app can be installed and used as a PWA.
The project includes roadmaps for Rust and fullstack web development.
The code is MIT licensed and available on GitHub.
How it works#
- Roadmaps. Learning is organized into phases and topics. Each topic includes a short explanation of why it matters, subtopics, learning resources and a milestone project.
- Progress tracking. Completed topics are persisted locally, with roadmap-level progress and an overall progress view.
- Streaks. Completing learning activities contributes to a daily streak and progress heatmap.
- Offline support. The app uses a custom service worker to cache the application and supported roadmap content for offline use.
- PWA. Sprint.dev can be installed on supported devices and behaves like an app rather than only a website.
- Search. A keyboard-accessible search interface lets you quickly find roadmaps and lessons with
⌘K. - Export & import. Learning progress can be exported as a backup file and restored later without needing an account.
- Responsive UI. The interface is designed to work across desktop and mobile screens.
- Local-first. Learning progress doesn't depend on a server or account.
The problem#
Most developer roadmaps tell you what to learn but leave the actual learning process to the reader.
Sprint.dev turns the roadmap into a more actionable workflow: learn a topic, understand why it matters, complete it, and build something that demonstrates the concept. It also keeps progress available without requiring an account or backend.
What I built#
- A Next.js 16 and React 19 application with statically generated roadmap and lesson pages
- Typed roadmap content that acts as the source of truth for the learning material
- A roadmap interface with topic completion and milestone tracking
- Local-first progress persistence using
localStorage - Cross-component and cross-tab progress synchronization
- Daily streak and completion tracking
- Progress heatmap and roadmap statistics
- Export and import functionality for local progress backups
- A custom service worker for offline caching
- PWA installation support
- Keyboard-driven global search
- An optional admin area for self-hosting lesson videos and PDFs using S3-compatible storage
- Server-side authentication and protected admin routes
- Automated type checking, tests and production builds through GitHub Actions
- Project documentation and a security policy
What broke#
Progress that vanished on refresh.
The first version kept roadmap progress in component state. Reloading the page wiped everything, which made progress tracking effectively useless.
I moved the state into a localStorage-based hook so progress persists between sessions and stays synchronized between components and browser tabs.
A streak that counted the wrong thing.
The original streak implementation increased when the site was opened instead of when something was actually completed. The function responsible for recording completed lessons also wasn't being called, leaving the heatmap empty.
I changed the system to record actual completion activity and calculate consecutive learning days using local dates rather than UTC dates. Un-completing work also correctly affects the streak.
An admin panel protected in the browser.
The original admin gate compared a browser-provided value against a NEXT_PUBLIC_ environment variable with a default password. Because NEXT_PUBLIC_ variables are exposed to the client, this wasn't a meaningful security boundary.
I replaced it with server-side password verification, a signed httpOnly session cookie, rate-limited authentication and authorization checks on protected admin routes.
Engineering decisions#
Content as code.
Roadmaps are typed objects stored in the repository rather than database records or CMS content. Pages are generated from that data, so the project doesn't require a database just to serve learning material.
Adding or changing a roadmap is therefore a normal code change that can go through a pull request.
Local-first progress.
Sprint.dev doesn't require an account just to remember what you've learned. Progress lives in the browser and can be exported as a backup.
This keeps the core learning experience simple while leaving room for optional synchronization in the future.
Custom service worker.
The service worker is deliberately small and project-specific. Sprint.dev mainly needs predictable caching for its statically generated application and roadmap content, so a custom implementation keeps the offline behavior explicit instead of introducing another abstraction for a relatively focused requirement.
localStorage for progress.
The progress data is small, structured state rather than a large offline database. localStorage provides persistence without the additional complexity of IndexedDB while still making the data easy to export, restore and inspect.
Claims that match the code.
Earlier versions of the project contained claims and UI that weren't backed by the actual implementation, including fake student numbers, ratings and unsupported offline behavior.
Those were removed so the project documentation and interface describe what the application actually does.
Features#
| Feature | Description | | --- | --- | | Roadmaps | Structured learning paths divided into phases and topics | | Milestones | Build projects after completing learning sections | | Progress tracking | Track completed topics and roadmap progress | | Streaks | Track consecutive days of learning activity | | Heatmap | Visualize completion activity | | Local-first | Progress is stored on the device | | Export / Import | Back up and restore learning progress | | PWA | Install Sprint.dev like a native application | | Offline support | Cached application and supported roadmap content | | Search | Quickly find lessons and roadmaps | | Responsive | Works across desktop and mobile | | Admin area | Protected interface for managing optional learning assets | | S3 storage | Support for videos and PDFs through S3-compatible storage | | GitHub Actions | Automated typecheck, tests and production builds |
What it runs on#
TypeScript, Next.js, React, Tailwind CSS, a custom service worker, the AWS S3 SDK for S3-compatible storage, Vercel and GitHub Actions.
Sprint.dev is currently a completed open-source project rather than an actively maintained course library. The existing roadmaps and application remain available for anyone who wants to explore, run or contribute to the codebase.
Links#
Links#
View Live Demo →
View Source on GitHub ↗
- License: MIT