VictorTaelin / MiniPaper

shorten long papers with GPT-4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MiniPaper

A tool to summarize and compress text files using the OpenAI ChatGPT API.

Usage:

  1. Make sure you have an OpenAI API token.
  2. Save your API token in a file named openai.token located in the ~/.config/ directory.
  3. Install MiniPaper globally: npm install -g minipaper
  4. Run the script with the following command:
minipaper source.txt ratio

Where '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).

About

shorten long papers with GPT-4

License:MIT License


Languages

Language:JavaScript 100.0%