尚未检测到更新。GitHub 发布版本后会显示在这里。
Waner Proofreader is an AI-powered tool designed to help non-native English speakers proofread their text smoothly.
翻译准备中
正在加载完整 README。
查看完整 README ↗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:
# optional; defaults to ~deepseek/deepseek-flash-latest
model = "~deepseek/deepseek-flash-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]]
...
Users of these keys cannot pick a model: every request uses model, so set it to a model your endpoint serves if you use a provider other than OpenRouter. Replace
<openai_base_url> and <your_api_key> with your actual API key and base URL, which should be compatible with the OpenAI API.
Visitors who enter their own API key in Settings may also enter an endpoint (default: OpenRouter) and a model (default: model above).
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 .env file in the root directory and add CONFIG as previously mentioned.
Start the development server:
pnpm run dev
Open your web browser and visit http://localhost:3000 to access Waner Proofreader.
waner-proofreader is licensed under the MIT License. See LICENSE for more information.