Open-source Farcaster client with built-in audio spaces. A reference implementation other developers can fork for Farcaster + LiveKit-based audio projects.
Three apps in one repo:
farcaster-audio-client/
├── backend/ FastAPI + Postgres + Redis -> REST + WebSocket API
├── farcaster-audio/ Expo SDK 55 (React Native) -> iOS client (MVP)
└── landing/ Next.js 15 App Router -> juke.audio marketing + miniapp
backend/— FastAPI service. Owns auth (JWT + SIWF/Quick Auth), audio room lifecycle, LiveKit token issuance, Farcaster feed proxying via Neynar, miniapp webhooks, and recording orchestration.farcaster-audio/— Expo bare workflow iOS client. Joins/hosts audio rooms while browsing the Farcaster feed. LiveKit WebRTC, Neynar SIWN auth, push notifications.landing/— Next.js public site at juke.audio. Renders the Farcaster miniapp surface, marketing pages, and OG-image generation.
See CLAUDE.md for the agent-facing project config.
- Node 20+
- Python 3.12
- PostgreSQL 16
- Redis 7
- Docker (for the backend stack)
- A LiveKit account (cloud or self-hosted)
- A Neynar API key
Recommended but optional:
- Cloudinary, Giphy, Deepgram, AWS S3-compatible storage, and Sentry — see "What's intentionally external" below.
Each app has its own .env.example. Copy it to .env, fill in your own credentials, then start the app.
cd backend
cp .env.example .env # then fill in DATABASE_URL, REDIS_URL, JWT_SECRET, etc.
docker-compose up # boots Postgres 16, Redis 7, and the APIThe API listens on http://localhost:8000. OpenAPI docs at http://localhost:8000/docs.
Run migrations against a fresh DB:
cd backend
alembic upgrade headcd farcaster-audio
cp .env.example .env # then fill in EXPO_PUBLIC_* values
npm install
cd ios && pod install && cd ..
npx expo start # then press `i` to launch the iOS simulatoriOS-only MVP. You need Xcode + an iOS simulator (or a paired device with a development build).
cd landing
cp .env.example .env # fill in any required NEXT_PUBLIC_* values
npm install
npm run devVisit http://localhost:3000.
Juke integrates with several third-party services. Operators bring their own credentials; the repo never ships shared keys.
| Service | Used for |
|---|---|
| LiveKit | Real-time audio SFU. Required. |
| Neynar | Farcaster auth (SIWN), feed, reactions, social graph, webhooks. Required. |
| Cloudinary | Image hosting + transforms for casts and avatars. |
| Giphy | GIF search in cast composer. |
| Deepgram | Speech-to-text transcription for recorded rooms. |
| AWS S3 | Recording storage (S3-compatible endpoints supported). |
| Sentry | Optional error monitoring (mobile + backend). |
If you fork Juke for a different audio-social product, swap these out at the service layer in backend/app/services/.
# Backend (pytest + httpx + testcontainers)
cd backend && pytest
# Mobile (jest + react-native testing library)
cd farcaster-audio && npx jest
# Landing (Next.js build is the smoke test)
cd landing && npm run buildSee CONTRIBUTING.md for branch naming, commit style, and per-app test/lint commands.
See SECURITY.md for the disclosure process and reporting contact.
MIT — see LICENSE.