I’ve been using gitingest web ui [[ thoughts-516 ]] for quite awhile to serialize git repo into llm friendly text files. This gives tools context about repos that are not in the training data so that it knows about it and how to use the code in the repo. gitingest also has a python library [[ thoughts-517 ]]
I had a use case for a project not yet on git, and found yek.
Installing yek #
Their instructions tell you to curl to bash.
curl -fsSL https://bodo.run/yek.sh | bash
I don’t like curl to bash from random sites, so I have my own self hosted version of i.jpillora.com. I like using this because it pulls from github and I trust github as a source for artifacts as good as the repo I am pulling from.
curl https://i.jpillora.com/bodo-run/yek | bash
Using yek #
yek
/tmp/yek-output/yek-output-bb01e621.txt
This will give you a link to a text file that you can add to many llm tools. This happened so fast for me that I didn’t even believe that it worked properly.
more options #
As with most clis, you can run yek --help to see the options available.
yek --help
Today I discovered brightnessctl to adjust the screen brightness on my
AwesomeWM machine. Its a command line utility that you can use to adjust the
brightness of your screen. A command line interface like this gives you the
ability to bind keys with something like [[xbindkeys]] or your window manager
configuration.
sudo apt install brightnessctl
# or
paru -S brightnessctl
Now that you have it installed you can use it to adjust the brightness of your screen, this worked particularly well for my laptop screen, I don’t think this works for monitors, in my experience they are usually controlled by the built in osd.
# Increase brightness by 10%
brightnessctl set +10%
# Decrease brightness by 10%
brightnessctl set 10%-
# Set brightness to 50%
brightnessctl set 50%
# Set brightness to 100%
brightnessctl set 100%
Note
on my machine I had to use `sudo` to run the command, otherwise I got the following error:
Can't modify brightness: Permission denied
You should run this program with root privileges.
Alternatively, get write permissions for device files.