| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Gary is a Haskell-based AI assistant that runs in your terminal. It uses OpenAI's GPT-4.1 model to respond to your queries and can execute shell commands on your behalf. Think of Gary as your helpful intern who's surprisingly efficient and weirdly fast.
Clone this repository:
git clone https://github.com/yourusername/gary.git cd gary
Build the project using Stack:
stack build
Before running Gary, you need to set your OpenAI API key as an environment variable:
export OPENAI_KEY=your_openai_api_key_hereYou can add this to your shell profile file (.bashrc, .zshrc, etc.) to make it persistent.
Run Gary using Stack:
stack runThis will start an interactive session where you can chat with Gary. The prompt will show your current directory:
🛠️ gary>
Type your questions or commands and press Enter. Gary will respond and can execute shell commands when asked.
Ask Gary for information:
🛠️ gary> What's the current time?
Ask Gary to run a command:
🛠️ gary> List all files in the current directory
Ask Gary to help with a task:
🛠️ gary> Create a simple "Hello World" Haskell program
This project uses Stack for building and dependency management. Some useful Stack commands:
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
| Back | FazBrowse Home | New Git URL |