developer docs

Under the hood

Technical documentation for developers evaluating, forking, or contributing to Just The Tips. Read these before running, after running, or whenever a chain or platform question comes up. small project, small docs. both deliberate.

Docs for v0.2.0-alpha.1 · released April 20, 2026 · Docs are updated at version checkpoints, not continuously. See releases for patch history.

How to read these docs

Throughout these docs, ⓘ means this explains a term — tap for a short definition that stays on this page. ⓐ means this has more — tap to expand a longer section inline or jump to the detailed treatment.

Three audiences, three reading paths:

Available docs

01 · for evaluators

Evaluate before you deploy

How to audit this codebase. Three reading depths (5 minutes, 30 minutes, an afternoon). AI review tools are explicitly welcome — we'll tell you how to use them.

~1800 words 6 minute read
Read →
02 · for evaluators

Security

Threat model, data handling, dependency pinning policy, and how to report vulnerabilities. Covers what we protect against, what we don't, and what's stored (nothing persistent).

~2000 words 7 minute read
Read →
03 · for forkers

Architecture

Top-down map of how the bot works. Two listeners, four chain adapters, two platform adapters, one status registry. What's where, why, and what's deliberately not included.

~2400 words 9 minute read
Read →
04 · planned

Chain adapters

The chain-adapter interface and how to add a new chain. Documented in src/chains/types.ts today; a dedicated page may come if enough people want one.

read src/chains/types.ts in the meantime
Not yet published
05 · planned

Platform adapters

The chat-platform adapter interface and how to add a new platform. Similar interface to chain adapters. Source is self-documenting; a standalone page is future work.

read src/adapters/discord/adapter.ts for the pattern
Not yet published
06 · cross-reference

Configurator

Not strictly a doc, but worth knowing: the configurator is how users build a personalized bot bundle without touching a terminal. The bundle includes the full bot source.

interactive
Open →

If you're an evaluator

You're trying to answer: "is it safe to run this code?" or "does this do what it claims?"

Start here:

  1. Evaluate before you deploy — the 5-minute, 30-minute, and afternoon paths, plus how to use AI review tools.
  2. Security — what's protected, what isn't, disclosure policy.
  3. Releases — the hash you're verifying against, dependency list, audit notes per release.

The bot is about 3000 lines of TypeScript across 24 files. You can read all of it in an afternoon. You can get the gist in 30 minutes.

If you're a forker or contributor

You want to modify the bot, add a chain, add a platform, or understand a design decision.

Start here:

  1. Architecture — the top-down map. Read this before any other source file.
  2. src/chains/types.ts — the chain adapter contract. ~30 lines of interfaces.
  3. src/adapters/discord/adapter.ts — the platform adapter pattern.
  4. tests/ — every test is small and readable; they document expected behavior.

As of 0.2.0-alpha.1, the project is feature-complete relative to its originally-scoped four-chain, four-platform surface. New chains or platforms aren't planned for the canonical release, but forks are explicitly welcome — BSL 1.1 allows fork and modification, and the adapter pattern makes adding a chain or platform a matter of one new file rather than a refactor.

If you're an integrator

You want to read the bot's output from elsewhere (a dashboard, another bot, a monitoring service) or understand its HTTP surface.

There are three HTTP routes:

No other HTTP surface. No REST API for third-party integration. No webhooks. The bot is a self-contained process — if you want events from it, either run it yourself and read its logs, or fork it and add what you need.

Related