Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
101 lines
5.2 KiB
Markdown
101 lines
5.2 KiB
Markdown
# Menivor
|
||
|
||
**Free and open source.** Menivor was a paid, hosted product at menivor.com. It's no longer
|
||
maintained as a company project — the code is published here, free to use and fork, under the
|
||
MIT license (see [LICENSE](LICENSE) and [NOTICE](NOTICE)).
|
||
|
||
**Screen recording + prompt → viral UGC video** — AI avatar presenter (lip-synced), hook-driven script (TR/EN), CapCut-style word-by-word karaoke captions, 1080×1920 MP4.
|
||
|
||

|
||
|
||
> **Menivor** is the product/brand name. Some internal paths, Makefiles, and docs still use the original `reelforge` codename.
|
||
|
||
Built on [MoneyPrinterTurbo](https://github.com/harry0703/MoneyPrinterTurbo) (MIT) — reusing its pipeline/state machine, LLM & TTS plumbing, and cross-post integration — extended into a production, SaaS-ready service. (The original MPT README is preserved as [`README-mpt.md`](./README-mpt.md).)
|
||
|
||
## Pipeline
|
||
|
||
```
|
||
screen_recording.mp4 + prompt + language(tr|en) + avatar + voice
|
||
→ SCRIPT (Claude, structured JSON hooks)
|
||
→ TTS (ElevenLabs /with-timestamps — the single timing authority)
|
||
→ AVATAR (HeyGen v2 · or self-hosted LatentSync/RunPod, Tier B)
|
||
→ CAPTIONS (ASS karaoke, burned via libass)
|
||
→ COMPOSE (pure FFmpeg: chroma PiP + 3 layouts, hw-accel)
|
||
→ 1080×1920 MP4 (+ optional direct publish to TikTok/IG/Shorts)
|
||
```
|
||
|
||
## Features
|
||
|
||
Beyond the core render pipeline, Menivor ships as a full creator platform:
|
||
|
||
- **SPARK idea engine** — AI concept generation, fed by the Hook Performance Loop (self-reported reel outcomes → win scores that rank what actually works).
|
||
- **Creator Analytics** — per-user BI dashboard: funnel, cost, credits, and render metrics.
|
||
- **Template Marketplace** — publish / browse / clone / rate public job templates, with win-score ranking and remix (fork) trees.
|
||
- **Direct-publish account-connect** — OAuth connect + publish to TikTok / Instagram / YouTube Shorts. OAuth tokens are Fernet-encrypted at rest (`SOCIAL_TOKEN_KEY`).
|
||
- **Public watermarked share pages** — owner create/revoke share links with a PUBLIC watermarked view page.
|
||
- **Creator profiles + follow graph + leaderboards** — public creator profiles, following, and boards.
|
||
- **Public API keys** — per-user programmatic access (mint / list / revoke), with per-key quotas and rate limits (HTTP 429 on exceed).
|
||
- **Team workspaces** — additive multi-seat membership (invites + roles).
|
||
- **Studio extras** — Brand Voice (ElevenLabs Instant Voice Clone), Brand Watermark overlay, cover/thumbnail generator, in-app notifications, scheduled publishing, and AI social captions + hashtags.
|
||
|
||
The generated contract currently contains **247 paths and 281 operations**, backed
|
||
by **70 SQLAlchemy table mappings**. See
|
||
[`docs/reelforge/CURRENT_STATE.md`](./docs/reelforge/CURRENT_STATE.md) for measured counts.
|
||
|
||
## Stack
|
||
|
||
Python 3.11 · FastAPI · Celery + Redis · Neon Postgres (SQLAlchemy 2 + Alembic) · Cloudflare R2 · Claude (litellm) · ElevenLabs · HeyGen / RunPod · FFmpeg/libass · Stripe + iyzico credits · Sentry · Next.js 15 (web) · Expo (mobile) · Docker Compose on Hetzner.
|
||
|
||
## Layout
|
||
|
||
| Path | What |
|
||
|---|---|
|
||
| `apps/api/app/` | FastAPI domains, platform services, workers, and persistence |
|
||
| `apps/api/app/workers/` | Celery chain `script→tts→{avatar‖captions}→compose→upload` |
|
||
| `apps/api/app/models/db/`, `migrations/` | SQLAlchemy models + Alembic |
|
||
| `apps/web/` · `apps/mobile/` | Next.js frontend · Expo client |
|
||
| [`apps/`](./apps/README.md) | Complete product portfolio and one-command launch map |
|
||
| `packages/` | shared contracts, engines, UI kit, and SDKs |
|
||
| `apps/api/resource/fonts/` | bundled OFL TR-glyph fonts |
|
||
| `tests/reelforge/`, `tests/golden/` | test suite + golden acceptance harness |
|
||
| `docs/reelforge/` | `INTEGRATION_CONTRACT.md`, `STATUS.md`, `PLAN_COVERAGE.md` |
|
||
|
||
## Quick start
|
||
|
||
List or launch an individual product from the portfolio:
|
||
|
||
```bash
|
||
make products
|
||
make product PRODUCT=web
|
||
```
|
||
|
||
For the full Menivor service stack:
|
||
|
||
```bash
|
||
cp config.example.toml config.toml # fill anthropic/elevenlabs/heygen/r2/neon/redis/stripe/iyzico/runpod
|
||
export SOCIAL_TOKEN_KEY='...' # required for OAuth direct-publish account-connect (Fernet token encryption)
|
||
docker compose -f docker-compose.reelforge.yml up # api + worker + redis
|
||
alembic upgrade head # Neon schema (48 migrations, head e1f2a3b4c5d6)
|
||
```
|
||
|
||
See `docs/reelforge/README.md` for full setup, and `docs/reelforge/STATUS.md` / `PLAN_COVERAGE.md` for build status against the plans.
|
||
|
||
## Tests & quality gate
|
||
|
||
The Makefile supplies the functional-test launch flags and documented Python
|
||
paths. Run the complete backend suite with:
|
||
|
||
```bash
|
||
make -f Makefile.reelforge test # 3,308 passed, 4 skipped
|
||
```
|
||
|
||
Hosted workflows cover image builds, deploys, security, performance, release, and
|
||
the broader app matrix. The local gate adds `ruff --select F,E9` +
|
||
`pytest tests/reelforge` + `alembic upgrade head` / `alembic check`
|
||
(reports "No new upgrade operations detected") + golden acceptance
|
||
(`make -f Makefile.reelforge golden`).
|
||
|
||
## License
|
||
|
||
MIT (inherits [MoneyPrinterTurbo](https://github.com/harry0703/MoneyPrinterTurbo)'s license — see `LICENSE`). Bundled fonts are OFL (`resource/fonts/OFL-*.txt`).
|