Skip to content
Projects

About

vibecoding在AI写作领域的初步尝试,具备function calling,rag,mcp,skills,人在回路等功能,或许能当一个小cursor用? A preliminary attempt at vibecoding in the field of AI writing, featuring capabilities such as function calling, RAG, MCP, skills, and human-in-the-loop. Maybe it could serve as a lightweight alternative to Cursor?

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

English | 中文

QingZhu v0.2.0

Project Introduction

  • QingZhu (official name) is a text creation tool, primarily exploring the application of AI in text creation.
  • Supported Platforms: Ubuntu 24.04, Windows 11
  • Respects different users' habits by not providing pre-made "one-click features"
  • Aims to integrate AI into the writing process, improving efficiency and extending the author's thinking, rather than replacing the author

Core Features

0. Built-in Butler Agent

Allows AI to operate backend APIs, directly performing actions on behalf of the user (currently in early stages)


1. Tool Calling

Consistent with the core logic of Cursor / Cline / Roo Code / opencode / Kilo Code, with some design differences:

Supports Human-in-the-Loop, encouraging users to frequently intervene in AI content generation for timely corrections

You can also enable Auto-Approval to let AI fully automate task execution

1


2. Themes

Supports Day/Night modes and custom theme color schemes

2


3. RAG Knowledge Base

Allows AI to retrieve necessary information, improving results

8

  • Two-step RAG: Before calling AI, uses the user's message as input to retrieve relevant information, which is returned to AI along with other context
  • Agentic RAG: Gives AI two knowledge base tools, allowing AI to autonomously decide whether to query data

4. Regular Search

Standard text editor feature

Allows users to search through text

4


5. Checkpoints

Standard text editor feature

Allows users to save file content as checkpoints, restore to previous versions, and view differences between different checkpoints

5


6. Provider Adaptation

Supports 11 providers

Supports custom providers (OpenAI-compatible)

Includes a built-in embedding model, ready to use out of the box

6


7. MCP Client

Supports connecting to MCP servers

10


8. Skills Support

Can integrate various skills, similar to OpenClaw and Claude Code

3


9. Others:

  • Command Execution: Allows AI to execute commands directly, such as Python, npm, etc.
  • Terminal: Terminal panel similar to VS Code and other editors, capable of executing command lines
  • ...and more

Tech Stack

Frontend Technologies

TypeScript React Redux Tailwind CSS Monaco Editor React DnD XTerm.js

Backend Technologies

Python FastAPI LangChain LangGraph ChromaDB LiteLLM MCP Llama.cpp GitPython

Development & Build Tools

Electron Vite

Languages

Language Files Code Comment Blank Total
TypeScript JSX 76 8,297 618 1,019 9,934
Python 63 4,398 2,189 1,342 7,929
TypeScript 38 3,062 632 587 4,281
Markdown 8 576 0 87 663
YAML 3 480 60 37 577
JavaScript 10 464 87 81 632
PostCSS 4 185 19 30 234
JSON 3 145 0 2 147
Skill 2 62 0 21 83
pip requirements 1 33 0 0 33
JSON with Comments 1 29 19 7 55
HTML 1 14 0 1 15

Quick Start

Installation & Startup

1. Clone the Repository

git clone [email protected]:FlickeringLamp/ai-novelist.git
cd ai-novelist

2. Install Frontend Dependencies

Enter the frontend directory (frontend/), install dependencies, build, and start:

cd frontend
npm install
npm run build
npm start

3. Install Backend Dependencies

From the root directory (ai-novelist), create a virtual environment, activate it, install backend dependencies, then return to root and start:

# Windows
python -m venv backend_env
backend_env\Scripts\activate

# Linux/macOS
python -m venv backend_env
source backend_env/bin/activate

cd backend
pip install -r requirements.lock
cd ..
python main.py

Note: Using requirements.lock ensures all dependencies are fully version-locked to avoid compatibility issues. For development environments that need the latest versions, use requirements.txt instead.

4. Access via Browser

Open your browser and visit: http://localhost:3000

5. Other Startup Methods

From the root directory:

cd frontend
npm run electron-dev

Note: When starting with electron-dev, the terminal feature is available. The web version lacks the Node.js main process, so the terminal feature is unavailable.



Contributing

We welcome contributions in all forms! If you find bugs, have feature suggestions, or want to submit code, please participate through GitHub Issues or Pull Requests.

Detailed guides:

We don't oppose AI-assisted programming, but please ensure your agent understands these file requirements, and ensure you understand what the AI is writing—otherwise, it may not be merged.

To maintain the project's healthy development, please ensure:

Thank you to every contributor for your support!


License

This project is licensed under the MIT License.


Acknowledgements

The development of this project has been partially inspired by the opencode and roo-code projects. We express our heartfelt thanks to the developers of these projects.

  • The opencode project is open-sourced under the MIT License. You can view it in the LICENSE-opencode.txt file.
  • The roo-code project is open-sourced under the Apache License 2.0. You can view it in the LICENSE-roo-code.txt file.

Explore related projects

Loading…