Personal BASH scripts for productivity
Find a file
2026-03-13 22:08:41 +01:00
.husky chore: no mirror; just push 2026-02-23 22:56:12 +01:00
.gitignore chore: add husky; add post-commit auto mirror to gh & sh 2026-02-22 19:23:41 +01:00
ai-coder.sh feat(ai): do not release vram immediately after run 2025-10-10 21:07:14 +02:00
ai-translate.sh feat(ai): do not release vram immediately after run 2025-10-10 21:07:14 +02:00
ai.sh feat(ai): add edit command 2026-03-07 11:27:09 +01:00
ayo.sh feat: add catch-all & report command not found 2025-12-25 14:14:58 +01:00
cozy.sh feat: new cozy script; add comment on ollama_remote_host 2025-08-26 11:28:11 +02:00
display.sh feat(display): update display settings 2026-03-13 22:08:41 +01:00
example.conf feat: update example config 2026-03-12 12:53:52 +01:00
expose-ollama.md feat: update expose-ollama instructions 2026-03-04 19:15:08 +01:00
functions.sh feat: bold markup; echo usage for default mail script 2025-07-09 12:40:43 +02:00
git.sh feat(git): if args is empty, set to dot "." 2025-09-22 10:36:19 +02:00
journal.sh feat(journal): quiet typora execution 2025-11-03 16:10:10 +01:00
mail.sh feat: bold markup; echo usage for default mail script 2025-07-09 12:40:43 +02:00
notes.sh feat(notes): exit 1 w/ failues; wrap args in quotes to handle spaces 2025-08-24 10:35:52 +02:00
ollama-install.sh feat(ai): add modified ollama install script 2025-08-26 19:36:59 +02:00
package.json chore: set npm package as private 2026-03-09 16:05:57 +01:00
pnpm-lock.yaml chore: add husky; add post-commit auto mirror to gh & sh 2026-02-22 19:23:41 +01:00
README.md chore: update readme; remove duplicated setup section 2026-03-04 14:27:02 +01:00
tasks.sh feat(tasks): select project to remove 2025-06-24 01:40:39 +02:00
tts.sh feat(tts): initial tts script (WIP) 2025-09-17 10:59:10 +02:00
up.sh feat(up): implement skip_flatpak 2025-10-19 17:48:13 +02:00

Ayo's Scripts

Personal BASH scripts for productivity

Setup

1. Clone repo

# By default this should be inside ~/Projects/ directory
# otherwise, you have to update the config in the next step
$ git clone git@git.sr.ht:~ayoayco/scripts
$ cd scripts

2. Copy config (and update values as needed!)

$ cp example.conf ~/ayo.conf

3. Install some dependencies

  1. Typora - used as an alternative editor for notes (using flag -t)
  2. timeout - install on mac via coreutils: brew install coreutils
  3. ollama - running a locall LLM via ollama. See installation on linux

4. update your .bashrc to add an alias for the parent command scripts/ayo.sh

Examples

To ask the AI a question

ayo ai "Why is the sky blue?"

I also set a shortcut alias to ayo with yo because I'm lazy

yo ai "But why is the sky orange on sunrise / sunset?"

If I want to use the journal script, I can use the shortcut j. The following will create a new file for the current day if it doesn't exist yet, otherwise it open an editor to the existing entry

yo j

Features

  1. Create journal entry for the day, or edit if it already exists
  2. Access ollama LLM with ease
  3. Operating System stuff like, update packages, adjust display to some preferences, etc.

Scripts

  1. ayo - parent command, lists all available scripts or accepts parameters
  2. journal (j) - creates a new journal entry if it doesnt exist yet; opens on editor
  3. append (ja) - append one thought at the end of the day's entry
  4. notes - notes management
  5. git (g) - args can be list of files to commit & push
  6. stat (gs) - git status
  7. push (gp) - git push

Planned

  1. blog - tools for blogging (eg, bn - generate blog from a note)
  2. config - create configuration for variables (eg, editor, locations)

Just keep scripting. :) A project by Ayo