Skip to content

Instantly share code, notes, and snippets.

@somebox
Created July 12, 2011 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save somebox/1077974 to your computer and use it in GitHub Desktop.
Save somebox/1077974 to your computer and use it in GitHub Desktop.
DN Music App
The Democracy Now! music site will allow independent artists to submit original works for sharing with
other DN listeners, and potentially to be used as music on the show.
This is to be a standalone site, built in Rails 3. Users can fill out a form and upload a track.
After processing, they will receive and email containing a confirmation that the track was received,
and a link to the track on DN's site. By using this link, they can go to check for airplay, or
to request that a track be removed.
Home Page
Notices/Info/Events
Submit a track
- fill out track info (form to be provided, title, url, artist, etc)
- upload a file (mp3 format)
Listen to the Top 10 tracks
Recent tracks
Terms and copyright page
Admin section (https/auth)
- Listen to tracks
- Edit Tracks
- edit info
- approve track
- rate track
- add note
- add usage (air date)
- View/edit top 10
- Edit basic content (notice, home page copy, html/markdown)
- Remove tracks
JSON API (returns approved tracks only)
- top 10 (rated by admin)
- newest (latest tracks)
- popular
Tech notes
- Rails 3/javascript
- Files are transferred to Amazon S3
- Use audio.js or other non-flash friendly HTML5 music playback
- Provide API
- use https for admin section
- project should be maintained in a public GitHub repo (config/passwords kept externally)
- the public pages and top 10s should be mobile-friendly (or integrate into DNs mobile app)
Future Ideas
- Add "like" buttons next to tracks
- Offer weekly podcast of top 10 tracks, or tracks used on DN
- Create a real-time radio stream based on listener ratings and DN picks
For more details contact foz (at) democracynow.org.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment