https://github.com/molnia1311/deep-thought
the ultimate answer to any text you feed it
https://github.com/molnia1311/deep-thought
argv container openai python stdin summary
Last synced: about 1 month ago
JSON representation
the ultimate answer to any text you feed it
- Host: GitHub
- URL: https://github.com/molnia1311/deep-thought
- Owner: molnia1311
- License: agpl-3.0
- Created: 2025-07-07T22:19:27.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-08T00:41:18.000Z (12 months ago)
- Last Synced: 2025-07-08T02:35:41.929Z (12 months ago)
- Topics: argv, container, openai, python, stdin, summary
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deep Thought
Turn any text into a one-line summary using OpenAI.
---
## Quick start
```bash
docker run -i --rm \
-e OPENAI_API_KEY=sk-... \
ghcr.io/molnia1311/deep-thought "Long text to summarise"
```
Feed input via **args** or **stdin**; the summary prints to stdout.
### Config
| Env var | Default | Purpose |
| ---------------------- | ---------------- | ----------------------------- |
| `OPENAI_MODEL` | `gpt-4o-mini` | Model to call |
| `OPENAI_SYSTEM_PROMPT` | one-line summary | Customize the prompt |
### Build locally
```bash
docker build -t deep-thought .
```