No description
Find a file
Lakr 6bc0ed1528 Initial commit: Spotify Metadata API service
Add Go-based API for querying Spotify metadata, including Dockerfile, Compose config, OpenAPI spec, and database documentation. Implements endpoints for tracks, albums, artists, playlists, and proxying to upstream services. Includes initial project structure, configuration, and supporting files.

Update Dockerfile

Create LICENSE

Switch SQLite driver to github.com/mattn/go-sqlite3

Replaces the modernc.org/sqlite driver with github.com/mattn/go-sqlite3 for database access. Updates the Dockerfile to enable CGO and install necessary build dependencies. Cleans up go.mod and go.sum to remove unused dependencies and add the new driver.

Create docker-publish.yml
2025-12-28 01:10:14 +08:00
.github/workflows Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
cmd/server Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
database Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
docs Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
internal Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
.gitignore Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
compose.yml Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
Dockerfile Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
go.mod Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
go.sum Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
LICENSE Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00
README.md Initial commit: Spotify Metadata API service 2025-12-28 01:10:14 +08:00

Spotify Metadata API

A Go-based API for retrieving Spotify metadata.

This service provides an interface to a curated subset of the comprehensive Spotify metadata backup from Anna's Archive. For more context, see their blog post about this effort.

Data

The database used by this API is a compacted and cleaned version of the original Anna's Archive dataset. The cleaning process is documented in database/README.md.

Running the project

This project is containerized using Docker. To run the service, use the following command:

docker-compose up

The API will be available at http://localhost:8080.

API Reference

The OpenAPI specification for this service can be found in docs/api-references.yml.