..
2025-05-24 18:30:21 +04:00
2025-05-24 18:30:21 +04:00
🦋
2025-05-19 01:49:56 +04:00
2025-05-29 13:54:58 +04:00

API Service

Overview

The API service is responsible for serving custom Bluesky feeds to clients. It implements the necessary endpoints required by the Bluesky protocol to deliver feed content.

Pre-Built Docker Image: git.aykhans.me/bsky/feedgen-api:latest

API Endpoints

  • GET /.well-known/did.json: DID configuration
  • GET /xrpc/app.bsky.feed.describeFeedGenerator: Describe the feed generator
  • GET /xrpc/app.bsky.feed.getFeedSkeleton: Main feed endpoint

Running the Service

Docker

docker build -f cmd/api/Dockerfile -t bsky-feedgen-api .
docker run --env-file config/app/.api.env --env-file config/app/.mongodb.env -p 8421:8421 bsky-feedgen-api

Local Development

task run-api
# or
make run-api