Personal API for my projects and services. Built with Go and a Node.js for the Open Graph . It provides small utility endpoints and integrations used across my projects.
Currently available features/endpoints:
- Open Graph image generation (OG images).
- Spotify endpoints (currently-playing, top tracks, etc.).
- Jellyfin endpoints (media status).
- Tools endpoints (headers, IP info, etc.).
- Real-time updates for Spotify and Jellyfin via Server-Sent Events (SSE).
Steps to run the project locally:
-
Clone the repository
git clone https://github.com/ccrsxx/api
-
Change directory to the project
cd api -
Install dependencies
go mod download
-
Set up environment variables Create a copy of the
.env.examplefile and name it.env. Fill in credentials as needed.cp .env.example .env
-
Run the app in development
make dev