Skip to content

shrimple 🇵🇱 🏳️‍⚧️

shrimple mind. shrimple problems. complex solutions. she/her

Category: Wild Software Writing

Links 2, a graphical browser I wanna build upon. And a quick look at how ELinks is doing.

Posted on February[²⁰26], Sunday 15.February[²⁰26], Monday 16. By Shrimple 8 Comments on Links 2, a graphical browser I wanna build upon. And a quick look at how ELinks is doing.

We all know the three: Lynx, Links 2, ELinks. And w3m, the thing that pioneered inline images. Of these, Links is also among Dillo and NetSurf as a graphical browser —

Unlike its Links pre-1 fork, ELinks, which never chose to follow the upstream on that one;

Nowadays, elinks.cz web site is defunct for a month now — but exclusively on GitHub, the community remains active. Once a fork, rkd77’s ELinks, once (until 2020) having to call itself felinks, is now the continuation. The INSTALL mentions Alternatively, instead of Meson: ./configure &&… …There is no ./configure.

Read More “Links 2, a graphical browser I wanna build upon. And a quick look at how ELinks is doing.” »

Wild Software Writing

Simplistic reconciliation of mostly-append text files like Offpunk lists: draft involving Kahn’s algorithm

Posted on February[²⁰26], Monday 09. By Shrimple No Comments on Simplistic reconciliation of mostly-append text files like Offpunk lists: draft involving Kahn’s algorithm

I have been thinking about managing my Offpunk list files that I might be modifying on either, or both, my netbook and some main laptop. Since this is mostly about new parts that might have gotten added, I didn’t want to introduce some full-blown version control to this. Instead, I figured that I could start ensuring the files end with a time-specific marker when was the file last appended before sync that would also be useful to the human…

Read More “Simplistic reconciliation of mostly-append text files like Offpunk lists: draft involving Kahn’s algorithm” »

Wild Software Writing

Distributed file version management in 15 minutes of Bash

Posted on February[²⁰26], Tuesday 03.February[²⁰26], Saturday 07. By Shrimple No Comments on Distributed file version management in 15 minutes of Bash

You don’t always need to have all the tools at your disposal, but you may want to have some way of checking in your file edits. CVS is too powerful and has a lot of unnecessary parts, while not being distributed. You may not need to keep everything in deltas. So why not just write…

Read More “Distributed file version management in 15 minutes of Bash” »

Wild Software Writing

Subscription into list rather than tour — Offpunk draft feature patch

Posted on January[²⁰26], Thursday 29.January[²⁰26], Friday 30. By Shrimple 2 Comments on Subscription into list rather than tour — Offpunk draft feature patch

Offpunk has a feature where any updated links from a subscribed list will be added to tour on sync. I expanded on that feature by making it possible to parameterize #subscribe with a list name like #subscribe(some_list_name) to the result of the links getting added to that list, with just the one link to that list getting added to tour.

Read More “Subscription into list rather than tour — Offpunk draft feature patch” »

Wild Software Writing

Slash-hierarchical list names — my draft implementation for Offpunk

Posted on January[²⁰26], Thursday 29.January[²⁰26], Friday 30. By Shrimple 2 Comments on Slash-hierarchical list names — my draft implementation for Offpunk

More draft patches for Offpunk from me that I haven’t particularly tested much yet.

Offpunk has no support for slash-containing list names — it just crashes on an attempt, because the names are neither supported by creating directories nor sanitized to not contain slashes. I wrote a patch for that. And another to make the all lists view, and other logic involving iterating through all lists like subscriptions and syncs, traverse them all, flatly for now.

Read More “Slash-hierarchical list names — my draft implementation for Offpunk” »

Wild Software Writing

Bugfix for list URI for my Offpunk redirections implementation draft

Posted on January[²⁰26], Thursday 29.January[²⁰26], Friday 30. By Shrimple 1 Comment on Bugfix for list URI for my Offpunk redirections implementation draft

On top of Amending my Offpunk redirection implementation, I have now fixed the issue where list:/// would get turned into list:/ URIs when there would be a redirection rule for just a wildcard netloc, such as one that for any URL purges the utm_source tracking query parameter. That was resulting in user’s inability to list any list.

I have introduced an exception that requires redirections to be explicitly applicable only to list: URIs in case of list URIs.

Read More “Bugfix for list URI for my Offpunk redirections implementation draft” »

Wild Software Writing

Amending my Offpunk redirection implementation

Posted on January[²⁰26], Sunday 25.January[²⁰26], Thursday 29. By Shrimple 2 Comments on Amending my Offpunk redirection implementation

