2025-04-28 19:58:40 +01:00
2025-04-28 19:58:40 +01:00
2025-04-27 21:23:13 +01:00
2024-10-07 08:12:05 +01:00
2025-04-03 10:00:55 +01:00
2025-04-26 13:57:43 +01:00
2024-09-27 19:38:17 +01:00
2025-02-18 12:56:29 +00:00
2025-04-06 19:45:00 +01:00
2025-02-17 18:05:41 +00:00
2025-04-14 17:14:39 +01:00
2025-02-17 18:05:41 +00:00
2024-11-25 10:17:06 +00:00
2025-04-24 19:05:04 +01:00
2025-04-24 19:17:56 +01:00
2025-04-13 18:09:53 +01:00
2025-04-15 10:50:03 +01:00
2025-04-24 19:22:30 +01:00

Music Library

Features

  • Add records from MusicBrainz, with optional override of specific pieces of data
  • Manage a collection and a wishlist of records, with ways to quickly search and filter based on records' metadata
  • Integration with Last.fm (display latest scrobbles, and where possible connect them with records in the collection or wishlist)
  • Some basic stats
  • All data stored in a single SQLite database for portability and ease of backup/restore
  • Ideal for deployment on a server with limited resources (1CPU, 512MB RAM)

Screenshots

Stats

Stats

Collection

Collection

Edit a record in the collection

Edit a record in the collection

View a record's details in the collection

View a record's details in the collection

Adding a record in the wishlist

Adding a record in the wishlist

View an artist's details

View an artist's details

Setup

The project is managed and configured via mise-en-place:

  • mise install will pull the correct Erlang, Elixir and Node.js versions
  • mise run dev:setup will setup dependencies and database structure

Important

The project uses Fluxon UI, so it requires a valid set of credentials. See the env section in mise.toml for the required environment variables.

Environment configuration

The application requires the following environment variables:

  • LAST_FM_USER: the Last.fm username used to populate the Scrobble Activity
  • LAST_FM_API_KEY (secret): the Last.fm API key used to fetch the Scrobble Activity
  • OPENAI_KEY (secret): the OpenAI API key used to populating genres

In production, the application also requires:

  • LOGIN_PASSWORD (secret): the password used for accessing the application.

You can create a mise.local.toml with the required variables (sample values are included at the top of mise.toml).

Running the application

Start the Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server.

Now you can visit localhost:4000 from your browser. The default password for development is change me.

Deployment

The application is setup for deployment on Fly.io - just make sure you edit fly.toml to match your app name, domain, etc.

CI

See the .github folder.

Architecture

See the docs folder.

Favicons

This favicon was generated using the following graphics from Twitter Twemoji:

S
Description
No description provided
Readme 63 MiB
Languages
Elixir 77.4%
Python 10%
TypeScript 6.6%
HTML 3.7%
Shell 1.4%
Other 0.8%