posted on Fri, Mar 11 '22 under tags: foss, code

Tiny personal programs are tiny programs that you build for yourself for various reasons. This is a list of my tiny personal programs

Long long time ago, when I used to use Windows, I had a tiny music player I loved - Billy. It was part of a set of tiny apps called Sheep Friends. Tiny apps that does one thing and one thing well had a distinct lure on me. No wonder I became a fan of Linux family operating systems soon afterwards, huh?

I just saw Julia Evans’ post about the tiny programs she wrote. Maybe I should write about my tiny programs as well.

Mailman Admin

I am the moderator of a high-volume spam receiving mailing list that runs on mailman 2. Whenever there is a pending message (read: spam) mailman sends me an email notification with a link. I would then have to click on that, then autofill a password, login, click a button that says all pending emails have to be discarded, and then click submit. In total, around 5 clicks. I was so tired of this that I wrote a very simple Android app that can do this in two taps (one to open the app, one to discard mails).

Along the way, I learnt some jetpack compose too. So it was double the fun.

Source code

Blogger navigate extension

It’s an obsession that I have that when I see a new blog I want to read all the posts on it from start to finish. Many long-running blogs like these are on blogger. And the navigation between blog posts is sometimes cumbersome. So I built a tiny firefox extension that adds a “next post” button in the URL bar called Blogger Navigate.

Blog to eBook converter

Recently, I found an even better solution to the above problem. Convert the whole blog to an ebook and read it with an ebook reader. For this I had to write a whole tiny software in nodejs. Read what I wrote about it on twitter:

Porn Unban

I have a love-hate relationship with porn. There are times when I’m obsessed and there are times when I’m a fapstronaut who considers porn sites as exploitative and unethical. Anyhow, when government banned many porn sites, I had to act (remember the Zero Internet add-on that was built in response to Free Basics? Like that). Also because when links stop working in the middle of, cough you know what, it is kind of frustrating. So I found various mirrors of porn sites and built an extension that automatically redirects URLs to these mirrors. At its peak it had two known users. It even has a nice logo. Link.

This came in handy some months later when I was trying to browse r/soccer and all the streamable links were blocked in India.

Chekkans Web

Ok, this is an ASCII-unicode encoding converter which has only one known user - Hrishikesh. It works exactly like every other converter, except for one thing - the map it uses to convert fonts is editable right below the interface and therefore it is easy to quickly fix things. Here is it.

Google Direct

There was a time when you could download a lot of books, movies, etc from Google using a clever little search trick. I built a tiny site that automatically added those search operators.

Node Simple Newsletter

This is a tiny newsletter software that takes a csv file and a pug template to send emails. I have written about it earlier. It is on npm. It is what I use to send my newsletters. (Of course, I haven’t sent a newsletter in the last hundred years.)

Beat Clock

Maye I should talk about failures too. If you are a nerd, you heard about Swatch Internet Time when trying to bring discipline in to your life by following a different time system altogether. I wanted an android home screen widget to show swatch time. So I learnt some Android programming while building this widget. It is on play store and all but there is no way at all to run a clock widget with custom code on Android. Every damn widget internally uses the TextClock in-built view and that of course doesn’t support beat time.

Going by the reviews on play store, a few people have tried using this even. And one can deduce based on what rating each person gives whether they review apps immediately after installing or only after testing it for a few days. Because this widget stops working after 15 minutes of installation (killed by Android).

Hourly Chime

This gets a lot of people who sit next to me confused. My computer blurts out the time every hour. And it is a simple systemd timer and service. The grandmother voice is so unnatural and confusing for first time listeners.

Addon Distributor

If you clicked on the firefox extension links above you’ll notice that they are not hosted on Mozilla Addons service. That’s because I broke up with them because of an editorial decision (over Porn Unban). For poetic justice, I learnt Rust (Mozilla’s home-grown language) while building a tiny script that makes it easy to self-publish addons. That’s addon distributor. It is available on crates.io.


What are some of your tiny programs? Write a blog post and share with me.

Here are some other tiny personal programs:

Like what you are reading? Subscribe (by RSS, email, twitter, or telegram)!