ViralMint

Design and media

Open-source edition of ViralMint (viralmint.net): a local-first AI video editor for creators. Clip long videos into captioned shorts, turn scripts into videos, scout trends, design motion graphics, drive it over MCP. Runs on your own API keys. AGPL-3.0.

Your AI app calls the ViralMint MCP server, which does the design and media work and sends the result back to the chat.

About ViralMint

ViralMint is a community MCP server from openclaw-easy, filed in our directory under design and media. Open-source edition of ViralMint (viralmint.net): a local-first AI video editor for creators. Clip long videos into captioned shorts, turn scripts into videos, scout trends, design motion graphics, drive it over MCP. Runs on your own API keys. AGPL-3.0.

ViralMint runs as a remote server at https://viralmint.net/mcp/, so there is nothing to install: your AI app connects over streamable HTTP, and most remote servers ask you to sign in with OAuth the first time.

At a glance

Publisher
openclaw-easy (community)
Runs
As a hosted remote server
Written in
Python
License
AGPL-3.0
GitHub stars
223

How to set up ViralMint

  1. Nothing to install: ViralMint is a remote server, so all you need is an AI app that accepts a remote MCP URL.
  2. Check the ViralMint README for keys or settings; the registry lists none that ViralMint requires.
  3. Add ViralMint to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the ViralMint tools to confirm the connection.
  5. Run one read-only task with ViralMint first, and keep your app asking before each tool call until the results look right.

ViralMint compared with similar servers

  • OpenSCAD by jhacksman has fewer GitHub stars than ViralMint (220 against 223); both are community servers, and OpenSCAD runs on your own machine and ViralMint runs as a remote server.
  • Glif by glifxyz has more GitHub stars than ViralMint (225 against 223); both are community servers, and both run remotely.
  • Oh My Cassette by Cassette-Editor has fewer GitHub stars than ViralMint (217 against 223); both are community servers, and Oh My Cassette runs on your own machine and ViralMint runs as a remote server.

Before you connect ViralMint

  • Give ViralMint its own sign-in or token with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each ViralMint tool call until you trust what it does with them.
  • Treat text that ViralMint fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for ViralMint on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for ViralMint

How marketing and sales teams put ViralMint to work, by company size. Pick the size closest to yours and start ViralMint on one use case.

Small business

  • A small business can use ViralMint to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask ViralMint to pull brand assets and make quick ad and social variations that still look on brand.
  • ViralMint runs as a remote server, so a small team can connect it in a few minutes with no install to maintain.

Mid-market

  • Creative teams can connect ViralMint so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use ViralMint to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start ViralMint on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use ViralMint with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use ViralMint to localize and version assets for many markets with review built in.
  • ViralMint is a community server, so have security review the code and pin a version before ViralMint touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

ViralMint README

From openclaw-easy/ViralMint on GitHub, shared under its AGPL-3.0 license. Images are left out; the original has them.

README.md

ViralMint

The open-source edition of ViralMint: a local-first AI video editor for creators

Scout trends → clip long videos → build captioned shorts scene by scene → design motion graphics → polish with 22 local tools.

ViralMint comes in two editions: the ViralMint app (web and desktop, one account, pay as you go, no API keys) and the open-source edition on GitHub (AGPL-3.0, runs on your own API keys). This repository is the open-source edition: it runs on your machine with your own keys, nothing goes through a ViralMint server, and there is no telemetry. Use it as an open-source alternative to Opus Clip for turning long videos into shorts, with script-to-video, trend scouting and an MCP server in the same app.

Quick Start • Features • What's free • BYOK • Contributing

English · 简体中文 · 日本語


Cut a long video into shorts on a real timeline, drag across its own frames, snap to sentence boundaries, or let the AI propose the moments. Scouting, transcription, a scene-by-scene video studio, motion graphics and 22 editing tools all run from the same app.

