šŸ’¾ Archived View for rawtext.club ā€ŗ ~ploum ā€ŗ 2021-11-19-offlinetools.gmi captured on 2022-07-16 at 14:30:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

ā¬…ļø Previous capture (2021-11-30)

-=-=-=-=-=-=-

Start:ing my offline-toolsā€¦

Introducing my do_the_internet.sh

Found on Gemini, Iā€Æadopted the do_the_internet.sh idea. A simple script that would do everythnig I need to do online then allow me to disconnect myself.

After reading an unrelated post about "scripts that do nothing", Iā€Æstarted my own do_the_inthernet by simply writing a list of stuff Iā€Æneeded to do. This was a plain markdown file, not even a real bash script. At each part, I would note the real command to be passed, as a reminder.

A few days ago, I decided to switch from Mbsync to offlineimap. And, suddenly, all my syncing email problems disappeared. Instead of debugging an ever changing config file, to try to understand why some folder had stopped to sync, stuff just did work. Thanks offlineimap.

So, yesterday, Iā€Æwondered if Iā€Æcould quickly turn my do_the_internet in a real bash script. It took a bit more time than expected, as you could guess, but was quickly functionnal. Iā€Æeven started to happen stuff on it.

Today, I commited it in a git repository:

https://github.com/ploum/offlinetools

The power of interfaces

When I switched from flus.io (a great online RSS reader) to newsboat, something happened. Suddenly, I didnā€™t feel the need to check RSS several time a day. Online, a flus.io tab was nearly always opened in my browser. And, if there was something new, Iā€Æfelt the urge to read it quickly. With newsboat, Iā€Ædonā€™t feel the same urge. My script tells me that there are some stuff to read and it can wait.

Same happens with emails. Today, when testing my script, Iā€Æreceived one email in my inbox and one in my News folder (for newsletter and saveforlater). Just seeing the titles was enough to realize that I didnā€™t care to handle those email right now. Iā€Æfelt in control.

Reading and writing emails

Iā€™m still looking for a good workflow to read, archive and send emails on the command line. I can easily send a markdown file as an email but thatā€™s not always adapted. Iā€Æwould like to read the "news" folder more like RSS, opening urls (well, saving them to urls.txt which is then sent to forlater.email) and archiving with a shortcut.

Himalaya could be a good candidate to play around as soon as it receive Maildir support. Iā€™m also hoping it will soon be packaged in Debian or in a repository (I do really sucks at packaging).

https://github.com/soywod/himalaya

Gemini

Last but not least, you may realise that something is missing from that script: Gemini! Indeed, Iā€™m still scratching my head about that. I would like something like an RSS reader to get my favourite capsules and allow to read them offline. Ideally, if Iā€Æfollow a link which is not there, it should sync for the next time. Something like the AV-98 tour but offline.

I like AV-98, by the way. But I use Lagrange to subscribe to feed. Once again, I feel in control in AV-98 while, in Lagrange, Iā€Æfeel like Iā€™m compelled to click, to read. Nothing beats the wonderful "end of tour" message in AV-98.