handbook/docs/libraries.md
disqualifier d3c85acd1e restructure handbook to flat-page spec
Replace the four-section dir layout with the revised flat-page spec:
- Three-page nav: Libraries, Standards, Deploy.
- libraries.md: live client-side fetch of the rethink-public org from the
  Gitea API, denylist-filtered, sorted table linking each repo, no version
  pins, graceful fallback on fetch/CORS failure.
- standards.md: house coding standards.
- deploy.md: deploy guide for rethink-net (services uid 1337, uid-agnostic
  Docker, paths/mounts, bind-mount permissions, read-only secrets).
- index.md landing card grid updated for the three sections.
- gitignore Playwright MCP artifacts.

Verified: mkdocs build --strict clean; libraries fallback renders live.
Signed-off-by: disqualifier <dev@disqualifier.me>
2026-06-29 19:48:52 -04:00

3.4 KiB

Libraries

The shared rethink-public library suite. Before hand-rolling common functionality — retry/backoff, logging setup, HTTP sessions, proxies, webhooks, IMAP/mail, datastore/KV, crypto, discord.py helpers, timing/paths/masking utilities — check here first and prefer an existing lib.

This list is pulled live from Gitea, so a new library in the org shows up on the next page load — nothing here is rebuilt or version-pinned. Each entry links to the repo, where the README and tags live.

Install

<lib> @ git+https://git.rethinkstudios.io/rethink-public/<lib>.git@<tag>

Loading libraries from Gitea…

!!! info "If the live list is empty or stale" The fetch runs in your browser against the Gitea API and needs the org repos to be readable unauthenticated (they are — it's a public org) and CORS to allow the docs domain. If the list won't load, browse the org directly at git.rethinkstudios.io/rethink-public. The fallback for a disabled live fetch is a webhook rebuild — a push to any rethink-public repo triggers a site rebuild.