What manual creators do across a dozen tabs and apps, ViralMint runs as one local workflow. Find trending videos across YouTube, TikTok and Douyin, transcribe and analyze them with local Whisper, cut long videos into publishable shorts on a real timeline, write original scripts with the AI of your choice, build captioned videos scene by scene in a studio where you hear every line before you render, design animated motion graphics, and get back a finished MP4 with an AI-drafted title, description and tags, ready to post. Drive it from a browser, or chat with it on Telegram, WhatsApp, Discord, or Slack.

✨ Why ViralMint

🔒 100% local SQLite, local Whisper, local FFmpeg. Your scripts, transcripts, downloads, and generated videos never leave your machine.
🔑 BYOK, no middleman Bring your own Anthropic / OpenAI / OpenRouter / YouTube / Pexels keys, or point it at any OpenAI-compatible server (Ollama, LM Studio, vLLM…). Encrypted at rest with Fernet (AES-128-CBC, HMAC-signed), sent straight to the provider, there is no ViralMint server in between.
🤖 Agents, not a chat wrapper Purpose-built agents, Planner, Scout, Download, Analyzer and Generator, orchestrated by a streaming AI chat that actually runs the work.
✂️ Clip, build, or design Three ways to a finished video: cut shorts from a long source on a real timeline, turn a script into a captioned video scene by scene, or author motion graphics with no footage at all.
🧩 Drive it from your AI agent A built-in MCP server exposes 69 tools, scout, download, clip, generate, the editing tools, job control, to Claude Code, Claude Desktop, Codex, Cursor, Windsurf and Gemini CLI. Copy one snippet from the /mcp page.
📱 Runs from your phone Two-way chat with the planner over Telegram, WhatsApp, Discord, or Slack, and job alerts in the same thread.
🆓 Free out of the box Local Whisper, Edge TTS (400+ voices), royalty-free music, Pexels or Pixabay stock, and 22 built-in tools (most of them pure FFmpeg + Whisper), the heavy lifting costs $0. Pay only for the AI you choose to plug in.

Battle-tested: a 4,000-test pytest suite runs on every commit, plus a browser harness that drives the real app end to end. AGPL-3.0, fork it, modify it, build a business on it.

🎯 Features

🔍 Scout

Multi-platform trend discovery across YouTube, TikTok, and Douyin (plus any yt-dlp-supported site via dynamic search), with AI virality scoring, Google-Trends demand signals, view-velocity analysis, and outlier detection (3×–20× the channel baseline).

🧠 Analyze

Local Whisper transcription with clean long-form handling, plus AI insight extraction, hook, structure, tone, retention risks, suggested titles, and a ready-to-run recreate prompt, scored per segment with concrete improvement suggestions.

🎬 Smart Video Studio

Write or paste a script, or let your AI draft one from a topic, and it becomes a project of up to 40 scenes. Every scene has a voice take you can play and a stock clip you can watch (Pexels or Pixabay, portrait-first for vertical video) or one of your own. Rewrite a line and only that scene is re-voiced; split, merge, reorder, swap clips, pick the look, music and caption style, then render exactly what you previewed. Captions are word-by-word, with CJK / Arabic / Thai support.

✂️ Clip Studio

One long video → many publishable shorts, cut on a real timeline. Drag across a filmstrip of the source's own frames, watch the first and last frame of your cut as you move the handles, and snap to sentence boundaries so a clip never opens mid-word. Type an exact timecode, paste times from show notes, or ask the AI, its picks land as blocks you can retime or delete before anything renders, scored on hook, flow, value, trend-fit and shareability. In a hurry, Auto-cut does the whole thing in one press and tells you how many clips that means first.

🎞️ Motion Graphics

A third kind of output, with no footage in it at all: kinetic typography, animated stat cards, lower thirds, product showcases. Describe what you want and the AI writes a real composition; refine it in an embedded animation studio with a timeline, layers and an inspector, then render it entirely on your own machine. Installs on demand, it isn't in the download.

🗂️ Library

