Skip to content
Tiberriver256Public

Latest commit

 

History

684 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kinloom wordmark.

Weave original records, places, and family memory into one living archive.

CI workflow status. Live Demo deployment status. Published npm version for @kinloom/cli. Code coverage threshold of at least 90 percent. OpenSSF Scorecard rating. MIT License badge.

Kinloom open-source family archive wiki and genealogy research toolkit.

Kinloom (Tiberriver256/kinloom) is Micah Rairdon's open-source, privacy-first, local-first collaborative family archive wiki and genealogy research toolkit. Built with TypeScript, React 19, a pure-TypeScript CLI, and a portable Web-Fetch server backed by Cloudflare Workers, Cloudflare D1 (SQLite), and Cloudflare R2 object storage, Kinloom anchors family stories in Original, Derivative, and Authored archival records rather than commercial subscription silos. Living relatives remain private by default while enrolled family members explore, cite, and collaboratively edit generations of people, places, maps, and historical documents. This repository is unrelated to commercial, household-binder, family-reunion, or AI game-SDK projects that share the name "Kinloom".

Live public-domain demo and visual tour

Explore the live public-domain demo archive at Kinloom Lincoln and Todd Demo Archive (10 generations of the Lincoln, Todd, Hanks, and Harlan families with verified photographs and National Archives record scans).

Kinloom 49-second launch film thumbnail on YouTube.
Watch the 49-second Kinloom launch film on YouTube

Kinloom People Directory showing the Lincoln and Todd family.

People Directory. Era-grouped family directory with instant search, branch filters, WCAG AAA dark mode, and GEDCOM 7 export.

Kinloom interactive ten-generation Family Tree chart.

Family Tree. Zoomable multi-generation pedigree chart, Kinship Finder, Direct Line framing, and accessible List View.

Kinloom historical Migration Map with era filters and route playback.

Migration Map & Places Directory. Era-filtered residence routes on OpenHistoricalMap paired with regional place histories.

Kinloom Person Profile for Abraham Lincoln with timeline and cited sources.

Person Profile. Cited Life Timeline, Family Notes, portrait mat, Source Reader, and collaborative Revision History.

Core archive capabilities

  • Collaborative archival editing: Inline editing with Cited and Family memory badges, Family Notes discussions, Revision History (/changes), and single-step revision or batch revert.
  • Built-in living-person privacy boundary: Living people (is_living: true or born within the living-cutoff window without a death date) have portraits, exact birth dates, street addresses, residence spans, and pronunciations stripped automatically. Public builds and GEDCOM 7 exports redact living people across directories, biographies, timelines, and Open Graph cards. Media uploads targeting a living person are blocked in the UI and rejected by the server before bytes reach object storage.
  • Accessible by design: Paper & Ink light and dark themes verified to WCAG 2.2 AAA contrast (npm run check:contrast), keyboard-first Search modal (/ or Cmd/Ctrl+K), and heirloom print stylesheets.

Built-in optional plugins

Extend any private archive without forking core packages. Every built-in plugin is opt-in (off by default) and ships typed configuration, Admin Settings integration, and in-app documentation:

Plugin Surface Guide Description
Family Recipes UI, Server Kinloom plugin authoring guide Heirloom recipe box with card scans, ancestor attribution, favorites, and threaded family comments.
Narrative Audio UI, CLI Colab GPU TTS backend Spoken family biographies with a persistent playback dock and narrated editor notes.
Pronunciation Guide UI, Server, CLI Declarative plugin settings schema Canonical surname and place IPA and respelling lexicon with cached neural TTS audio clips.
Book Publishing UI, Server, CLI Archival hardcover book publishing plugin Print-ready archival hardcover PDF compilation with mandatory living-person privacy gating and Lulu Print API export.
Open Finance UI, Server Open Finance and donations plugin Transparent archive operating-cost ledger and allowlisted zero-custody family donation links.
Page Visit Stats UI, Server Observability, telemetry, and page visit stats Cookieless, IP-free aggregate readership counts for deceased people, places, and narratives.
Workers Observability Server, CLI Observability, telemetry, and page visit stats Structured JSON request logs, Server-Timing spans (d1, r2, bundle), and synthetic kinloom probe checks.
Security Telemetry Server Observability, telemetry, and page visit stats Structured auth, CSRF, RBAC, and media-rejection security event logging and alerting hooks.
Cloudflare Web Analytics Server Observability, telemetry, and page visit stats Lightweight RUM beacon injection with automatic /privacy disclosure.

Self-hosting deployment lanes

If you want to host a private family archive, start from the dedicated thin starter template (templates/starter/, synced to Tiberriver256/kinloom-starter) rather than cloning the full monorepo.

  • Lane 1—Automated Cloudflare deployment (no terminal required): Select Deploy to Cloudflare to create a private GitHub repository, provision Cloudflare D1 and R2, and bootstrap the database on first boot.
  • Lane 2—Private template repository with CLI or coding agent: Create a private repository from Tiberriver256/kinloom-starter, then run the preflight check and setup command:
npx kinloom doctor
npx kinloom setup --mode cloudflare --family "Alder" --admin-email "steward@example.org"
  • Lane 3—Static GitHub Pages archive (no backend required): If you are publishing a public historical archive with build-time living-person redaction, run the static setup mode:
npx kinloom setup --mode static --family "Alder"

For full production deployment, authentication, invitations, and operations, read the administration guides: Installation, Configuration, Access and privacy, Automatic updates, Operations, and Troubleshooting.

Monorepo workspace architecture

Kinloom is a seven-workspace TypeScript monorepo (six published packages plus one public-domain demo application) with a unidirectional dependency graph and a zero-Cloudflare portable HTTP core:

Workspace path Package Description
packages/tokens @kinloom/tokens Paper & Ink DTCG design tokens (Newsreader and IBM Plex Mono) compiled to kinloom.css and verified to WCAG 2.2 AA and AAA contrast.
packages/core @kinloom/core Shared TypeScript domain model, Zod schemas, EDTF date parser, archive compiler, living-person privacy filter, YAML serializer, GEDCOM 7 engine, and revision diff/revert logic.
packages/server @kinloom/server Zero-Cloudflare Web-Standard Fetch HTTP router, authentication, invitations, RBAC, CSRF protection, revision ledger, byte-range media streaming, KinloomServerPlugin contracts, and InMemory test adapters.
packages/worker @kinloom/worker Thin Cloudflare Workers adapter binding @kinloom/server to Cloudflare D1 SQLite and Cloudflare R2 object storage, including D1 SQL migrations.
packages/ui @kinloom/ui Capability-driven React 19 archival explorer, Family Tree, Migration Map, Kinship Finder, Evidence & Sources browser, inline wiki editors, Admin hub, and KinloomUiPlugin slots.
packages/cli @kinloom/cli Pure-TypeScript operator and research CLI covering archive lifecycle (init, seed, sync, export-yaml, doctor, setup), 46 archival/OCR/audio commands, and 55 embedded guides (kinloom guide).
examples/demo @kinloom/demo Private static SPA showcasing the public-domain Lincoln and Todd historical archive with Vite.

Local development verification

Run the full monorepo verification suite (architecture checks, Biome linting, archive count rules, workspace builds, TypeScript typechecking, Vitest unit tests, WCAG contrast checks, public leak checks, changelog checks, and documentation checks) after installing dependencies:

npm ci
npm run check

To enforce the 90% V8 coverage threshold or run the Chromium Playwright end-to-end suite, run:

npm run test:coverage
npm run test:e2e

Related topics

Releases

Sponsor this project

Packages

Used by

Contributors

Languages