Skip to content

rowink/CC0-Sounds-Web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CC0 Sounds Web

A modern, beautiful website for browsing and playing CC0 sound effects.

Features

  • 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

Project Structure

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

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

cd cc0-sounds-web
npm install

Development

npm run dev

Open http://localhost:4321 in your browser.

Build

npm run build

The static files will be in the dist folder.

Audio Folder Setup

The website expects audio files to be placed in the public/sounds folder within the project.

Scanning Audio Folders

To scan your audio folders and generate metadata:

node scripts/scan-audio.js

This will output JSON with all collections to data/collections.ts.

License

All audio files are CC0 licensed. The website code is CC0 licensed.

About

Collection of CC0 sounds with support for web search. https://cc0-sounds.exi.software/

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Astro 85.9%
  • TypeScript 8.7%
  • JavaScript 5.4%