Waner Proofreader is an AI-powered tool designed to help non-native English speakers proofread their text smoothly.
The tool is named after
the character Shangguan from the game Honor of Kings (王者荣耀里的上官婉儿)the historical figure Shangguan Wan'er (上官婉儿), a renowned Chinese poet and politician.
Here is a demo. You need to configure your own API URL and key to use it.
To run Waner Proofreader using Docker, use the following docker-compose file:
services:
waner-proofreader:
image: ghcr.io/auroradysis/waner-proofreader:latest
container_name: waner-proofreader
restart: unless-stopped
ports:
- 3000:3000
volumes:
- ./config.toml:/app/config.toml
environment:
- CONFIG=/app/config.toml or <base64 encoded TOML>where <base64 encoded TOML> is the base64 encoded TOML configuration file or <path to TOML file> is the path to the TOML configuration file. The TOML file config.toml should contain the following information:
models = ["openai/gpt-4o", "google/gemini-2.5-pro-preview-03-25", "x-ai/grok-3-beta", "qwen/qwen3-235b-a22b", "openai/gpt-4.1", "google/gemini-2.5-flash-preview", "qwen/qwen-max", "openai/chatgpt-4o-latest"]
[[users]]
name = "name"
key = "password"
openai_base_url = "base url of API endpoint, for example, https://openrouter.ai/api/v1 or https://api.openai.com/v1"
openai_api_key = "your api key of the endpoint"
# other users
[[users]]
...If you want to use providers other than OpenRouter, you may need to modify models accordingly. Replace
<openai_base_url> and <your_api_key> with your actual API key and base URL, which should be compatible with the OpenAI API. The models field should contain a list of models you want to use, and you can add or remove models as needed.
You can also add multiple users by adding more [[users]] sections.
To run Waner Proofreader locally, ensure that you have Node.js installed on your machine. Follow these steps to set up the project:
-
Clone the repository:
git clone https://github.com/AuroraDysis/waner-proofreader.git
-
Navigate to the project directory:
cd waner-proofreader -
Install the required dependencies:
pnpm install
-
Create a
.envfile in the root directory and addCONFIGas previously mentioned. -
Start the development server:
pnpm run dev
-
Open your web browser and visit
http://localhost:3000to access Waner Proofreader.
- Some parts of the code & prompts are inspired by refiner
- Some prompts are inspired by editGPT
- Some prompts are inspired by GenAI LaTeX Proofreader
waner-proofreader is licensed under the MIT License. See LICENSE for more information.