One faceted view over everything you own, renders, downloads, every tool output, your music folder. Two questions get two controls: tabs say what a file is (video / image / audio / files), chips say where it came from (created / edited / sources), so a downloaded mp3 doesn't have to pick a side. Group by source to see a download beside everything you made from it, and open Activity from any page to watch work in flight.

💬 Chat

Streaming WebSocket chat that orchestrates every agent. Say "scout cooking videos" or "download this URL" and it just runs. Tappable quick-reply chips, follow-up questions that never lock the composer, and rich result cards that persist across reloads. The chat reads your live pipeline, downloaded-but-not-clipped, generated-but-not-posted, scouted-but-not-downloaded, and suggests the single highest-value next step instead of waiting to be asked.

📲 Messaging

Two-way chat from your phone via Telegram, WhatsApp, Discord, Slack, connect one under Settings → Messaging with a one-time pairing code, so the bot answers only you. Command the planner from anywhere and get job alerts as they finish.

⬇️ Universal downloader

yt-dlp under the hood, YouTube, TikTok, Bilibili, Instagram, Twitter/X, SoundCloud, Vimeo, and 1,800+ other sites. No watermarks, no ads, no cap. Pick quality, container, subtitles, cover art and metadata; a stalled or failing download says why instead of hanging, and Cancel really stops it.

🧰 22 built-in tools

Single-purpose utilities, captions, reframe, crop, compress, GIF, speed, trim, subtitles, watermark, merge, auto-zoom, music-visualizer, voice-over, silence removal, video download, plus AI helpers (translate, metadata, hook analysis, auto-chapters). Most run 100% locally on FFmpeg + Whisper, no API key. Each has an inline result preview and a history of what it produced.

🆓 What works without API keys

The expensive parts are free and local. You only pay for the AI you choose to plug in.

Feature Powered by Cost
Video downloading from 1,800+ sites yt-dlp $0
Audio transcription Local faster-whisper $0
Voiceover (400+ voices, 70+ languages) Edge TTS $0
Word-by-word animated captions FFmpeg + ASS subtitles $0
Background music library Royalty-free local library $0
Sound-effects auto-placement FFmpeg-synthesized $0
Tools: reframe, crop, compress, GIF, speed, trim, watermark, merge, auto-zoom, music-visualizer, subtitles… FFmpeg + Whisper $0
Motion-graphics rendering Local HyperFrames engine $0

YouTube / TikTok / Pexels still need free API keys, links in the BYOK section.

🚀 Quick Start

Prerequisites
Tool macOS Linux Windows
Python 3.11+ brew install python apt install python3.11 python.org
Node.js 18+ brew install node apt install nodejs npm nodejs.org
FFmpeg brew install ffmpeg apt install ffmpeg ffmpeg.org
Install & run
git clone https://github.com/openclaw-easy/ViralMint.git
cd ViralMint

python -m venv venv && source venv/bin/activate     # Windows: venv\Scripts\activate
pip install -r requirements.txt

cp .env.example .env                                  # optional, keys can also be set in the UI
python run.py

The first run installs frontend deps, builds the SPA, starts the API, and opens your browser at http://localhost:16888.

📦 Prefer an installer? Prebuilt apps for macOS, Windows and Linux are on the Releases page. On macOS, take -mac.dmg for Apple Silicon (M1 or later) or -mac-intel.dmg for an Intel Mac (from the first release that ships it; older releases are Apple Silicon only, so run from source as above).

