Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alesr/oh-my-zsh-haiku-plugin
An oh my zsh plugin that prints a haiku promoting work-life balance and stress management once every 24 hours when terminal is open
https://github.com/alesr/oh-my-zsh-haiku-plugin
Last synced: about 2 months ago
JSON representation
An oh my zsh plugin that prints a haiku promoting work-life balance and stress management once every 24 hours when terminal is open
- Host: GitHub
- URL: https://github.com/alesr/oh-my-zsh-haiku-plugin
- Owner: alesr
- License: mit
- Created: 2023-03-28T12:43:55.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-29T09:05:49.000Z (almost 2 years ago)
- Last Synced: 2024-05-21T04:15:55.776Z (8 months ago)
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# haiku
Haiku (chat-gpt powered) plugin for oh-my-zsh
An Oh My Zsh plugin that prints a haiku promoting work-life balance and stress management once every 24 hours when the terminal is open
## Example
```
alesr in ~ λWork hard, play hard
Take care of yourself
Have a great life!
alesr in ~ λWork life balance,
A must for clear thoughts:
Rest and be kind.
alesr in ~ λRefreshing moments bring;
Some much needed balance, now;
Leave desk, go outside.
alesr in ~ λTake a break!
Calm your mind, your soul!
Self-care is key!
alesr in ~ λWork-life balance?
Must find a way to de-stress;
Take a break, have cake.
alesr in ~ λ
```## Requirements
- [OpenAI API key](https://platform.openai.com/account/api-keys) set in the environment variable `OPENAI_API_KEY`
- curl or wget
- jq
## Installation### Manual
Clone this repository into your oh-my-zsh custom plugins directory:
```sh
git clone https://github.com/alesr/haiku.git
```Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
```sh
plugins=(... haiku)
```````sh
source ~/.zshrc
````