{"id":49575184,"url":"https://github.com/rollecode/english-refiner","last_synced_at":"2026-05-03T16:10:58.767Z","repository":{"id":346613251,"uuid":"1190764766","full_name":"rollecode/english-refiner","owner":"rollecode","description":"A fast TUI tool for refining English text using LLM via OpenRouter. Fixes grammar while preserving your voice.","archived":false,"fork":false,"pushed_at":"2026-04-13T15:26:08.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-02T13:33:29.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rollecode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-24T15:43:41.000Z","updated_at":"2026-04-13T15:26:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rollecode/english-refiner","commit_stats":null,"previous_names":["ronilaukkarinen/english-refiner","rollecode/english-refiner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rollecode/english-refiner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fenglish-refiner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fenglish-refiner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fenglish-refiner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fenglish-refiner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollecode","download_url":"https://codeload.github.com/rollecode/english-refiner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollecode%2Fenglish-refiner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-03T16:10:58.672Z","updated_at":"2026-05-03T16:10:58.748Z","avatar_url":"https://github.com/rollecode.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# English Refiner CLI\n\n**A fast TUI tool for refining English text using LLM via OpenRouter. Fixes grammar while preserving your original voice and meaning.**\n\n\u003cimg width=\"836\" height=\"368\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ddbff1ef-c3fc-418b-8b54-086ed666c5e6\" /\u003e\n\n## Dependencies\n\n- [gum](https://github.com/charmbracelet/gum) - TUI components\n- [jq](https://jqlang.github.io/jq/) - JSON parsing\n- curl\n- [OpenRouter](https://openrouter.ai/) API key\n\n## Installation on macOS\n\n```bash\nbrew install gum jq\n\nmkdir -p ~/.config/englishrefiner\necho -n 'your-openrouter-api-key-here' \u003e ~/.config/englishrefiner/key\nchmod 600 ~/.config/englishrefiner/key\n\nsudo cp englishrefiner /usr/local/bin/englishrefiner\nsudo chmod +x /usr/local/bin/englishrefiner\n```\n\n## Installation on Linux\n\nInstall dependencies for your distro. For Wayland, install `wl-clipboard`. For X11, install `xclip` instead.\n\n```bash\n# Arch\nsudo pacman -S gum jq wl-clipboard\n\n# Debian/Ubuntu\nsudo apt install gum jq wl-clipboard\n```\n\n```bash\nmkdir -p ~/.config/englishrefiner\necho -n 'your-openrouter-api-key-here' \u003e ~/.config/englishrefiner/key\nchmod 600 ~/.config/englishrefiner/key\n\nsudo cp englishrefiner-linux /usr/local/bin/englishrefiner\nsudo chmod +x /usr/local/bin/englishrefiner\n```\n\n## Usage\n\n```bash\n# TUI mode - opens editor, type/paste text, Ctrl+D to submit\nenglishrefiner\n\n# Clipboard mode - refines clipboard contents, copies result back\nenglishrefiner -c\n\n# Pipe mode\necho 'your text' | englishrefiner\n```\n\nResult is always auto-copied to clipboard.\n\n## Model\n\nCurrently using `openai/gpt-5-chat` via OpenRouter. Change the `MODEL` variable in the script to swap models.\n\n## Model benchmarks\n\nTested with a message containing typos, comma issues, and wrong article usage. Quality rated on whether meaning is preserved while improving readability.\n\n| Model | Speed | Quality | Notes |\n|-------|-------|---------|-------|\n| google/gemini-2.0-flash-lite-001 | 0.8s | Perfect | Fast, consistent, preserved meaning |\n| anthropic/claude-3-haiku:beta | 1.1s | Good | Occasionally adds preamble |\n| openai/gpt-5.4-nano | 0.8s | Good | Inconsistent article/dash usage |\n| inception/mercury-2 | 0.7s | Good | Inconsistent speed and wording |\n| anthropic/claude-3.5-haiku:beta | 2.2s | Good | Same as claude-3-haiku, slower and pricier |\n| openai/gpt-oss-120b | 3.5s | Good | Clean output, too slow |\n| google/gemini-2.5-flash-lite | 0.7s | OK | Sometimes changes word choices |\n| z-ai/glm-5-turbo | 9.5s | OK | Too slow |\n| bytedance-seed/seed-1.6-flash | 3.6s | OK | Emdashes, inconsistent |\n| stepfun/step-3.5-flash | 5.0s | OK | Too slow, emdashes |\n| xiaomi/mimo-v2-flash | 1.1s | OK | Wildly inconsistent speed (1-12s) |\n| openai/gpt-4.1-nano | 0.8s | Poor | Changed meaning |\n| liquid/lfm-2-24b-a2b | 1.0s | Poor | Rewrote sentences, changed meaning entirely |\n| mistralai/ministral-3b-2512 | 0.4s | Poor | Fastest but rewrites everything |\n| google/gemini-3.1-flash-lite-preview | 6.1s | Poor | Expanded contractions, too formal |\n| openai/gpt-5-nano | 14.8s | Poor | Way too slow |\n| qwen/qwen3.5-122b-a10b | 52.7s | Poor | Too slow |\n| qwen/qwen3.5-35b-a3b | 55.5s | Poor | Too slow |\n| qwen/qwen3.5-flash-02-23 | 77.0s | Poor | Too slow |\n| qwen/qwen3.5-9b | 103.6s | Poor | Too slow |\n| bytedance-seed/seed-2.0-mini | 122.9s | Poor | Too slow |\n| bytedance-seed/seed-2.0-lite | 55.4s | Poor | Too slow |\n| z-ai/glm-4.7-flash | 28.1s | Poor | Too slow |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollecode%2Fenglish-refiner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollecode%2Fenglish-refiner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollecode%2Fenglish-refiner/lists"}