xiaoshengxianjun/51mazi

我要码字,这可能会是最好用的小说写作软件。51mazi是一款专为小说创作开发的桌面端写作软件,它不仅集成了随机取名,小说地图设计、关系图谱、人物档案,时间线等创作辅助工具,还集成了AI写作、AI生成封面,AI生成人物图等AI辅助功能,此外,还支持网文小说下载,让小说创作变得更加高效和有趣。

51mazi – Desktop Novel‑Writing Suite with AI‑Assisted Creativity

What it is – An open‑source, cross‑platform desktop application (Electron + Vue 3) built for novelists. It combines a professional rich‑text editor with a suite of creative‑aid tools such as map drawing, relationship graphs, timelines, and AI‑powered generation of covers, character portraits, scene illustrations, name suggestions, polishing and continuation of text.

Key capabilities

Area What you get
Writing TipTap‑based rich‑text editor, real‑time word count, speed stats, auto‑save, search, multi‑theme UI, keyboard shortcuts.
AI assistance • Cover generation, character portraits, scene images (via 通义万相).
• Text polishing, continuation, and smart name generation (via DeepSeek).
• Optional DeepSeek “scene‑description extraction” to improve prompts.
Story‑world tools Map designer (canvas with brushes, shapes, resource icons, PNG export), relationship‑graph visualiser, timeline/sequence diagram, organisational‑chart visualiser, hierarchical term dictionary.
Management Multi‑book shelf with per‑book password protection, independent data folders, character‑profile manager (cards & table view, multiple AI‑generated images per character), random name generator (local + AI), download‑novel module (search multiple sources, import as TXT).
Safety & privacy All data stored locally, optional shelf/book passwords, no mandatory cloud sync.

Technology stack

  • Electron 39 – desktop packaging for Windows/macOS/Linux.
  • Vue 3 + Vite – UI framework and fast build.
  • Element Plus – UI component library.
  • TipTap – ProseMirror‑based editor.
  • Pinia – state management.
  • ECharts, relation‑graph‑vue3 – visualisations.
  • DeepSeek API (text) and 通义万相 API (image) – optional AI services (API keys required).

Who it helps

  • Web‑novel authors needing a unified workspace for drafting, world‑building, and asset creation.
  • Scriptwriters, game narrative designers, or any storyteller who benefits from maps, timelines, and character relationship graphs.
  • Writers who want AI‑generated cover art, character sketches, scene illustrations, or automated name suggestions without leaving the editor.

Getting started

# clone the repo
git clone https://github.com/xiaoshengxianjun/51mazi.git
cd 51mazi
# install dependencies
npm install
# run in development mode
npm run dev

For a production build use npm run build:win|mac|linux.

Future roadmap (as per README) – more AI features (summary, dialogue, plot suggestions, outline generation), a plugin system, optional cloud sync, and collaborative editing.


The project is a genuine software tool that leverages AI APIs to assist novel writing, fitting the scope of AI‑enhanced creative applications.

Related

  • Project
  • Project
  • Project
  • Project
  • Project