MCPcopy Create free account
hub / github.com/ethanniser/the-beth-stack

github.com/ethanniser/the-beth-stack @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
193 symbols 331 edges 38 files 2 documented · 1% updated 2y ago★ 896

Browse by type

Functions 109 Types & classes 84
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

The BETH Stack

An opinionated hypermedia-driven architecture for building web apps

Bun, Elysia, Turso, HTMX

Also: Lucia, UnoCSS, drizzle, hyperscript and fly.io

Want to discuss more? Join Ethan's Discord: https://discord.gg/Z3yUtMfkwa


Looking for the code from the first video (todo app)? \ its on the 'PREVIOUS_REPO_ARCHIVE' branch

Or the code for the full tutorial (b2b ticket app)? \ its in a different repo


This Repo:

packages/beth-stack: Contains the beth-stack npm package

  • Handles custom jsx runtime + cache
  • Elysia Plugin
  • Script + Server for hot-reload
  • Turso api wrapper

packages/create-beth-app: Contains the create-beth-app npm package

  • Scaffolds a new BETH app
  • very much WIP

www: Contains the documentation website

  • TODO

Contributions Welcome

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 65
Interface 62
Method 44
Class 22

Languages

TypeScript100%

Modules by API surface

packages/beth-stack/src/jsx/jsx.d.ts59 symbols
packages/beth-stack/src/cache/new-persist.ts26 symbols
packages/beth-stack/src/cache/old-persist.ts19 symbols
packages/beth-stack/src/jsx/context.tsx10 symbols
packages/beth-stack/src/cache/render.ts9 symbols
packages/beth-stack/src/cache/tests/new-persist.test.tsx8 symbols
packages/beth-stack/src/jsx/utils.ts7 symbols
packages/beth-stack/src/cache/tests/render-cache.test.tsx7 symbols
packages/beth-stack/src/cache/tests/old-persist.test.tsx6 symbols
packages/beth-stack/src/jsx/render.ts5 symbols
packages/create-beth-app/src/utils/spinner.ts4 symbols
packages/beth-stack/src/turso/index.ts4 symbols

For agents

$ claude mcp add the-beth-stack \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page