Web Analytics

your_lastfm

⭐ 122 stars English by Gomaink

Status License

Your LastFM

A containerized Node.js application that synchronizes scrobbles from Last.fm, stores them in a local SQLite database, and serves a web dashboard.

image


Project

Your LastFM is a Node.js application designed to automatically synchronize music scrobbles from Last.fm. It preserves your listening history in a local SQLite database and serves a web interface for data visualization.

The project is fully containerized with Docker, using an automated entrypoint to handle database initialization and sequential execution (Syncing first, then launching the Web API). It also utilizes PM2 as a process manager inside the container to ensure the web service remains active and resilient.

Features

Interactive Web Dashboard

Automatic Last.fm Scrobble Synchronization

Local Music History Database

Recent Scrobbles View

Friends Comparison (Compatibility View)

Shareable Music Cards

Prerequisites

Installation

Create a .env file

LASTFM_API_KEY=your_lastfm_api_key
LASTFM_USERNAME=your_lastfm_username

Last.fm: Create an API account here to get your API Key.

Docker Compose

services:
  your-lastfm:
    image: gomaink/your-lastfm
    container_name: your-lastfm
    ports:
      
  • "1533:1533"
env_file:
  • .env
volumes:
  • ./data:/app/data
restart: unless-stopped

On terminal: docker compose up -d

Then access:

http://localhost:1533

(or replace localhost with your server IP)

License

This project is licensed under the MIT License.

--- Tranlated By Open Ai Tx | Last indexed: 2026-03-06 ---