2024-03-23
This is my participation to @solderpunk's ugly-named OFFLIRSOCH.
As a reminder, the goal of this contest is to flag needs I fulfill online, but that could be fulfilled on my own computer as well, and write a solution for that. Ore, more extended, write a piece of software that is intended to work offline.
OFFLIRSOCH announcementThe Magnificient Contribution To Offline-First Computing would be to fork OffPunk and add a support to gwit Protocol
offpunkBut this is too much for me to do in March, so let's start small. Another thing I would like to do is a wizard to manage a gwit repo. I may begin it.
Now, looking at my needs, I can identify some tasks I do online but that could be done offline :
Let's try to find solutions !
I thought that simple bash Alias would do the job for this. But I did not manage to pipe input to aliases...
In fact, some packages already provide urlencode/urlencode commande. But I won't install them just for these two commands.
resourceI wrote two Python scripts, available on a separate repo :
https://framagit.org/matograine/urlencodeI created Aliases for these two scripts, and I can now happily do :
$ urldecode Hello+world%2C+I+saved+some+%25+keystrokes+writing+these+scripts Hello world, I saved some % keystrokes writing these scripts
So, this is small, but this is it, my contribution to OFFLIRSOCH 2024.
------------
Retour