A collection of simple tools you can use as a developer to boost your productivity
- Python so that it is calleable via
python3in the terminal - jq: install via
sudo apt install jqorbrew install jqfor mac users
- Clone this repo and
cdinto it - Run
cp .env.example .envto copy the .env file - Enter your OpenAI API key or other LLM provider variables into the .env file. The LLM provider used depends on what env variables you provide.
- Run
chmod +x zshrc/setup.sh - Run
./zshrc/setup.sh
Add one of the following lines to your shell configuration file:
For Bash users (add to ~/.bashrc): source <SIMPLE_TOOLING_REPO_PATH>/bashrc/index.sh For Zsh users (add to ~/.zshrc): source <SIMPLE_TOOLING_REPO_PATH>/zshrc/index.sh where <SIMPLE_TOOLING_REPO_PATH> is the path to this repository
doit: Rundoitfollowed by an input prompt to get a shell command that does the specified action. Eg.doit list all filesshould result in your next terminal input being filled withls -a.ask: Runaskfollowed by an input to get a quick LLM explanation of your query. Eg.ask what is 1+1should result in1+1 equals 2being echoed to your terminal.- Start the input with
1to include the previous response for semi-conversation like behavior. Egask my name is Timfollowed byask 1 what is my nameshould result inYour name is Tim..
- Start the input with
push: Stages, commits and pushes all changes at current path using an LLM generated commit message, following the conventional commit standard. Will ask for approval and can be given feedback to improve commit message. Warning: does not undo staging of files if you interrupt out of it (eg using ctrl+c).diff: Summarises all unstaged file changes, including new fileshalleluja: Plays a Handel Hallelujah sound effect (if using WSL only works with Windows 11)