Skip to content
forked from DusteDdk/dstream

the fastest plug+play music player for web

License

Notifications You must be signed in to change notification settings

sirodoht/dstream

This branch is 37 commits ahead of, 6 commits behind DusteDdk/dstream:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bb1344b · Oct 19, 2021

History

40 Commits
Oct 19, 2021
Oct 19, 2021
Oct 19, 2021
Oct 19, 2021
Oct 18, 2021
Oct 19, 2021
Oct 19, 2021
Oct 19, 2021
Oct 19, 2021
Oct 19, 2021
Oct 19, 2021
Oct 19, 2021

Repository files navigation

dStream sirodoht fork

Differences from DusteDdk/dstream

  • docker free
  • systemd slaved
  • prettier

Features

  • simple access to your music collection from the web browser
  • fast fuzzy search
  • for semi-organized music collections
  • sqlite database
  • single active process (node)
  • halfhearted hack
  • pure vanilla js with old-school innerHTML mangling

Infrastructure

  • music collection available on the server
  • listens on port 3000
  • consider not exposing it to the internet without some authentication in front

Setup

npm install
mkdir db  # this is for the music metadata
mkdir music  # this is for the music files / collection
npm start

systemd

cp dstream.service /etc/systemd/system/

Environment

For loading environment variables for development direnv is used.

Scanning music

Add music files from the /music directory to the searchable database

  1. go to /scan
  2. click "Scan" and wait.. press refresh if you're impatient,
  3. it's done with "Scan" appears again, go back, you're done.

Using

  1. press J or click text-box
  2. search
  3. press enter to play top result or add from results

Add track to queue

  1. press song-name / file name to add to queue
  2. click row left of it to autoplay from there if song is last in queue.
  3. click row right of it to remove currently playing song and play this instead.

Remove track from queue

  1. click on file name to remove a song from queue
  2. pressing the "insert" key removes the current song from queue

Help

  1. press the H key to show or hide the instructions

License

MIT

About

the fastest plug+play music player for web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.7%
  • HTML 10.9%
  • Shell 1.4%