Skip to content
EpicenterHQPublic

About

Where one person's software lives.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4.8k stars

Watchers

15 watching

Forks

Latest commit

 

History

26,259 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epicenter

Epicenter

Where one person's software lives.

Small apps keep what you make as plain files on one computer you control, and every device you own, and your agents, reach them there.

Whispering, desktop speech-to-text for macOS, Windows, and Linux, installs today.

Run it freely under AGPL-3.0-or-later. What that means.

GitHub stars Apps license: AGPL-3.0 Packages license: AGPL-3.0-or-later Discord

Try the CLI | How it works | Status | Trust | Repo map | Development | License


Try the CLI

A home is a folder that depends on Epicenter, as any Bun project depends on a package. It requires Bun and Git. An AI account is not required. Make ~/Epicenter from the files the CLI README lists, then copy the Writing app:

export PATH="$HOME/Epicenter/node_modules/.bin:$PATH"
cd ~/Epicenter
mkdir -p apps/writing/code
curl -L https://github.com/EpicenterHQ/epicenter/archive/main.tar.gz | tar -xz -C apps/writing/code --strip-components=3 epicenter-main/examples/writing
bun install && bun run build
epicenter serve

Open http://127.0.0.1:4747/apps/writing/ to save a thought, quote, or link with its source, then find and edit it. Keep the terminal open while the server runs. Your notes are Markdown files in apps/writing/data/notes/. You own the app's copy in apps/writing/code/ and can change it with your editor or coding agent.

To add Tasks to your home, run

mkdir -p apps/tasks/code
curl -L https://github.com/EpicenterHQ/epicenter/archive/main.tar.gz | tar -xz -C apps/tasks/code --strip-components=3 epicenter-main/examples/tasks
bun install && bun run build

For CLI commands, MCP setup, and keeping serve running in the background, see the CLI guide.

How it works

~/Epicenter is on a computer you control and keep on: the home. It holds a folder per app in apps/. Each app has a code/epicenter.ts that declares its data and actions, an optional UI under code/ui/, and a sibling data/ folder of Markdown files you can read. One private Git repository holds the home, and you commit code and records together when you choose.

import { defineAction, defineApp, defineData, field, timeId } from '@epicenter/app';

export default defineApp(({ folder }) => {
  const data = defineData(folder, {
    tasks: {
      description: 'task',
      fields: { title: field.text(), done: field.boolean() },
    },
  });

  const add = defineAction({
    description: 'Add a task to do',
    input: { title: field.text() },
    run: ({ title }) => data.tasks.create(timeId(), { title }),
  });

  return {
    description: 'Things I mean to do',
    data,
    actions: { ...data.tasks.actions('list', 'get', 'patch'), add },
  };
});

The epicenter command runs an app's actions on the home. Actions change files; Git records them when you commit:

epicenter tasks add '{"title":"Call the bank"}'
epicenter tasks list --json
epicenter serve

epicenter serve offers every app's actions over MCP, and each app's UI at /apps/<app>/, on the home. It listens only there; your private network, such as Tailscale, brings your other devices in. Nothing syncs and no one signs in: your phone, your laptop, and your agents reach the one copy on the home, and keep nothing of their own. The home's optional origin is its backup remote.

Software that works without an Epicenter is an outside app: Gmail, Todoist, Whispering. An inside app brings its data in through actions. Mail pulls a copy of your mailbox to the home, and an agent changes Gmail only through a proposal you apply.

The vision | The epicenter command | What an app imports

Status

The CLI developer preview is one package, @epicenter/app, which a home depends on: a home is one Bun workspace, and its package.json names the version it runs. Writing is an example app copied separately from GitHub. Each app is ordinary editable source. serve is one process; keep it running as you would any program.

The author's inside apps (Capture, Mail, Messages, Reading, Tasks, and Zhongwen) run on their home, outside this runtime source repository. Each app has apps/<app>/code/ and sibling data/ in the home's one private Git repository. Its owner commits code and records together; actions make no commits. App publication copies only code into a separate history (ADR-0910).

Whispering, an outside app, runs in a browser tab and as a desktop app, and needs no Epicenter. Epicenter, the company, also hosts services: sign-in and paid models (apps/api).

The folder sync product that came before is retired (ADR-0899). Some of its code stays here while Whispering imports it.

Trust boundaries

Your data is on the home, and whoever can read the home can read it.

