LogGit_docs/Archive/Degauss_gwit.html
2024-02-12 22:45:01 -06:00

67 lines
6.2 KiB
HTML

<h1>gwit</h1>
<p>archived: 2-12-2024 from https://sr.ht/~ivilata/gwit/</p>
<p>gwit is a minimalist system for a Web of replicated, host-neutral, lightweight sites backed by Git.</p>
<p>- gwit project home</p>
<p>Drawing inspiration from an article by Solderpunk (creator of the Gemini protocol), gwit tries to be way more simple, lightweight and future-proof than other "decentralized Web" efforts. For that, it relies on the mature and ubiquitous Git distributed VCS and its support of PGP signatures; minimal additions turn Git repositories into hyperlinked sites.</p>
<p>- Low budget P2P content distribution with git (Solderpunk); Web version</p>
<p>- Git</p>
<p>Features and usage:</p>
<p>- **Fit for lightweight sites:** personal blogs, books and documentation, reference works (like Wikipedia), and other text-centric, static but frequently updated sites.</p>
<p>- **Obstacle-less site creation:** no need to pay for a domain, certificate or server, just create a new PGP key for the site repo.</p>
<p>- **Opportunistic hosting:** make any gwit site available online by hosting its repo on Git forges or dumb HTTP servers (one or many, all at once).</p>
<p>- **Content replication and availability:** readers clone the whole site (with history), clones can be re-published and used safely by others, forever.</p>
<p>- **Enhance existing Web or Gemini sites:** make the static site also available from arbitrary locations via gwit, and accessible in the future. Plays well with static site generators.</p>
<p>- **Offline- and privacy-friendly:** cloned sites are browsed locally, no network needed.</p>
<p>- **Poor connectivity scenarios:** sites can be cloned or updated from offline media (sneakernet, Kiwix).</p>
<p>- **Collaborative content creation:** enabled by Git itself (with one per-site curator).</p>
<p>To publish a Git repo as a gwit site, just create a dedicated PGP key to identify the site in gwit URIs, tell Git to sign repo commits with that key, and publish the repo in any number of public locations. No specific software is needed. To make an existing Web/Gemini static site gwit-compatible, add a simple INI file to its repo.</p>
<p>Visiting a site with a gwit client program creates a full-history clone that may be shared online or offline, and preserved for long-time access: it's like a replicated "wayback machine", without archive trust issues or ad hoc crawling. The client may provide local, private browsing, search and content update notifications regardless of poor connectivity or censorship.</p>
<p>gwit supports petnames for friendly site names, and site introductions for small-world network discovery.</p>
<p>- Petnames: A humane approach to secure, decentralized naming (Spritely Institute)</p>
<p>### #Links</p>
<p>Normative stuff:</p>
<p>- The gwit specification (work in progress)</p>
<p>- Discussion list for the specification</p>
<p>Documentation:</p>
<p>- The Oldest gwit Site: via Gemini, via Web, via gwit</p>
<p>Talks:</p>
<p>- _gwit: Human-scale Distributed Web over Git_ (BattleMesh v15, 2023-05-11, Calafou): part 1, part 2, part 3</p>
<p>Client software:</p>
<p>- gwet (development not yet started)</p>
<p>### #Design goals</p>
<p>The design of gwit tries to fulfil the goals in each list below, as much as they don't clash with the goals listed before them.</p>
<p>Functional goals:</p>
<p>- Clear target: lightweight, static sites (mostly text) with internal and external hyperlinks.</p>
<p>- Content authentication: it should be possible to verify content authorship and integrity.</p>
<p>- Hosting independence: sites should not be bound to a specific host or location.</p>
<p>- Content replication: sites should be easy to copy in their entirety.</p>
<p>- Privacy: browsing should leak as little information as possible to external parties.</p>
<p>- Content sharing: copies of sites should be easy to share in their entirety.</p>
<p>- Offline-first: some browsing (esp. in-site) should be possible regardless of connectivity.</p>
<p>- Content independence: any content type should be supported (although certain ones may be preferred that match the other goals).</p>
<p>- File compatibility: content should be accessible as plain files.</p>
<p>- Content history: past versions of sites should be available; exact versions should be addressable.</p>
<p>- Forgiveness: site authors should be able to remove or change content permanently if they change their minds.</p>
<p>- Transport independence: retrieving site content should not be tied to a specific network protocol.</p>
<p>- Compatibility: it should be easy to publish an existing static site (esp. Web and Gemini) as a gwit site.</p>
<p>- Small-scale discoverability: finding other sites should be possible without resorting to external services.</p>
<p>Architectural goals:</p>
<p>- Simplicity and human scale: simple enough to be fully understood and implemented by a single person in reasonable time.</p>
<p>- Humanism above techno-solutionism: issues with a complex technical solution should be left to human interaction.</p>
<p>- Long-term readiness: minimally usable after decades, or when platforms no longer support specific tools.</p>
<p>- Graceful degradation: minimally usable in the face of failing components (like connectivity or software); e.g. via files.</p>
<p>- Architectural minimalism: avoid complex or unnecessary dependencies.</p>
<p>- Frugality in resource usage: esp. power consumption (because of complex computations, large memory footprint, or intensive network traffic).</p>
<p>- Feature minimalism: only provide the features needed to cover functional goals.</p>
<p>- Ease of adoption: prefer common, existing knowledge over new or complex concepts.</p>
<p>- Friendliness and transparency: no compulsory abstractions that hide complexity.</p>
<p>- Feature stability: focus on intended usage and avoid constant extensions to functionality.</p>
<p>The following non-goals are not supported or favoured by the design itself:</p>
<p>- Heavy content</p>
<p>- Interactive or dynamic content</p>
<p>- Tracking and analytics</p>
<p>- Monetization or economic incentives</p>
<p>- Modularity (replaceable parts)</p>
<p>- Extensibility</p>
<p>- Push semantics</p>
<p>- Concurrent authoring (multiple keys)</p>