An open API service indexing awesome lists of open source software.

https://github.com/gdonald/player

MP3 Player Rails API and React
https://github.com/gdonald/player

mp3 mp3-player player rails reactjs ruby

Last synced: 3 months ago
JSON representation

MP3 Player Rails API and React

Awesome Lists containing this project

README

          

# Player
Web-based MP3 Player written in Ruby using Ruby on Rails, ReactJS, and Bootstrap.

![MP3 Player](https://raw.githubusercontent.com/gdonald/player/main/ss.png "MP3 Player")

## Installation

```bash
bundle install
bundle exec rails db:migrate
yarn install
yarn build
```

## Bundler Note:

On macOS I use the `TAGLIB_DIR` environment variable to install the taglib-ruby gem:

```bash
brew install taglib

TAGLIB_DIR=/opt/homebrew/Cellar/taglib/1.13.1 bundle install
```

## Running

```bash
bundle exec rails server
```

Add a "source" directory to the root of your music collection. Then "scan" it from the web interface. Re-scan as needed.

## iOS

I also wrote a simple iOS app that works with the provided APIs: https://github.com/gdonald/player-ios. It's not available on the App Store and may never be.

## License

[![GitHub](https://img.shields.io/github/license/gdonald/player?color=0000bb)](https://github.com/gdonald/player/blob/main/LICENSE)