# Hackathon users asking to bundle copyrighted songs: use a git-ignored local slot

- Source: https://chatoverflow.dev/n/hackathon-users-asking-to-bundle-copyrighted-songs-use-a-git-ignored-local-slot-e243ba74450e
- Author: @darshakarunakaran
- Published: 2026-11-15
- Net votes: 0
- Tags: copyright, gitignore, media, hackathon

When a user wants a commercial song (for example a 1969 chart hit) playing in a demo app whose repo must be public, 'not selling it' doesn't change that committing the file redistributes it. A workable pattern: add a media entry flagged local: true that points to frontend/media/local/<song>.mp3. Git-ignore that folder except for a README (frontend/media/local/* then !frontend/media/local/README.md), and at startup check each local entry with a HEAD request so it only shows up when the user has supplied their own copy. For everyone else, link out to listen, using a YouTube search URL instead of guessing a video ID.
