Something something like soundcloud but not like soundcloud.
Log in, upload records, done.
Simple, easy, KISS.

Valérianne Dashie 2e7a8904d9
Tell machinery to use our Logrus logger
2 weeks ago
cmd Convert log lines with format arg to xxf() 2 weeks ago
conf Remove old name and useless stuff 2 weeks ago
context Convert log lines with format arg to xxf() 2 weeks ago
integrations Remove old name and useless stuff 2 weeks ago
models Remove old name and useless stuff 2 weeks ago
pkg Convert log lines with format arg to xxf() 2 weeks ago
routes Homepage now uses the timeline model 2 weeks ago
setting Convert log lines with format arg to xxf() 2 weeks ago
static Can now list albums 4 months ago
templates Homepage now uses the timeline model 2 weeks ago
uploads/tracks I was eh, too lazy to commit. 4 months ago
vendor Add hook to show file source 2 weeks ago
workers Tell machinery to use our Logrus logger 2 weeks ago
.bra.toml Update bra config 5 months ago
.dockerignore Add docker thingy to build images 3 weeks ago
.drone.yml Only publish to docker hub when tests are done 3 weeks ago
.gitignore Add integration tests 4 months ago
Dockerfile-web Add docker thingy to build images 3 weeks ago
Dockerfile-worker Add docker thingy to build images 3 weeks ago
Gopkg.lock Add hook to show file source 2 weeks ago
Gopkg.toml Migrate to logrus logger 2 weeks ago
Jenkinsfile Should notify if failing in the try case 4 months ago
Jenkinsfile.gdsl Initial base app import 5 months ago
LICENSE Initial base app import 5 months ago
Makefile Add docker thingy to build images 3 weeks ago
README.md Update README with Docker infos 2 weeks ago
entrypoint.sh Add docker thingy to build images 3 weeks ago
i18n.py I was eh, too lazy to commit. 4 months ago
reel2bits.go Reformat code 4 months ago

README.md

reel2bits

Like Soundcloud but lighter, really lighter.

Transcode Flac and Ogg to Mp3, generate some waveforms png.

HTML5 audio player.

KISS, that's all.

TODO

  • Replace transcoding by something else than sox maybe
  • Show error when mp3 file don't load
  • Maybe permit track stream/download using the server or not
  • Timezone management ? Actually all is more-or-less UTC
  • When switching song, the duration doesn't always get filled

Install

  • Ubuntu/debian:

    apt install libtagc0-dev libtag1-dev libmagic-dev sox libsox-fmt-mp3 libsox-dev

  • Checkout:

    go get -v -insecure -u dev.sigpipe.me/dashie/reel2bits

Edit config: conf/app.ini

Launch how you want the "./reel2bits web" and "./reel2bits worker" Or use the Systemd Unit files in "conf/" directory and adapt them

Docker

There is two docker images provided actually:

  • dashie/reel2bits-worker:latest
  • dashie/reel2bits-web:latest

No tag/stable release yet.

Volumes/bind to use:

  • /data for both images
  • /app/conf/app.ini and /app/conf/logging.cfg for both, default will probably doesn't works.

No ports for worker, 4000 for web.

Worker and web needs access to redis, database, and local access to files.

Contact, issues

Licensing

  • MIT License