Something went wrong. Try again.
Share songs with friends on atproto atjams.pdewey.com
elixir atproto music
Something went wrong. Try again.
Files
·
Copy SHA
·
Copy SHA
·
Copy SHA
·
Copy SHA
·
Copy SHA
·
Copy SHA
·
Copy SHA
·
Copy SHA
- Elixir 90%
- Nix 5%
- CSS 3%
- JavaScript 2%
- Shell <1%
- 1 more language <1%
README.md
Atjams #
Quickly find and share songs on the AT Protocol.
Built with Elixir, Phoenix LiveView, ATEx, and Drinkup.
Dev setup #
mix setup # install deps, create DB, build assets
mix lexicons.gen # generate Elixir modules from lexicons/
mix phx.server # start on http://127.0.0.1:4000
Visit http://127.0.0.1:4000 and sign in with your AT Protocol handle. You'll be redirected to your PDS to authorize, then back to the app.
Environment #
| Variable | Required | Notes |
|---|---|---|
ADMIN_DIDS |
no | DIDs allowed to access the LiveView dashboard |
ATJAMS_OAUTH_PRIVATE_KEY |
prod only | Base64-encoded ES256 DER private key |
ATJAMS_OAUTH_KEY_ID |
prod only | Key identifier for JWTs |
DATABASE_PATH |
prod only | Path to SQLite database file |
Dev keys are generated automatically and live in config/dev.exs.