Good first contributions

If you want to contribute to offpunk, here are a list of tasks which can probably be done with a little work but do not require to touch the whole code base.

If you are interested, please announce yourself on the offpunk-devel mailing list.

Cache Trimming (Good first-contribution - medium level)

We need work on a model that keep the cache within certain limit by removing older, unaccessed elements which are not linked to anything in lists.

This is a good first-contribution issue as the cache-trimming script should be completely independent and interact little with existing code.

You need to like playing with file systems properties.

HTML rendering (Good first-contribution - advanced level)

Better rendering of tables using ASCII tables.

This is a good first-contribution for someone interested in HTML parsing/rendering and ready to dig into ansicat. While quite complex, the issue will have little or no interaction with code outside of the HTML rendering engine of Ansicat.

You need to like handling HTML/Ascii art/ANSI codes

UTF-8 in URL:

See info on the bug tracker:

Git support in netcache

Allows netcache to have git support. That way, the git repository of ftr-site-config could be automatically downloaded and updated.

Heavy refactoring

Those tasks are hard and requires touching the code everywhere.

Refactoring of redirections is needed

bug #34: redirections are not kept while offline
https://todo.sr.ht/~lioploum/offpunk/34

Refactoring of errors is needed

bug #30: Netcache: gemini status 4 and 5 should not emit a full traceback
https://todo.sr.ht/~lioploum/offpunk/30
bug #3: Error pages are stored in the cache
https://todo.sr.ht/~lioploum/offpunk/3

Switch from python-requests to curl

Current netcache code is really slow using python-requests. It could be probably optimised greatly by using concurrent http requests and, maybe, switching to libcurl instead of requests (which would also give access to all protocols supported by libcurl)

Using etree instead of bs4

Ansicat could ditch BS4 in favour of lxml. That would allows one less dependency.

Get rid of readability and bs4

This is an heavy task but there are too many problems with readability. The idea would be to implement our own readability in unmerdify then to remove bs4 dependency by using lxml instead of bs4. Less dependencies, faster loading time, faster rendering.


Permalinks:
https://offpunk.net/tasks_pending.html
gemini://offpunk.net/tasks_pending.gmi