Skip to content

ishaansathaye/share-tunes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

share tunes

personal music server in rust with:

  • a rust web server
  • a background import worker
  • youtube ingest through yt-dlp
  • a playback-only browser ui
  • an interactive management cli

run

start the server:

cargo run

open the browser ui:

http://127.0.0.1:3000

start the interactive cli:

cargo run --bin share-tunes-cli

cli commands

inside the prompt:

share-tunes> jobs
share-tunes> tracks
share-tunes> import https://www.youtube.com/watch?v=...
share-tunes> delete-track 2
share-tunes> quit

one-shot mode still works too:

cargo run --bin share-tunes-cli -- jobs
cargo run --bin share-tunes-cli -- tracks

local tools

this project uses external media tools:

  • ffmpeg
  • yt-dlp

in this repo, yt-dlp was installed into .venv/ so the rust server can spawn it locally.

current mvp shape

  • imports are managed from the cli
  • the browser ui only lists and plays tracks
  • tracks are stored in data/library/
  • metadata and jobs are stored in data/share-tunes.db

About

Local-first distributed music platform with multithreaded background ingestion, cross-device sync architecture, and offline-capable playback.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors