Turn one blog post into Twitter threads, LinkedIn posts, NOSTR notes, email newsletters, video scripts, and summaries with a single API call.
pip install fastapi uvicorn httpx
python app.py
# → http://localhost:8080
# → http://localhost:8080/docs (Swagger UI)curl -X POST http://localhost:8080/api/signup \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com"}'curl -X POST http://localhost:8080/api/repurpose \
-H "X-API-Key: cs_your_key" \
-H "Content-Type: application/json" \
-d '{
"content": "Your long blog post here...",
"targets": ["twitter_thread", "linkedin", "email_newsletter"],
"tone": "professional"
}'curl http://localhost:8080/api/usage -H "X-API-Key: cs_your_key"| Platform | Output |
|---|---|
twitter_thread |
Numbered thread (2-20 tweets) |
linkedin |
Professional post with engagement hook |
nostr |
Concise note with hashtags |
email_newsletter |
Subject + intro + takeaways + CTA |
video_script |
60s script with B-roll suggestions |
summary |
2-3 sentence summary |
| Plan | Price | Requests/mo | Platforms |
|---|---|---|---|
| Free | $0 | 50 | 3 |
| Starter | $9 | 500 | All 6 |
| Pro | $29 | 5,000 | All 6 |
| Enterprise | $99 | 50,000 | All 6 |
Set one of these env vars for AI-powered generation:
OPENAI_API_KEY— Uses GPT-4o-miniANTHROPIC_API_KEY— Uses Claude 3 Haiku
Without either, falls back to rule-based extraction (still useful, just less polished).
docker build -t contentsplit .
docker run -p 8080:8080 -e OPENAI_API_KEY=sk-... contentsplitMIT