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 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:
npm install
-
Create a
.env
file in the root directory and add the following environment variables:API_KEY=<your_api_key> OPENAI_BASE_URL=https://openrouter.ai/api/v1 OPENAI_API_KEY=<your_openrouter_api_key> NEXT_PUBLIC_OPENAI_MODEL=anthropic/claude-3.5-sonnet,anthropic/claude-3-opus,openai/chatgpt-4o-latest,openai/gpt-4
Replace
<your_openrouter_api_key>
with your actual OpenRouter API key, which you can obtain by signing up at OpenRouter. If you want to use other providers, you may want to modifyNEXT_PUBLIC_OPENAI_MODEL
accordingly. Alternatively, you can set the model in the UI. Replace<your_api_key>
with your API key for security. You can pass multiple keys separated by commas. -
Start the development server:
npm run dev
-
Open your web browser and visit
http://localhost:3000
to 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.