šŸ’¾ Archived View for ploum.be ā€ŗ 2021-12-06-offline-av98.gmi captured on 2024-06-16 at 12:21:58. Gemini links have been rewritten to link to archived content

View Raw

More Information

ā¬…ļø Previous capture (2024-05-10)

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

Offline support in AV-98

2021-12-06

Iā€™m still thinking a lot about Offmini and Iā€Æfigured the best way to start was to play with offline concept. Iā€™ve then forked AV-98 to implement a quick and dirty offline mode.

https://sr.ht/~lioploum/offpunk/

When you browse gemini using AV-98, every text/gemini file is cached in ~/.cache/av-98/. You can then write "offline" and, after that point, AV-98 will only access the cached content.

This code is a quick hack and will fail miserably in a lot of case. Even when offline, AV-98 will access the network and sometimes, the content will not be cached. Itā€™s only a proof-of-concept still full of debug/print. But, you know, release often, release early, that sort of things.

My next step is to write a routine that automatically populate the cache based on the bookmarks then following links with a given depth. Iā€™m also planning to store requests done offline to populate the cache afterward.

Iā€™m preparing a personal project which is to spend 2022 without the web and mostly disconnected. Only mails + gemini, synchronised once a day. (well, of course, web is necessary so I plan to put two or three one hour slot in the week for mandatory use of the web). This is still a secret project, keep it for yourself ;-)

----

Email:

gemini24@ploum.eu

permalinks:

gemini://ploum.net/2021-12-06-offline-av98.gmi

https://ploum.net/2021-12-06-offline-av98.html