Initial commit

This commit is contained in:
Connor Johnstone
2026-03-17 21:56:12 -04:00
commit 50a0ddcdbc
16 changed files with 1110 additions and 0 deletions

30
readme.md Normal file
View File

@@ -0,0 +1,30 @@
# shanty-web
Web interface backend for [Shanty](ssh://connor@git.rcjohnstone.com:2222/Shanty/shanty.git).
Actix-web server exposing a REST API that ties together all Shanty components.
Serves the Elm frontend and orchestrates indexing, tagging, downloading, and organization.
## Usage
```sh
shanty-web # start with default config
shanty-web --config /path/to/config.yaml
shanty-web --port 9090 # override port
```
## Configuration
Create `~/.config/shanty/config.yaml`:
```yaml
library_path: ~/Music
download_path: ~/.local/share/shanty/downloads
web:
port: 8085
bind: 0.0.0.0
```
## API
All endpoints under `/api/`. See the issue tracker for full API documentation.