Cosmonaut AI is an open-source, AI-powered interactive storytelling platform. Users create branching story worlds, make choices, generate new paths, listen to narration, and share worlds across web and Android clients.
cosmonaut-web: SvelteKit frontend for the public web app.cosmonaut-api: FastAPI backend, story generation services, workers, auth, billing, and media APIs.cosmonaut-infra: Terraform infrastructure for AWS and Cloudflare.cosmonaut-android: Native Android client.yt-short-generator: CLI tooling for turning Cosmonaut stories into YouTube Shorts.
- SvelteKit, Svelte 5, Tailwind CSS, shadcn-svelte
- Python, FastAPI, AWS Lambda, DynamoDB, SQS
- Terraform, AWS, Cloudflare
- Kotlin, Jetpack Compose, Android
- Cognito, Stripe, Pinecone, Vertex AI / Gemini, ElevenLabs
Issues and pull requests are welcome. Each repository has its own setup and verification commands in its README. Please keep changes focused, avoid committing generated artifacts, and scrub logs or screenshots for private data before opening an issue or pull request.
Please do not report vulnerabilities in public issues. Email support@cosmonaut-ai.com with the affected repository, reproduction details, and impact.
Cosmonaut public repositories are released under the Apache License 2.0 unless a repository states otherwise.