Skip to content
dk
← All projects

ai-toolkit-saas

AI-powered content generation SaaS — blog, tweet & YouTube scripts via Google Gemini + FastAPI, with auth, rate limiting, and caching.

Python00 forks0 open issues & PRsMITupdated 1mo ago
aicontent-generationfastapigeminiopen-sourcesaas
Stars
0
Forks
0
Created
Mar 17, 2026
Last push
Sep 7, 2026
Default branch
main
Contributors
0

README

dsk-dev-ai/ai-toolkit-saas

AI Toolkit SaaS

AI-powered content generation platform using Google Gemini and FastAPI.

Features

  • Blog, tweet, and YouTube script generation via Gemini AI
  • Bearer-token authentication
  • Per-token daily rate limiting
  • Prompt-level response caching
  • CORS-protected frontend integration

Setup

Backend

cd backend
pip install -r requirements.txt

# Copy and edit environment variables
cp ../.env.example ../.env
# Edit .env with your GEMINI_API_KEY and a secret API_TOKEN

Frontend

cd frontend
npm install
npm start

The React app runs on http://localhost:3000 by default.

Running

cd backend
uvicorn app.main:app --reload --port 8000

API Usage

POST /generate

Requires a valid Bearer token in the Authorization header.

curl -X POST http://127.0.0.1:8000/generate \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"topic": "AI tools for students"}'

Response:

{
  "result": "...",
  "source": "ai"
}

GET /health

curl http://127.0.0.1:8000/health

License

MIT

Related projects

Turn any codebase into beautiful architecture diagrams — one command, no AI, no server, runs on any laptop. Zero dependencies, pure Python, agent-friendly (Cursor, Claude Code, Codex, OpenCode).

ai-agentsarchitecture-diagramcli
Python1mo ago

177 merged pull requests across 19 repositories · data generated Oct 7, 2026