A minimalist web radio player for discovering and listening to thousands of stations worldwide. Built with Astro — smart search, favorites with share/export, a mobile-first player, and a clean ad-free experience.
Live: https://touchradio.eu
- 7,000+ radio stations — worldwide coverage across genres
- Smart search — filter by genre, country, codec, and bitrate
- Live playback — stream in the browser with dock + Now Playing drawer
- Favorites — save stations with ♥ (stored in
localStorage, no login) - Share & export — share a favorites link, or export M3U / M3U8 / PLS / JSON
- Sleep timer — 5–120 minutes with countdown and fade-out before stop
- Media Session — lock-screen / OS media controls where supported
- Light & dark theme — Hi-Fi dark by default, toggle persists locally
- Responsive PWA — installable; works on desktop and mobile
- Privacy-conscious — cookie-free TOPlist visitor counting, no ads
- Fast & static — Astro SSG for quick loads
- Node.js 20.x or higher
- npm or pnpm
# Clone the repository
git clone https://github.com/Morganczech/touch-radio-web.git
cd touch-radio-web
# Install dependencies
npm install
# Fetch latest station data
npm run fetch:stations
# Start development server
npm run devVisit http://localhost:4321 to see the app in action.
# Build the site (also refreshes station data via prebuild)
npm run build
# Preview the build
npm run previewtouch-radio-web/
├── public/ # Static assets, PWA icons, manifest
├── scripts/ # Build-time station fetch / normalize
├── src/
│ ├── components/ # UI (header, hero, grid, player, favorites)
│ ├── data/ # Station JSON
│ ├── layouts/ # Base layout + theme bootstrap
│ ├── pages/ # Routes
│ ├── scripts/ # Client logic (player, favorites, filters)
│ └── styles/ # Design tokens + station cards
└── package.json
- Text search — station name, genre, or keywords
- Filters — country, genre, codec
- Smart search syntax:
jazz 128 us mp3— US jazz, ~128 kbps MP3rock germany— German rockclassical 320— high-bitrate classical
- Tap ♥ on a station card to save it
- Open Favorites (sidebar on desktop, bottom nav / header on mobile)
- Play, remove, or Share Favorites Link (URL with
?playlist=…) - Export as M3U / M3U8 / PLS / JSON
Opening a shared link loads those stations into Favorites.
- Use the bottom dock for play / pause / prev / next / volume
- On mobile, tap the dock (or the up chevron) to open Now Playing
- Set a Sleep timer there — countdown shows in the dock; audio fades in the last minute, then the stream disconnects
Ctrl/Cmd + K— focus searchEsc— clear search
- Framework: Astro
- Language: TypeScript
- Styling: Vanilla CSS with design tokens (light/dark)
- Fonts: Geist, Inter, JetBrains Mono
- Data: Radio Browser API
- Deploy: Netlify (or any static host)
Station data comes from the Radio Browser API. It is fetched at build time and stored locally for fast access.
npm run fetch:stationsThis fetches the top voted/clicked stations, merges them, and normalizes the data.
The station list is updated daily at 4:00 AM UTC via GitHub Actions. On a fork, enable Read and write permissions under Settings → Actions → General → Workflow permissions.
Contributions are welcome — feel free to open a Pull Request.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit (
git commit -m 'add: amazing feature') - Push and open a Pull Request
add:— new featuresupdate:— updates to existing featuresfix:— bug fixesrefactor:— code refactoringdocs:— documentationchore:— maintenance
MIT — see the LICENSE file.
- Radio Browser — station database
- Astro — framework
- All radio stations and broadcasters
- GitHub: @Morganczech
- Project: https://github.com/Morganczech/touch-radio-web
Touch Radio — Discover radio, your way.
