syrizelink/OpenFic
About
A cross-platform, user-friendly, AI-native, all-in-one Vibe Writing tool designed specifically for novel writing.
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +8
- in 1 month
- +38
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
OriginalOpenFic
中文 | English
OpenFic is an all-in-one, cross-platform, AI-native writing tool built for fiction authors. It helps you build world, design characters, and shape custom workflows, so the Agent fits your writing process instead of forcing you into its own.

Sponsors
OpenFic × Infistar.cc | Highly Available API for All Models
Thanks to Infistar.cc for sponsoring this project.
- ⚡ Reliable, enterprise-grade model services: transparent pricing starting at just 1% of official rates, with multi-node redundancy to reduce rate limits and timeout interruptions during long-form writing
- 🔀 Easy access to leading models: native compatibility with OpenFic lets you use ChatGPT, Claude, Gemini, Kimi, GLM, DeepSeek, and more with a single API key, so you can quickly choose suitable models for each Agent role
- 📚 Support for content retrieval: Embedding and Rerank models enable fast indexing and queries for projects that require very long contexts
🎁 Exclusive benefits for OpenFic users: register through our exclusive referral link to receive $5 in trial credits and a special offer on your first top-up, and try the API service right away!
When to Use OpenFic
[!Tip]
OpenFic is designed for Agent-assisted writing, not one-click novel generation. It is first and foremost a writing tool for fiction, and then an AI Agent system built around that workflow.
It works well when you:
- are writing a mid-length or long-form novel and need to keep track of worldbuilding, characters, foreshadowing, and chapter details
- want an Agent to help with brainstorming, continuity checks, and detail expansion
- already have your own setting, tone, and plot direction, and want help turning ideas into actual prose
- want to customize prompts, Agents, and workflows around your own writing process
- care about local data storage, context management, and sustainable long-term collaboration
It is probably not a good fit when you:
- expect to type one prompt and get a complete novel automatically
- mainly need short-form marketing copy, social posts, or generic one-off text generation
- do not plan to maintain detailed project material or long-term writing context
Features
- 🚀 Ready out of the box: install with Docker or pip, or use the desktop app directly, with minimal setup
- ✒️ Built for writing: an editor designed around fiction writing, with a comfortable long-form writing experience
- 🤝 Broad model support: works with many providers, including any model compatible with the OpenAI API
- 📱 Responsive UI: designed for desktop, mobile, and browser use without breaking the workflow
- 🧩 Custom workflows: a highly configurable Agent system that lets you adapt prompts and workflows to your needs
- 🤖 Human-AI co-writing: Agents help with brainstorming, plotting, and editing, instead of replacing the writing process with one-click generation
- 💾 Local persistence: all project data stays on your machine, with no cloud storage dependency
- 🧠 Semantic retrieval: Agentic RAG built on vector search, so Agents can retrieve information efficiently even in projects with millions of words
- ⚖️ Cost-aware context handling: layered context management, smart compression, dynamic truncation, and stable caching to reduce usage cost
Quick Start
🐳 Docker (Recommended)
If you are self-hosting, Docker is the recommended way to run OpenFic.
docker run -d -p 8000:8000 -v "openfic:/data" --name openfic ghcr.io/syrizelink/openfic:latest
🐍 Python pip
[!WARNING]
Before you start, make sure Python 3.12+ is installed.
1. Install OpenFic
pip install openfic
2. Start the server
openfic serve
🖥 Desktop App
Download the desktop app from the Release Page and run it natively on your system.
Contributing
Contributions of any kind are welcome. If you have ideas, suggestions, or code improvements, feel free to open an Issue or submit a Pull Request.
- Report bugs: open an Issue with as much detail as possible
- Suggest features: share your ideas in Issues
- Submit code: fork the repository, make your changes, and open a Pull Request
See CONTRIBUTING.md for detailed contribution guidelines.
Star History
Repobeats
Acknowledgements
- SillyTavern - inspiration
- oh-story-claudecode - reference for the built-in writing Skill
Community
交流群:1105304435
License
Explore related projects
Loading…
