A web interface bot to check and improve grammar and phrasing of your input, similar to Quillbot or Grammarly.
Use any backend LLM service of your choice, even locally hosted ones (check "Installation" for more)!
- node version 20.* (check
.nvmrc
) - yarn
- Copy
env.example
to.env
- Change
REQUEST_TYPE
to one of these:custom, groq, openrouter, openai
- For
groq, openrouter, openai
, make sure you fill in the env variables with corresponding prefix - For
custom
- Run your own OpenAI-compatible server (llama.cpp, llamafile, Koboldcpp etc) and make sure it is accessible
- make sure you fill in the env variables with
CUSTOM_
prefix CUSTOM_API_BASE_URL
should usually end with/v1
CUSTOM_API_KEY
orCUSTOM_API_MODEL
can usually be left empty- For
CUSTOM_API_PROMPT_TEMPLATE
, check available types insrc/prompt-template.ts
, so likeMISTRAL
,LLAMA_3
etc
- Change
Build frontend
cd frontend && yarn && yarn build
Build backend
yarn && yarn build
Start server
yarn start
The server should now be running on http://localhost:5000/
Bit yanky, need to run the frontend and backend separately
Run frontend cd frontend && yarn && yarn dev
In separate window, run backend yarn && yarn dev
You should now have frontend running on http://localhost:5173/
and backend on http://localhost:5000/
with live reloading etc.