Creator workspace — agents handle the production, posting, and monetization grind.
Creator Studio is where you build, post, and monetize as a creator with agents alongside you — run campaigns, sell digital products and memberships, publish apps, manage social channels, and watch your audience without context-switching between ten tools.
Open-source. Self-hostable. Part of the Dirgha AI OS.
| Module | Endpoint Prefix | Description |
|---|---|---|
| Campaigns | /api/creator/campaigns |
Brand campaign creation + creator discovery |
| Marketplace | /api/creator/marketplace |
Creator marketplace listings |
| Digital Products | /api/creator/products |
Sell digital downloads |
| Memberships | /api/creator/memberships |
Subscription tiers |
| Samples | /api/creator/samples |
Content sample management |
| Reviews | /api/creator/reviews |
Creator review system |
| Creator Apps | /api/creator/apps |
App publishing + discovery |
| Creator Profile | /api/creator/profile |
Creator profile management |
| Public Profile | /api/creator/profile-pub |
Public creator pages |
| Dashboard | /api/creator/dashboard |
Revenue + analytics overview |
| Social Integration | /api/creator/social |
Cross-platform post scheduling |
| Newsletter | /api/creator/newsletter |
Newsletter content suggestions |
| Writer Integration | /api/creator/writer |
Writer Studio content bridge |
| Avatar Checkout | /api/creator/avatar |
AI avatar training checkout |
| App Publisher | /api/creator/app-publisher |
App store publishing flow |
git clone https://github.com/dirghaai/creator-studio.git
cd creator-studio
npm install
# Required
export DATABASE_URL=postgres://user:pass@host:5432/creator
# Auth
export CREATOR_API_KEYS=key1,key2 # comma-separated allowlist
# or: CREATOR_OPEN=true # open mode (no auth, dev only)
npm run devServer starts on port 3012 (override with PORT=...).
# Database
DATABASE_URL=postgres://... # required
# Auth
CREATOR_API_KEYS=key1,key2,key3 # Bearer token allowlist
CREATOR_OPEN=true # disable auth (dev only)
# Payments
STRIPE_SECRET_KEY=sk_... # Stripe for avatar training checkout
APP_URL=https://app.dirgha.ai # redirect base for Stripe sessions
# Optional
PORT=3012 # default portDefault auth reads CREATOR_API_KEYS. Each request must include:
Authorization: Bearer <api-key>Or bypass with CREATOR_OPEN=true (for local dev only).
Replace src/middleware/auth.ts to wire in Supabase, Firebase, Better-auth, or any other system. The interface is minimal:
export async function getUser(c: Context): Promise<AuthUser | null>src/
├── server.ts # Hono server + route registration
├── routes/ # 16 route files (one per domain)
│ ├── campaigns.ts # Brand campaign + creator discovery
│ ├── creator-marketplace.ts # Marketplace listings
│ ├── digital-products.ts # Digital product sales
│ ├── memberships.ts # Subscription tiers
│ ├── samples.ts # Content samples
│ ├── reviews.ts # Review system
│ ├── creator-apps.ts # App management
│ ├── creator-profile.ts # Profile CRUD
│ └── ... # 8 more
├── services/
│ ├── neon.ts # Postgres connection pool
│ ├── redis-client.ts # Redis client (stub for dev)
│ ├── credit-manager.ts # Credit deduction hooks
│ ├── stripe.ts # Stripe checkout
│ ├── content-repurposer.ts # AI content repurposing
│ ├── hashtag-generator.ts # Platform hashtag optimization
│ ├── timing-optimizer.ts # Post timing AI
│ ├── trend-detector.ts # Trend analysis
│ └── viral-predictor.ts # Viral potential scoring
├── interfaces/
│ └── ContentTypes.ts # Shared content type definitions
└── middleware/
├── auth.ts # Auth (replace with your system)
npm install
npm run dev # tsx watch src/server.ts (hot-reload)
npm run build # tsc → dist/
npm run typecheck # 0 errorsRead CONTRIBUTING.md. New monetization adapters and social platform integrations are especially welcome.
This repo is one of several products under the Dirgha AI OS umbrella. Each repo stands on its own; together they compose a full stack for builders.
| Repo | What it does | License |
|---|---|---|
Rama-I-Dirgha-AI-OS |
Vision & roadmap for our agentic, sovereign AI operating system. | Apache-2.0 |
dirgha-code |
AI coding agent for your terminal. Your keys, your machine, any model. | FSL-1.1-MIT |
writer-studio |
Long-form writing studio — science, fiction, screenplays, research. | Apache-2.0 |
abundance-protocol |
Decentralized compute and labor network. Rent GPUs, run agents, settle on Bitcoin. | Apache-2.0 |
arniko |
AI security scanner. Every tool, one unified report. | Apache-2.0 |
Visit the umbrella org at github.com/Dirgha-AI or the product site at dirgha.ai.
Apache License 2.0 — free for any use: personal, commercial, research, hosted, redistributed. No hidden restrictions, no conversion clause. Full text in LICENSE.
Dirgha LLC owns the “Dirgha” name, logo, and product family as registered trademarks. The code is open — the brand isn't. Forks of this repository must rename the product and remove Dirgha branding before distribution. Reasonable nominative use (“a fork of Creator Studio”) is fine.
See LICENSE and NOTICE.md for the full legal text. Related documents:
SECURITY.md— vulnerability disclosure policy.CODE_OF_CONDUCT.md— Contributor Covenant 2.1.SUPPORT.md— where to ask for help.CONTRIBUTING.md— how to send a PR.
- Code — fork, branch, PR against
main. Recipes inCONTRIBUTING.md. - Bugs — file an issue using the bug template.
- Features — file an issue using the feature template.
- Questions — open a Discussion rather than an issue.
- Security — email
security@dirgha.ai. Do NOT file a public issue for vulnerabilities. - Sponsor — dirgha.ai/contribute · Lightning, GitHub Sponsors, OpenCollective.
- First-time contributor? Your first PR will ask you to sign the CLA (see
CLA.md). Small doc fixes don't need one.
| Website | https://dirgha.ai/creator |
| Repository | github.com/dirghaai/creator-studio |
| Issues | github.com/dirghaai/creator-studio/issues |
| Discussions | github.com/dirghaai/creator-studio/discussions |
| Security | security@dirgha.ai |
| Enterprise | enterprise@dirgha.ai |
| Press / general | hello@dirgha.ai |
Creator Studio is part of the Dirgha OS — open-source infrastructure for builders, shipped by a small bootstrapped team.
Built by Dirgha LLC in India. Open to the world.
Released under Apache-2.0 · Copyright © 2026 Dirgha LLC · All third-party trademarks are property of their owners.
Dirgha AI OS — the agentic operating system. Accelerate Abundance.
| Repo | What it does |
|---|---|
| Rama-I-Dirgha-AI-OS | Vision & roadmap for our agentic, sovereign AI operating system |
| dirgha-code | AI coding agent for your terminal |
| writer-studio | Long-form writing studio — science, fiction, screenplays, research |
| creator-studio | Creator workspace — agents for production, posting, monetization |
| abundance-protocol | Decentralized compute and labor network |
| arniko | AI security scanner — every tool, one unified report |
| .github | Org profile and community configuration |
- Live platform: dirgha.ai — chat, IDE, writer, research, library, marketplace, creator, education, manufacturing
- Organization: github.com/Dirgha-AI
- Partnerships: partner@dirgha.ai
Dirgha — Accelerate Abundance. Built in India, for the world.