GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - primebitsorg/proofreader: Simple CLI for proofreading text files via LLM

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.husky
.husky
 
 
src
src
 
 
.commitlintrc.json
.commitlintrc.json
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.lintstagedrc
.lintstagedrc
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
eslint.config.mjs
eslint.config.mjs
 
 
gulpfile.mjs
gulpfile.mjs
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
rollup.config.mjs
rollup.config.mjs
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

Simple CLI for proofreading text files via LLM.

Usage

Install the package as a global CLI program via npm i -g pedantify

Create a .env file in the working directory and configure it. You may copy the template below.

OPENAI_BASE_URL=https://openrouter.ai/api/v1
OPENAI_MODEL=openai/gpt-4o-mini
OPENAI_API_KEY=YOUR_KEY_HERE

Alternatively, you may pass these values as env variables when running a command.

Done. Now, you can proofread text files via pedantify -w ./README.md

Run pedantify -h for more info:

Usage: pedantify [options] <file>

Fix typos, grammar and style errors in target text file

Example:
  # Proofread a file and write result back to file
  pedantify -w ./README.md
  # Proofread a file and print in console a fixed text
  pedantify ./README.md

Arguments:
  file         Text file path

Options:
  -w, --write  Write output to file. If not enabled, content will only be printed in stdout (default: false)
  -h, --help   display help for command

License

Code is under the MIT license.

Contributions are welcome.

About

Simple CLI for proofreading text files via LLM

npmjs.com/pedantify

Topics

javascriptllmmarkdownnpmproofreadproofreaderproofreadingtypescript

Resources

Readme
MIT license
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.