A modern, beautiful website for browsing and playing CC0 sound effects.
- Dark theme with accent color highlights
- Browse sound collections by folder
- Individual audio playback with waveform visualization
- Download individual sounds or entire collections
- Responsive design for all devices
- Fast static site generation with Astro
cc0-sounds-web/
├── public/
│ ├── sounds # Audio files
│ └── favicon.svg
├── src/
│ ├── components/
│ │ ├── AudioPlayer.astro # Audio player with play/download
│ │ ├── CollectionCard.astro # Collection preview card
│ │ ├── Footer.astro # Site footer
│ │ └── Header.astro # Site header
│ ├── data/
│ │ └── collections.ts # Collection metadata
│ ├── layouts/
│ │ └── BaseLayout.astro # Base HTML layout
│ ├── pages/
│ │ ├── index.astro # Homepage - collection list
│ │ └── collection/[id].astro # Collection detail page
│ └── types.ts # TypeScript types
├── scripts/
│ └── scan-audio.js # Scan audio folders
├── astro.config.mjs
├── package.json
└── tsconfig.json
- Node.js 18+
- npm or yarn
cd cc0-sounds-web
npm installnpm run devOpen http://localhost:4321 in your browser.
npm run buildThe static files will be in the dist folder.
The website expects audio files to be placed in the public/sounds folder within the project.
To scan your audio folders and generate metadata:
node scripts/scan-audio.jsThis will output JSON with all collections to data/collections.ts.
All audio files are CC0 licensed. The website code is CC0 licensed.