Posts tagged fafi

Follow "fafi" posts with Atom or RSS.

Implementing bookmarks for Fafi Browser

This is a quick sneak peek video on some new features I’m building for Fafi 0.10.

  • Preferences
  • Bookmarks

Fafi is primarily a gemini browser but it knows a trick or two regarding other protocols and file formats :cat:

The bookmarks system is quite cute. It uses a hash table to hold the bookmarks. The keys are the URLs which are duplicated in the value as well. I set it like that because it makes it easier to update a bookmark than if it was a list and I had to iterate over it to find which record I needed to update.