~lioploum/offpunk-users

Offpunk 2.6 released

Details
Message ID
<174039965872.7.15689939068891122335.612749415@ploum.eu>
Sender timestamp
1740399654
DKIM signature
pass
Download raw message
Hello,

I’m pleased to announce the unexpected release of Offpunk 2.6.

Unexpected because I was planning to work on Offpunk 3.0 but many 
changes made this release necessary.

Offpunk 2.6 comes with some important internal changes so please report 
bugs.

Amongst those changes:
- Non-rendered items (pdf,epub,movies,…) are not opened by default. User 
   should type "open" to open them.
- Vastly improved rendering for plaintext (.txt) and asciiart
- opnk is now really useful as it will read handlers in offpunkrc
- handler command now work with file extension. Like in "handler odt 
   lowriter"
- "feed" will replace "view feed"

By the way, I plan to rename "opnk" to "openk" in the 3.0 release, to 
make its use more obvious. As always, feedback is welcome.

version 2.6 - February 24th 2025

FOR PACKAGERS: dependency to python-pil (or pillow) has been dropped
- NEW BEHAVIOUR: not rendered ressources (like PDF) are not opened automatically.
The user is prompted to type "open" to see the ressource. This allows the ressource
to be part of history, be bookmarked, etc…
Offpunk:
- new "--command" command-line argument to immediately launch one or multiple commands
- "add" now accepts link number as a second argument (suggested by JMCS)
- "url" now accepts link number as an argument (suggested by JMCS)
- "url" can be piped to any shell command: "url|" or "url 121|" (suggestion of Stephen)
Ansicat and rendering:
- new "preformat_wrap" option available to wrap even <pre>
- PlainText rendering has been vastly improved with wrap, margin and link detection
- fix wrong wraping in gophermap (patch by JMCS)
Opnk and opening files:
note: "opnk" will be renamed "openk" in 3.0
- "opnk" now supports following link like in "opnk $URL XX" where XX is a link number.
- "opnk" is now reading the offpunrc file to use predefined handlers
- "handler" with now automatically add "%s" at the end of the command if not present
- "handler" now supports file exension or full mimetype
Deprecation and removal:
- removed support for chafa < 1.10, as announced in 2.4. python-pil is not used anymore. 
- removed the "cat" command as it has no purpose (you can use "!cat" instead) and there was a potential crash (reported by Stephen)
- new "feed" command to replace the "view feed" (which is deprecated)


-- 
Ploum - Lionel Dricot

Blog: https://www.ploum.net
Bikepunk: https://bikepunk.fr/
Reply to thread Export thread (mbox)