💾 Archived View for gemi.dev › gemini-mailing-list › 000545.gmi captured on 2023-11-04 at 12:55:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-12-28)

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

[ANN] Sophon, a wiki protocol and implementation

Frederick Yin <fkfd (a) macaw.me>

Hi List,

I have been developing a new wiki protocol for Gemini over the past few
weeks and core, basic functions are finally implemented. On the
protocol's eponymous implementation, a user can do the following:



(that't it)

The core concepts are that, a wiki page must following an order of some
kind and must not be in a state of anarchy. For example, section levels
only go as deep as Gemini header levels go (2nd- and 3rd-level for
sections and subsections), and that the contents of a page is editable
through a diff algorithm that generates and parses a unidiff-like
string (in this implementation, diff-match-patch:
https://github.com/google/diff-match-patch/).

Sophon also copied a few characteristics from MediaWiki in that a "meta"
section can be present before a ToC. Other features will be introduced
later.

The git repository is https://git.sr.ht/~fkfd/sophon

You can try it out by running test/demo_client.py in the repo, with flag
"-s gemini://fkfd.me". (Availability is temporary.)

This is my first project in Go, so please point out if any of my
practices are not recommended. However, in that case, it is preferred
that you use the project's mailing list, ~fkfd/gemini at lists.sr.ht.

Thank you for your attention, have a good day.
~fkfd

Link to individual message.

---

Previous Thread: Introducing list "topics"

Next Thread: [tech] Mail client as Gemini browser?