Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/VictorTaelin/MiniPaper
shorten long papers with GPT-4
https://github.com/VictorTaelin/MiniPaper
Last synced: 3 months ago
JSON representation
shorten long papers with GPT-4
- Host: GitHub
- URL: https://github.com/VictorTaelin/MiniPaper
- Owner: VictorTaelin
- License: mit
- Created: 2023-05-21T22:45:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-11T21:03:48.000Z (over 1 year ago)
- Last Synced: 2024-03-15T18:18:19.926Z (8 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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:```bash
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).