As it turned out the next afternoon, my code was buggy.

This is a sequel to the post Experimentally expanding Offpunk browser Part 1 (nightly) from yesterday.

The blocked domains were saving as redirection with destination URL interpreted as //BLOCK/, deleting redirections was broken because of the same CLI parsing issue, and it was still only possible to have one rule for one domain glob, no matter how specific through the criterions.

The only reason why -silent was working for them was because of this.

I am now hashing the entire criterion into the dict, and for that I had to add frozendict dependency to the project because good to write words sometimes, because I just turned that into a tuple.

More bugs found: especially that I didn’t really apply the specificity of the rules to BLOCK rules, and they were always acting on the netloc regardless. Now lemme just drop you the patches right below. First is a tiny patch for more predictable behavior of fragment templating, then the big one.

Update: I posted another bugfix post to this draft implementation of mine, see Bugfix for list URI for my Offpunk redirections implementation draft

Note: this post publishes the patches, but doesn’t diff any code nicely. These patch files are not exactly made for directly reading except for the commit message of the longer one, which I will maybe paste here too:

Read More “Amending my Offpunk redirection implementation” »

Wild Software Writing

Experimentally expanding Offpunk browser Part 1 (nightly)

Posted on January[²⁰26], Sunday 25.January[²⁰26], Thursday 29. By Shrimple 2 Comments on Experimentally expanding Offpunk browser Part 1 (nightly)

https://offpunk.net ← that’s the original project that this might get upstreamed to in some parts


Note: since publication I have found numerous bugs in my implementation. Rewrites upcoming. I just can’t work silently without at least a blog post every day.

Update: now please apply the subsequent patches before trying out anything. The code here below was bad.
Here is the new post: Amending my Offpunk redirection implementation


What does my large patch bring? (a post-publish added summary)

So far, Offpunk only allows you to redirect from one netloc (usually host or host:port) to another. At that, it won’t match if the origin netloc had an explicit port number specified. I wanted a redirections engine that would allow me to redirect to a different port, on a different host, under a path and with some suffix — like .json.

I also wanted to eliminate the hardcoded redirects and domain blocks and put them into a user’s rc file. But that required adding them to user’s rc. I didn’t want to alter a user’s existing offpunkrc, so I came up with the idea to create a pre-rc for the user (later, only such that would already have their rc, as new users can just get the actual rc pre-filled and only get a pre-rc created if new defaults come from upstream).

Read More “Experimentally expanding Offpunk browser Part 1 (nightly)” »

Wild Software Writing

Atom feed for this page

Atom feed for this blog

against-messy-software bash big.ugly.git.patch. chromium-and-derivatives community fragment golang kde links2 linux microsoft-edge network offpunk offpunk:lists offpunk:redirections oss-contributing perl programming-tips scripting smolweb subscribe superuser window-decorations Wordpress_ActivityPub_plugin

  • February 2026 (4)
  • January 2026 (10)

Categories

  • Influencing Society

    (1)
  • Meta

    (2)
  • Oddities of alternate reality

    (1)
  • Programming Technologies

    (1)
  • Software Imposed On Us

    (1)
  • Wild Software Writing

    (8)
shrimple 🇵🇱  🏳️‍⚧️
shrimple 🇵🇱 🏳️‍⚧️
@shrimple@www.shrimple.pl
Follow

shrimple mind. shrimple problems. complex solutions. she/her

14 posts
5 followers

Follow shrimple 🇵🇱 🏳️‍⚧️

My Profile

Copy and paste my profile into the search field of your favorite fediverse app or server.

Your Profile

Or, if you know your own profile, we can start things that way!
  • Hello world! Meta
  • Simplistic reconciliation of mostly-append text files like Offpunk lists: draft involving Kahn’s algorithm Wild Software Writing
  • Forcing KWin decorations and MS Edge’s 1cm shadow gradient Software Imposed On Us
  • Why follow requests here and can I even be followed Meta
  • when DMI info like Serial not in hostnamectl output Oddities of alternate reality
  • Slash-hierarchical list names — my draft implementation for Offpunk Wild Software Writing
  • Getting TLS1.3 Key Log from Go application with requests by a library, and using it in Wireshark Programming Technologies
  • Links 2, a graphical browser I wanna build upon. And a quick look at how ELinks is doing. Wild Software Writing

shrimple@shrimple.pl

Copyright © 2026 shrimple 🇵🇱 🏳️‍⚧️.

Powered by PressBook News WordPress theme