Where Who can read it
A home you own You, and whatever you let reach it: devices on your tailnet, agents you give a shell.
A home you rent You and its provider, which can read the disk, sign-in files in local/ included.
Your other devices Only what a UI or agent fetches while it reaches the home. They keep no copy.
The home's private origin backup Whoever hosts the backup repository can read all included apps and records. Nothing is pushed until you add an origin.
A service an inside app pulls from The service already holds that data. Mail's Google sign-in is a file in Mail's local/ on the home, and never leaves it.
Epicenter's hosted services What you send them: a prompt or audio for a paid model, and your account. They hold no part of your Epicenter.

serve signs no one in and listens only on the home, so which other devices reach it is your private network's decision. See the trust model for the details.

Repo map

Apps

Applications under apps/ are outside apps (apps/README.md).

App What it is
Whispering Voice recorder and speech-to-text, in a browser tab or as a desktop app. Recordings, transcripts, and settings are files in a folder.
API Epicenter's hosted services: sign-in, paid models, and hosted-only billing, on Cloudflare Workers.
Landing The website at epicenter.so.

Packages

Package What it is
@epicenter/app What an app's epicenter.ts imports (defineApp, defineData, defineAction, fields, folderOnDisk), the client a UI calls actions with, and the epicenter command, which runs each app's actions as commands and MCP tools and serves UIs. A home depends on it and runs it with Bun. Git stores the home, one private root repository, and the command does not wrap it. Published.
@epicenter/ui Shared Svelte components.
@epicenter/ai Every source of models as an endpoint, one OpenAI-compatible client, the agent loop, and the model picker.
@epicenter/server The Hono library apps/api composes.

Whispering's own packages, and the folder sync product's code it still imports (@epicenter/folder, @epicenter/definition, @epicenter/local), are under packages/.

Architecture

~/Epicenter                    on the home
  EPICENTER.md                 marks the folder as an Epicenter
  AGENTS.md                    sent to every MCP client as instructions
  apps/<app>/
    code/epicenter.ts          data and actions
    code/ui/                   the UI's source, built into code/ui/dist/
    data/                      the app's records in the private root history

packages/app                   what epicenter.ts imports
packages/app/src/command       epicenter: runs actions, serve, check
apps/api                       Epicenter's hosted services, an outside app from a home

The vision | Trust model

Development

Use Bun in this repo.

git clone https://github.com/EpicenterHQ/epicenter.git
cd epicenter
bun install

Every app starts from the repo root. bun dev:<app> runs every process the app needs; for apps that talk to the hosted API, that includes the API worker on localhost:8787. bun dev:<app>:ui runs the app's frontend alone when that split exists, and bun dev:api runs just the backend. Bare bun dev is bun dev:whispering, and bun run with no arguments lists every target.

Command Starts App port
bun dev:api Hosted API worker alone 8787
bun dev:api-dashboard API + dashboard UI 5178
bun dev:landing Landing site, standalone 4321

bun dev:whispering runs Whispering in a browser tab.

The API needs local Postgres and Infisical; see apps/api/README.md. Rust is needed for Whispering's desktop build.

bun run check is the gate. It runs lint, typecheck, every workspace test, and the structural checks, and it is the same gate CI runs, so a green local run predicts a green pull request. Formatting is handled separately by the autofix workflow.

bun run check

Run the pieces on their own while you work:

bun run format          # rewrite formatting (CI autofixes this for you)
bun run lint:check
bun run typecheck
bun run test
bun run check:structure # doc paths, catalog pins, API paths, UI boundary, boot purity, vocabulary, state paths

One check sits outside the gate on purpose. bun run check:doc-hygiene flags specs and ADRs that time has made stale, so it belongs to review rather than to merge.

Design notes

Durable decisions and their reasoning live in docs/adr/. Specs in specs/ are in-flight design scaffolding rather than current truth; when a spec and an ADR disagree, the ADR wins. Start with docs/README.md.

Contributing

Contributions are welcome. Good entry points are docs, the epicenter command, Svelte interfaces, Whispering, and small changes that make the repo easier to understand.

Read the Contributing Guide

Contributors coordinate in Discord.

License

Everything is AGPL-3.0-or-later. An MIT toolkit tier existed until 2026-08 and was dissolved; versions already published under MIT stay MIT for those versions.

See the root LICENSE, FINANCIAL_SUSTAINABILITY.md, and the licensing strategy for the full model.


Contact: github@bradenwong.com | Discord | @braden_wong_

Your data outlives the app that wrote it. Open source, on a computer you control, built on plain files, with its history in Git.

About

Where one person's software lives.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4.8k stars

Watchers

15 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages