Skip to content

syeo66/iambored

Repository files navigation

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:

    npm install -g @redochsenbein/iambored

OpenAI

  1. Get your API key from OpenAI.

  2. Set the key to configuration file at ~/.iambored:

    OPENAI_API_KEY=<your_api_key>

Anthropic Claude 3

  1. Get your API key from Anthropic.

  2. Set the key to configuration file at ~/.iambored:

    ANTHROPIC_API_KEY=<your_api_key>

Gemini (Not yet supported)

  1. Get your API key from Google AI Studio. Unfortunately this does not seem to be available in Switzerland so I can't currently work on this.

  2. Set the key to configuration file at ~/.iambored:

    GOOGLE_AI_API_KEY=<your_api_key>

Usage

You can call iambored directly to get one activity suggestion.

$ iambored 
Write a script which uses GPT to suggest things to do.

Take a look at the optional minutes and hours flags:

Flags:
  -h, --help                    Show help                                                 
      --hours <number>          How many hours do I have to spare?                        
      --minutes <number>        How many minutes do I have to spare?                      
      --model <value>           Which model to use? "gpt3", "gpt4", "anthropic" or        
                                "gemini" (default: "anthropic")                           
      --version                 Show version

Acknowledgement