Skip to content
/ fgpt Public

A free reverse proxy and CLI tool for OpenAI GPT-3.5-turbo.

License

Notifications You must be signed in to change notification settings

shenjinti/fgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A free reverse proxy and CLI tool for OpenAI GPT-3.5-turbo.

It allows you to use the GPT-3.5 API without needing to sign up for an API key or pay for usage.

Installation

cargo install rgpt

How to use CLI

# To get help
rgpt "Linux command to list files in a directory"

# Output plain code
rgpt -c "Write python code to reverse a string"

# With pipe
git diff | rgpt "Write a commit message for this diff"

# With stdin
rgpt -r "Convert CSV to JSON" < contacts.csv

# With file
rgpt -f contacts.csv  "Convert CSV to JSON"

# REPL mode
rgpt
>> How to list files in a directory [ALT+ENTER]
...

How to use Reverse Proxy

rgpt -s 127.0.0.1:3000