https://github.com/youpy/rack-musicindex
A Rack middleware to publish directories containing media files as podcast
https://github.com/youpy/rack-musicindex
Last synced: about 11 hours ago
JSON representation
A Rack middleware to publish directories containing media files as podcast
- Host: GitHub
- URL: https://github.com/youpy/rack-musicindex
- Owner: youpy
- License: mit
- Created: 2012-06-18T18:04:18.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-06-29T01:20:58.000Z (about 14 years ago)
- Last Synced: 2026-02-13T08:51:00.323Z (5 months ago)
- Language: Ruby
- Homepage:
- Size: 129 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rack-musicindex [](http://travis-ci.org/youpy/rack-musicindex)
A Rack middleware to publish directories containing media files as podcast
## Installation
Add this line to your application's Gemfile:
gem 'rack-musicindex'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-musicindex
## Usage
require 'sinatra'
require 'rack-musicindex'
use Rack::MusicIndex, {
'/foo' => '/path/to/mp3s'
}
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request