minipaper
v1.0.3
Published
compress text with gpt
Readme
MiniPaper
A tool to summarize and compress text files using the OpenAI ChatGPT API.
Usage:
- Make sure you have an OpenAI API token.
- Save your API token in a file named
openai.tokenlocated in the~/.config/directory. - Install MiniPaper globally:
npm install -g minipaper - Run the script with the following command:
minipaper source.txt ratioWhere 'source.txt' is the input text file and 'ratio' is the desired compression ratio (e.g., 2 for reducing the text to half its size).
