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