💡 No API key yet? Open Settings → AI Provider after launch and paste an Anthropic, OpenAI, or OpenRouter key. OpenRouter is a single gateway to 300+ models, one key gets you Claude, GPT, Gemini, Llama, and Mistral. Prefer your own server? Pick OpenAI-compatible and enter its base URL (e.g. http://localhost:11434/v1 for Ollama) and model name, no key needed for local servers. Edge TTS, Whisper, FFmpeg, and yt-dlp all work offline with zero configuration.

Build a desktop app from source (optional)

Prefer a clickable app to a terminal command? A self-contained PyInstaller pipeline builds a macOS .dmg, Linux .tar.gz, or Windows .zip from this source, your browser is still the UI.

PYTHON_BIN=./venv/bin/python VIRALMINT_VERSION=0.1.0-dev \
  bash desktop/scripts/build-app.sh

Output lands in desktop/release/. First build takes ~10–15 min (PyInstaller bundling is the long pole). Skip flags, signing/notarization env vars, and the smoke-test recipe are in desktop/README.md.

🧩 Use it from Claude Code, Codex or Cursor (MCP)

ViralMint serves the Model Context Protocol at http://127.0.0.1:16888/mcp/, so an AI agent can run the whole pipeline in plain language, "find a breakout in home espresso, analyze it, and make me an original 45-second Short".

  1. Start ViralMint and open MCP in the sidebar.
  2. Pick your client (Claude Code, Claude Desktop, Codex, Cursor, Windsurf, Gemini CLI) and paste the snippet it shows. For Claude Code that's one claude mcp add line.
  3. Click Test connection, it runs the same handshake your client will.

69 tools cover research (scout, breakouts, news, search demand, keyword scoring), acquisition (download, import, channels), creation (Smart Video, scripts, batch, motion graphics), the Clip Studio picker (suggest / auto-cut / manual cut), all the single-purpose editing tools, and job control (wait_for_job returns the finished file's path). Six built-in prompts (viralmint:create_viral_short, viralmint:repurpose_long_form, …) give the agent known-good recipes, and resources expose your recent videos, channels, niches and transcripts.

  • Your keys, your bill. AI-backed tools run on the provider you configured under Settings → AI Provider, exactly like the UI.
  • Token-gated. Every request needs the Bearer token from the /mcp page (stored at <data dir>/mcp_token; rotate it there). The page only shows the token to a browser on the same computer, even in LAN mode.
  • File-path tools read files on the machine running ViralMint. That's what lets an agent say "caption ~/Desktop/clip.mp4", and why the token deserves the same care as an SSH key.
  • Nothing is posted for you. No MCP tool uploads or publishes; you post the finished video yourself.

🔑 Bring your own keys (BYOK)

Every key can be set in .env or per-user inside the app under Settings, whichever is set takes priority. Per-user keys are Fernet-encrypted (AES-128-CBC + HMAC-SHA256) before storage. Keys go straight to the provider; ViralMint has no backend server in the middle.

For Provider Where Cost
AI chat, scripting, analysis Anthropic · OpenAI · OpenRouter · any OpenAI-compatible server console.anthropic.com · platform.openai.com · openrouter.ai/keys · your server's base URL, Settings → AI Provider Pay-per-use (free on a local server)
YouTube scouting · comments · My Channels YouTube Data API v3 console.cloud.google.com/apis/credentials, Settings → Service API Keys Free 10K units/day
Stock footage Pexels or Pixabay, set either key pexels.com/api · pixabay.com/api/docs Free
Premium voiceover (optional) OpenAI TTS platform.openai.com Pay-per-use
TikTok / Douyin scouting TikHub API (recommended) tikhub.io Free tier
Telegram / Discord / Slack Bot tokens Settings → Messaging Free
WhatsApp QR-scan pairing Settings → Messaging Free

⚠️ TikTok / Douyin session-cookie scouting is available as an advanced fallback in Settings, but it violates the platforms' Terms of Service and the cookie's account is the one the platform sees acting. Use the TikHub API path unless you have specifically accepted that risk. See LEGAL.md for details.

🏗️ Architecture

                     ┌────────────────────────────────────────────────┐
                     │            React 18 + MUI 7 SPA                │
                     │       (served by FastAPI in production)        │
                     │  Chat · Scout · Channels · Library             │
                     │  Smart Video · Clip Studio · Motion Graphics   │
                     │  Tools · MCP · Settings (incl. Messaging)      │
                     └─────────────────┬──────────────────────────────┘
                                       │  HTTP + WebSocket
                                       ▼
                     ┌────────────────────────────────────────────────┐
                     │           FastAPI · localhost:16888            │
                     ├────────────────────────────────────────────────┤
                     │  Planner Agent ─── streaming chat + actions    │
                     │  Scout Agent ───── YouTube · TikTok · Douyin   │
                     │                    (+ yt-dlp dynamic search)   │
                     │  Download Agent ── yt-dlp (1,800+ sites)       │
                     │  Analyzer Agent ── Whisper + AI insights       │
                     │  Smart Video ───── scenes → voice takes →      │
                     │                    stock/own clips → render    │
                     │  Motion Renderer ─ local HyperFrames engine    │
                     │  Messaging ─────── Telegram · WhatsApp ·       │
                     │                    Discord · Slack             │
                     └─────────────────┬──────────────────────────────┘
                                       │
              ┌────────────────────────┼─────────────────────────┐
              ▼                        ▼                         ▼
    ┌─────────────────┐    ┌──────────────────────┐    ┌──────────────────┐
    │  SQLite local   │    │  storage/ on disk    │    │  External APIs   │
    │  (encrypted     │    │  videos · audio ·    │    │  (BYOK, direct)  │
    │   credentials)  │    │  thumbnails · sfx    │    │                  │
    └─────────────────┘    └──────────────────────┘    └──────────────────┘
Tech stack
Layer Stack
Backend Python 3.11+ · FastAPI · SQLAlchemy 2.0 (async) · SQLite · WebSockets
Frontend React 18 · Vite · MUI 7 · Zustand · React Router 6
AI (BYOK) Anthropic Claude SDK · OpenAI SDK · OpenRouter (300+ models via one key) · any OpenAI-compatible server (Ollama, LM Studio, vLLM…)
Transcription faster-whisper (local, multilingual, CPU int8)
TTS Edge TTS (free) · OpenAI TTS
Video Pexels / Pixabay stock · FFmpeg · Ken Burns for stills
Captions FFmpeg + ASS (word-by-word highlight animation)
Download yt-dlp (1,800+ sites)
Messaging python-telegram-bot · discord.py · slack-sdk · neonize (WhatsApp)
Security Fernet (AES-128-CBC + HMAC-SHA256) for credentials at rest

📸 Screenshots

Clip Studio, the cutting bench
Drag across the source's own frames. Speech lane, sentence snapping, IN/OUT previews, and typeable timecodes. Nothing renders until you press Cut.
Auto-cut, the express lane
Trust the AI and skip the review step. It says how many clips that means for this video before you press the button.
Library, everything you own
One view over renders, downloads, every tool output and your music folder. Tabs say what a file is; chips say where it came from.
Motion Graphics, designed video, rendered locally
Kinetic type, stat cards, lower thirds. The AI writes the composition; you refine it on a timeline and render on your own machine.
Smart Video Studio
Each sentence or two becomes a scene you can watch, hear and change before you render, up to 40 of them. Mix stock with your own clips and pick a look.
Tools, 22 utilities
Reframe, crop, compress, watermark, GIF, speed, trim, subtitles, voice-over, hook analysis, most run locally with no API key.
Chat, the agent that runs it
Paste a URL, name a niche, or ask for a video. It dispatches the right agent and reports back in the same thread.
Messaging, drive it from your phone
Connect Telegram, WhatsApp, Discord or Slack in Settings to command the same agent and get job alerts as they finish.

📁 Project structure

ViralMint/
├── run.py                          # 🚀 Single entry point
├── launcher.py                     # System-tray launcher (the desktop app's entry point)
│
├── backend/
│   ├── agents/                     # Planner, Scout, Download, Analyzer, Generator
│   ├── api/                        # REST + WebSocket endpoints
│   ├── core/                       # AI client, BYOK key resolver, crypto, WebSocket manager
│   ├── mcp/                        # MCP server at /mcp, tools, prompts, resources
│   ├── messaging/                  # Telegram / WhatsApp / Discord / Slack channels
│   ├── models/                     # SQLAlchemy models
│   └── services/                   # TTS, video gen, captions, music, yt-dlp, Whisper,
│                                   #   motion rendering, library index, …
│
├── frontend/
│   └── src/
│       ├── pages/                  # Chat · Scout · Channels · Library · Smart Video ·
│       │                           #   Clip Studio · Motion Graphics · Tools · MCP · Settings
│       ├── components/             # Reusable UI (chat, settings, videos, …)
│       ├── hooks/                  # WebSocket, settings, jobs, source video
│       └── store/                  # Zustand global state
│
├── tests/                          # pytest suite (4,000+ tests)
├── storage/                        # Downloaded videos, audio, generated output (gitignored)
│
├── requirements.txt
├── .env.example
├── CONTRIBUTING.md
├── SECURITY.md
└── LICENSE                         # AGPL-3.0

🤝 Contributing

Pull requests welcome, bug fixes, new platforms, additional messaging channels, performance work, docs, anything. Read CONTRIBUTING.md for the workflow and house style, and the Code of Conduct before opening your first issue.

📜 License & responsible use

ViralMint is licensed under the GNU Affero General Public License v3.0 (LICENSE).

  • ✅ Free for personal use, commercial use, modification, and redistribution
  • ✅ Run a SaaS on top of it
  • ⚠️ If you distribute it (or run it as a public network service), you must share your modified source under the same AGPL-3.0 terms

ViralMint is a tool you run on your own machine. The maintainers don't host your content or proxy your API calls, every action is you, acting on your own platforms and keys. Read LEGAL.md before using the scouting and downloader features so you understand what's sanctioned (YouTube Data API, Pexels), what's at-your-own-risk (TikTok/Douyin session-cookie scouting), and what you're responsible for under each platform's Terms of Service.

🙋 Don't want to self-host?

The other edition is the ViralMint app (web and desktop, one account, pay as you go, no API keys). It is closed-source and adds AI shorts, AI video clips, music videos from your own song, AI music, on-device voice cloning and a hosted MCP server. Full comparison: docs/hosted-vs-self-hosted.md. The app pages people use most: the AI clipper, Video Studio, the music video generator and the MCP server. Otherwise, everything you need is right here, read on and python run.py.

⭐ If ViralMint is useful to you, star it

Stars are the single biggest thing that helps this project, they attract contributors, unlock awesome-list eligibility, and tell other creators it's worth a look. It takes one click.

⭐ Star openclaw-easy/ViralMint


Built with FastAPI, React, Whisper, FFmpeg, and a lot of async Python.

Website: viralmint.net · Source: github.com/openclaw-easy/ViralMint · License: AGPL-3.0

Questions about ViralMint

What is the ViralMint MCP server?

Open-source edition of ViralMint (viralmint.net): a local-first AI video editor for creators. Clip long videos into captioned shorts, turn scripts into videos, scout trends, design motion graphics, drive it over MCP. Runs on your own API keys. AGPL-3.0. ViralMint is maintained by openclaw-easy on GitHub at openclaw-easy/ViralMint, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I add ViralMint to Claude Code?

ViralMint is a remote server, so you add its URL instead of installing a package: run claude mcp add --transport http viralmint https://viralmint.net/mcp/ in your terminal. In other apps, add the ViralMint URL as a remote or custom connector.

Does ViralMint need an API key?

The registry lists no required keys for ViralMint. Check the ViralMint README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is ViralMint an official MCP server?

No. ViralMint is a community server maintained by openclaw-easy. Community servers can be excellent; read the code and the open issues before you give ViralMint access to company data.

What license is ViralMint under?

ViralMint is released under the AGPL-3.0 license, according to its GitHub repository. The license covers the code of ViralMint; the service it connects to has its own terms.