~ivilata

~ivilata/gwit-spec

Last active a month ago
View more

Recent activity

Re: Using the git log as a feed ? a month ago

From Ivan Vilata i Balaguer to ~ivilata/gwit-spec

Hi matograine, again thanks for the proposal and sorry for the delay.

matograine (2024-10-01 21:07:16 +0200) wrote:

> […] I have been updating my gwit site some times. Some of these updates were
> meaningful, ex. adding a new post. Other were just fixing typos, which
> should not appear in a feed, because who cares.
> 
> I suggest an optional spec for the git commit message.
> 
> - The first line is the title of the commit
> - following lines MAY describe the content of the commit
> - meaningful changes MAY be written in the commit message, with the same
> syntax as gemtext links. In that case, the path MUST be relative to the site

Re: URL retrieval/transmission a month ago

From Ivan Vilata i Balaguer to ~ivilata/gwit-spec

Hi matograine, thanks for proposal and sorry for the delay.  More below.

matograine (2024-10-01 20:37:51 +0200) wrote:

> […] I have needed to share the link of a post on my gwit site.
> 
> The spec defines how to compose/follow a link in the context of a qwit site
> (through well-known site), but not outside a gwit site (ex. sharing by
> email, http, ect.).
> 

Actually the Well-Known URI is rather intended for discovering whether a site
that you're already accessing by other means (HTTP) is also available via
gwit.  The most similar thing currently supported for sharing the link as you

Re: Format for fingerprint and remotes 9 months ago

From Ivan Vilata i Balaguer to ~ivilata/gwit-spec

Salut Matograine !

Thank you very much for your interest in gwit.  You're the first one to post
to the gwit-spec list, cool!  I'm curious to know how you became acknowledged
with gwit, if you don't mind saying. 🙂

I had a look at your site, it's a very nice initiative!  You may be interested
in [The Oldest gwit Site][TOgS] (ID 408198c2c363076c6b1eabe797ea3168a78cd65a)
(also <https://oldest.gwit.site/>) as a site example.  Now your site is
probably The Second Oldest gwit Site! 😁

[TOgS]: https://git.sr.ht/~ivilata/oldest-gwit-site

More comments inline…

Re: Launching shell commands from python 1 year, 5 months ago

From Ivan Vilata i Balaguer to ~lioploum/offpunk-devel

Ploum (2023-06-07 20:39:02 +0000) wrote:

> I’ve found this very interesting article about how to use command-line 
> tool from within a python script.
> 
> https://martinheinz.dev/blog/98
> 
> The recommended approach is to use the "sh" python module, something I 
> didn’t know. […]

Umm, the article has interesting references and `sh` looks handy, but I
wouldn't say that it's the "right" way of running shell commands, as the
article author puts it.  It does provide some syntactic sugar and execution
logging (I don't know how context managers like `sudo` affect the other

Re: Cache format specification 1 year, 5 months ago

From Ivan Vilata i Balaguer to ~lioploum/offpunk-devel

Sotiris Papatheodorou (2023-01-20 16:27:34 +0200) wrote:

> I'm looking into implementing an offpunk-compatible page cache for my Gemini
> client for old Kindles and paid some more attention to the offpunk cache
> format. From my understanding the current cache paths look like this:
> 
> <scheme>/<hostname>/<path split on slashes>/<query split on slashes>
> 
> i.e. gemini://kennedy.gemi.dev:1966/search?foo/bar becomes
> gemini/kennedy.gemi.dev/search/foo/bar
> 
> […] A first proposal, assuming a UNIX-like filesystem where all characters apart
> from slash (/) and null (0x00) are allowed in filenames (this is a big
> assumption, ignores shell meta-characters, won't work on Windows etc.):