https://github.com/syeo66/iambored
A GPT powered command line tool to suggest things to do when you are bored
https://github.com/syeo66/iambored
activities anthropic chatgpt claude-3 openai recommendation
Last synced: 8 months ago
JSON representation
A GPT powered command line tool to suggest things to do when you are bored
- Host: GitHub
- URL: https://github.com/syeo66/iambored
- Owner: syeo66
- License: mit
- Created: 2023-03-19T07:27:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-23T11:40:56.000Z (over 1 year ago)
- Last Synced: 2025-02-16T01:03:29.594Z (8 months ago)
- Topics: activities, anthropic, chatgpt, claude-3, openai, recommendation
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@redochsenbein/iambored
- Size: 233 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iambored
A command line tool using ChatGPT to suggest things to do when you're bored.
## Setup
1. Install iambored globally to use in any repository:
```sh
npm install -g @redochsenbein/iambored
```
### OpenAI
2. Get your API key from [OpenAI](https://platform.openai.com/account/api-keys).
3. Set the key to configuration file at `~/.iambored`:
```ini
OPENAI_API_KEY=
```
### Anthropic Claude 3
2. Get your API key from [Anthropic](https://console.anthropic.com/settings/keys).
3. Set the key to configuration file at `~/.iambored`:
```ini
ANTHROPIC_API_KEY=
```
### Gemini (Not yet supported)
2. Get your API key from [Google AI Studio](https://aistudio.google.com/app/apikey). Unfortunately this does not seem to be available in Switzerland so I can't currently work on this.
3. Set the key to configuration file at `~/.iambored`:
```ini
GOOGLE_AI_API_KEY=
```
## Usage
You can call iambored directly to get one activity suggestion.
```bash
$ iambored
Write a script which uses GPT to suggest things to do.
```
Take a look at the optional `minutes` and `hours` flags:
```bash
Flags:
-h, --help Show help
--hours How many hours do I have to spare?
--minutes How many minutes do I have to spare?
--model Which model to use? "gpt3", "gpt4", "anthropic" or
"gemini" (default: "anthropic")
--version Show version
```
## Acknowledgement
* Uses the activity list of https://github.com/drewthoennes/Bored-API to create prompts.