Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: PMPL-1.0 Powered by Idris

Glyphbase

Carve your data in stone.

The open-source Airtable alternative with permanence, powered by formal verification.

What is Glyphbase?

Glyphbase is a spreadsheet-database hybrid built on Lithoglyph. Unlike traditional spreadsheet tools, every change is carved in stone - tracked with who made it, when, and why - and fully reversible forever.

Key Features

Feature Description

Provenance by default

Every cell change records who, when, and why - not optional

Full reversibility

Undo any change, forever, with mathematical proof

Cloud-safe

Sync via Dropbox/GDrive without corruption (append-only)

Self-hosted

Your data stays on your servers

PROMPT scores

Research-grade data quality scoring

Multiple views

Grid, Kanban, Calendar, Gallery, Form

Quick Start

# Clone the repo
git clone https://github.com/hyperpolymath/glyphbase
cd glyphbase

# Start the server (requires Gleam and Lithoglyph)
cd server && gleam run

# Start the UI (requires Deno)
cd ../ui && deno task dev

# Open in browser
open http://localhost:3000

Screenshots

Coming soon

Architecture

┌─────────────────────────────────────────────────────────────┐
│  Browser UI (ReScript + React)                              │
│  • rescript-dom-mounter (high-assurance rendering)          │
│  • Proven library integration (Idris formal verification)   │
│  Grid | Kanban | Calendar | Gallery | Form Builder          │
├─────────────────────────────────────────────────────────────┤
│  Real-time Collaboration (WebSocket + Yjs CRDT)             │
├─────────────────────────────────────────────────────────────┤
│  API Server (Gleam on BEAM)                                 │
│  REST + WebSocket + Automations                             │
├─────────────────────────────────────────────────────────────┤
│  Lithoglyph Engine                                          │
│  Provenance | Reversibility | PROMPT Scores                 │
├─────────────────────────────────────────────────────────────┤
│  Formal Verification Layer (Idris2)                         │
│  Type-level guarantees | Correctness proofs                 │
├─────────────────────────────────────────────────────────────┤
│  Storage: Local | Dropbox | GDrive | S3                     │
└─────────────────────────────────────────────────────────────┘

Views

Grid View

Spreadsheet-like interface with sorting, filtering, grouping, and column customization.

Kanban View

Drag-and-drop cards between columns, grouped by any select field.

Calendar View

Events displayed on a calendar, driven by date fields.

Cards with images, perfect for visual content.

Form View

Public or private forms for data collection, with automatic provenance.

Field Types

Type Icon Notes

Text

Aa

Single or multi-line

Number

#

Integer or decimal, with units

Select

Single or multi-select

Date

📅

Date, datetime, or date range

Checkbox

Boolean

Link

🔗

Link to another table (foreign key)

Attachment

📎

Files, images, documents

Formula

fx

Computed from other fields

Rollup

Σ

Aggregate linked records

Lookup

👁

Pull field from linked record

URL

🌐

Web links

Email

Email addresses

Phone

Phone numbers

Rating

1-5 stars

Barcode

▮▮▮

QR codes, barcodes

Lithoglyph Superpowers

These features are unique to Glyphbase because of the Lithoglyph backend:

Provenance View

Click any cell to see its complete history: who changed it, when, and their stated rationale.

Time Travel

View your entire base at any point in history. Compare snapshots.

PROMPT Scores

Rate data quality on six dimensions: Provenance, Replicability, Objectivity, Methodology, Publication, Transparency.

Proof Export

Generate audit-grade documentation with cryptographic proofs of data integrity.

DOI Linking

Link records to canonical sources. DOI-linked records are immutable; edits create "play variants."

Automations

Triggers Actions

Row created

Send webhook

Field changed

Send email

Form submitted

Post to Slack

Scheduled (cron)

Run script

PROMPT score below threshold

Flag for review

Comparison

Feature Airtable NocoDB Baserow Glyphbase

Self-hosted

Open source

Provenance tracking

Built-in

Full undo history

Limited

Limited

Limited

Forever

Cloud sync safe

N/A

Append-only

Data quality scores

PROMPT

Offline-first

Your data ownership

Roadmap

v0.1.0 - Core Grid ✓ Complete

  • ✓ Create/delete bases and tables

  • ✓ Add/edit/delete rows

  • ✓ Core field types (text, number, date, select, checkbox)

  • ✓ Sort, filter, hide columns

  • ✓ Keyboard navigation

  • ✓ Column resizing

  • ✓ Search across all cells

  • ✓ Undo/redo with full history

v0.2.0 - Views ✓ Complete

  • ✓ Kanban view (drag-and-drop)

  • ✓ Calendar view (month/week/day)

  • ✓ Gallery view (grid/masonry)

  • ✓ Form builder (public forms)

v0.3.0 - Backend Integration ✓ Complete

  • ✓ Idris2 ABI definitions (formal proofs)

  • ✓ Zig FFI implementation (C-compatible)

  • ✓ NIF builds successfully (504KB shared library)

  • ❏ Wire up Lithoglyph database (backend pending)

  • ❏ Provenance tracking integration (backend pending)

  • ❏ CBOR operation encoding (backend pending)

v0.4.0 - Formal Verification ✓ Complete

  • ✓ rescript-dom-mounter (high-assurance rendering)

  • ✓ Proven library integration (Idris2 proofs)

  • ✓ Type-level guarantees for cell data integrity

  • ✓ Formal proofs for critical operations

v0.5.0 - Real-time Collaboration ✓ Complete - UI Ready

  • ✓ Real-time collaboration (WebSocket + Yjs CRDT)

  • ✓ Live cursors and presence indicators

  • ✓ Cell comments and @mentions

  • ✓ 97/97 modules compiling successfully

  • ✓ Production build: 65.66 kB gzipped (exceptional!)

  • ✓ Preview server running and tested

v0.6.0 - Automations (Next Priority)

  • ❏ Trigger/action system

  • ❏ Webhooks

  • ❏ Email notifications

  • ❏ Scheduled tasks

v0.5.0 - Lithoglyph Superpowers

  • ❏ Provenance view

  • ❏ Time travel UI

  • ❏ PROMPT scoring

  • ❏ Proof export

Tech Stack

Layer Technology

UI Framework

ReScript + React

High-Assurance Rendering

rescript-dom-mounter

Formal Verification

Proven (Idris2 proofs)

State Management

Jotai

Grid Component

Custom (accessibility-first)

Real-time

WebSocket + Yjs

Backend

Gleam on BEAM

Database

Lithoglyph

ABI/FFI

Idris2 ABI + Zig FFI (formal verification)

Auth

Magic link + OIDC

Deploy

Podman / Docker

License

PMPL-1.0-or-later

Contributing

See CONTRIBUTING.adoc for guidelines.

Acknowledgements

Inspired by:

  • Airtable - The UX gold standard

  • NocoDB - Open source Airtable alternative

  • Baserow - Self-hosted database

  • Grist - Spreadsheet with formulas

About

Glyphbase — Airtable-equivalent delivery mode for LithoglyphDB (reserved; source in nextgen-databases/lithoglyph/glyphbase, migration pending)

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages