Weekly Brain Dump #23
At a Glance
- Fzap My FZF shenanigans continue
- RFuseFS I wrote a filesystem in Ruby
- Interesting Links Cool things I found this week
- Comments
FZap
My FZF fixation and desire to building tooling around it has culminated in a pretty nifty project that’s in the early stages. I was inspired by Sunbeam to create a configurable CLI launcher of sorts. I decided to do this instead of building on top of Sunbeam as I wanted something that felt a little more maintained. If I’m going to use a tool maintained by one person, that person will be me!
Enter FZap!
A terminal with tmux. I look at two YAML files, the first shows some scripting to start my work projects, the second shows scripting to start my personal projects.
I then show that fzap is only 1.4MB and launch it. I show the two commands I've implemented and select to launch a personal project. I'm then presented with a list of projects and I filter down to blog. The video ends without me launching the project.
If you’ve been following my blog for a while, you’ll recognise the
switch-projects script I built on top of FZF. This time though it’s been
implemented via FZap.
I’ve been really enjoying hacking on this project to get a prototype and I’m now working on refining it and implementing it properly. I’m building it with Crystal to make it an easy to distribute binary for Linux and OSX at least.
RFuseFS
The RFuseFS gem has been keeping me busy the past couple of days. I know it’s deprecated but I’m still having a blast and am not building anything serious with it. This is part of my “Build things just for fun” mantra I’ve been using to make personal programming fun again.
I’ve been using my Poros gem to create a little filesystem for tagging things. I’ve got a Sinatra script that lets me look at the files and assign them tags. Then when I explore them via the filesystem they are in a hierarchy and can be navigated.
For instance, if you had the following files:
vacation_picture.png
- vacation
- selfie
haircut.png
- selfie
bunnies.png
- bunnies
You would see them in the filesystem like:
bunnies/bunnies.png
selfie/haircut.png
selfie/vacation_picture.png
selfie/vacation/vacation_picture.png
vacation/vacation_picture.png
vacation/selfie/vacation_picture.png
It’s surprisingly powerful to be able to do an and query by just navigating
folders. Also, I found that only listing folders that actually have results made
it significantly more useful. That’s why there’s no bunnies/ folder in selfie/
or vacation/ but selfie/ has a nested vacation/ and vice versa.
I don’t know if I’ll ever bother releasing this, it’s just a fun solo project but maybe I will as I think it’s a neat thing even if it’s built on some deprecated libraries.
Interesting Links
Coding on Paper: I love e-ink and am excited to see these monitors even if they’re too expensive for me.
Discourse Will Never Block You From the Web: It’s really nice to see people fighting for an open web.
What happened when one game writer tried making a game in 30 days with Godot: A fun read, I should try out the game. I’m impressed they made something so nice in 30 days.
You think you’ve seen it all and then there’s a Wayland Compositor inside Minecraft on Linux: This is the crazy sort of nonsense I live for.