Pasta-Devs/Marinara-Engine
A self-hosted TypeScript frontend for AI chat, roleplay, and narrative games
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Marinara Engine is a self-hosted TypeScript web app in a pnpm workspace. The root scripts expose separate client and server development targets and client, server, and shared build targets. Conversations and files use local, file-native storage. Model inference is a separate concern: a chat can select its own provider and model, while a downloadable local model handles helper tasks such as tracker updates, lorebook search, and call transcription.
A fresh install includes no optional agents. Users install agents from a separate first-party catalog and enable them per chat, so prose editing, world-state tracking, and scene illustration are opt-in. Personal Extensions are a separate mechanism: execution requires approval of the exact reviewed SHA-256 fingerprint, and executable changes invalidate that approval. Restricted browser or OS sandboxes are available, but the separately disclosed Full page access mode is unsandboxed.
Key Capabilities & Differentiators
Conversation offers Discord-style DMs, Roleplay adds sprites, backgrounds, and a Visual Novel display, and Game provides an AI Game Master with a party, maps, quests, and combat. Characters can share memory across modes. Chats support branching and alternate replies, and the app can import from SillyTavern. Prompt presets support drag-and-drop ordering; lorebooks use keyword triggers, and Active Context shows which lore a chat is using.
Chat connections cover OpenAI, Anthropic, Gemini, OpenRouter, and OpenAI-compatible endpoints such as Ollama, LM Studio, and KoboldCpp. Switching models from the composer changes only the current chat. An optional decision model can gate agents, lorebook entries, or prompt sections. Media connections are separate: ComfyUI is a local option for images and video, and PocketTTS is one of the speech options. API keys are encrypted at rest with AES-256; local storage does not prevent configured hosted providers from receiving the requests sent to them.
Trade-offs & Limitations
Compared with staying in an established SillyTavern setup, Marinara's clearest reason to switch is the combination of three distinct session modes, shared character memory, and game-state tools. Import support reduces migration friction but does not establish feature parity for presets, cards, or extensions. Start with one representative chat and a small set of agents before moving a whole library, especially while the project is in beta and breaking changes are possible.
Self-hosting the app controls where chats are stored, not where inference runs. Hosted services reduce on-device compute needs but introduce provider costs and data-handling considerations; local inference shifts the load to your hardware. Extra agents and media generation can add model calls per turn, so test the actual configuration rather than sizing from the base app alone. Private multiplayer requires two explicit opt-ins and a trusted client for each participant. AGPL-3.0 also matters if you modify the service and make it available over a network.
Hardware & Deployment Guide
For the container path, use the Docker or Podman installation guide. The Compose file pulls ghcr.io/pasta-devs/marinara-engine:latest, maps 127.0.0.1:${PORT:-7860} to container port 7860, and mounts the marinara-data volume at /app/data, with file storage under /app/data/storage. Back up that volume before upgrading. Before exposing the service beyond localhost, configure authentication and review the trusted host, CORS, and CSRF origin settings.
Source installation requires Node.js >=24 <27 and pnpm 10.33.2 or >=10.34.5. Releases include a Windows installer, and iOS/iPadOS access is via PWA. The v2.5.3 Android APK is a Termux bootstrap and WebView shell, not a native Android server: Marinara runs through Termux, and initial setup still requires Android permission prompts. For offline use, provision model artifacts and any necessary agents in advance and make sure every enabled inference or media backend is local.
Individuals and trusted small groups who want persistent characters across chat, visual roleplay, and AI-run games, with a choice of local or hosted models.
You only need a lean model chat client, want a turnkey offline install without provisioning backends, or require a public multi-tenant service with independently verified isolation.
Comparison vs. Top Chat UI & AI Apps Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| Marinara-Engine ★ | 808 | +11 | TypeScript | AGPL-3.0 | A self-hosted TypeScript frontend for AI chat, roleplay, and narrative games |
| open-design | 110.9k | +1k | TypeScript | Apache-2.0 | Local-first design workspace that turns coding-agent output into reviewable prot |
| openclaw | 395.6k | +570 | TypeScript | MIT | A self-hosted Gateway for one AI assistant across chats and devices |
| OpenBot | 14.7k | +935 | TypeScript | MIT | Self-hosted AG-UI workspace for AI agents with governed browser and tool actions |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Pasta-Devs/Marinara-Engine.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Marinara-Engine
How do I connect a local model, and what does that connection cover?
Do I need a GPU, and how should I size the host?
Can I use Marinara commercially or operate a hosted instance?
When should I choose Marinara over SillyTavern?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy