The recipes you love deserve a home.
The beauty of a luxury digital cookbook. The power of an intelligent modern kitchen.
The Kitchen Codex is a standalone, local-first recipe vault and cooking workspace. Keep your recipes in My Recipe Vault, cook with an editorial cooking mode, plan the week, build shopping lists, understand nutrition, and work alongside SHISO, your intelligent culinary companion.
Obsidian is optional. The Kitchen Codex uses portable Markdown and YAML, so it fits naturally into an existing Obsidian vault — but you do not need Obsidian, or an existing recipe folder, to begin.
Website · Releases · Documentation · Roadmap · Issues
| Track | Status |
|---|---|
| Published release | v0.9.0 — explicit AI recipe images, verified-free recipe generation, licensed representative images, and the v0.9 nutrition safety repair. |
Current main |
Ahead of v0.9.0: Signature Edition design, SHISO Chat/Create, native Electron desktop work, Advanced Nutrition development, and SEC-1 security hardening. |
| Native Linux | Owner-accepted development builds are produced from source. No public desktop installer or download is currently offered. |
| Future direction | Public distribution, mobile/PWA, optional integrations and commercial readiness are separate, conditional milestones. No dates are promised. |
Published release notes are in CHANGELOG.md. Development
capabilities on main are not automatically part of v0.9.0. The owner-approved
next flagship release objective is The Kitchen Codex v1.0.0 — Signature
Edition. It is planned, not released; no date is promised.
My Recipe Vault is the heart of the product: one place for the recipes you save, create and return to.
- Browse a photographic, editorial collection.
- Search and filter by ingredient, cuisine, course, difficulty, time and tags.
- Create a recipe note, import from the web, or save a built-in Starter recipe as your own.
- Keep recipe images, notes, ratings and cooking details with the recipe.
- Open a calm, focused recipe view with a clear ingredient list and numbered steps.
- Own the underlying Markdown. Your collection is not trapped in a proprietary database.
The Signature Nine starter collection is available immediately. Starter recipes are read-only templates until you explicitly save a personal copy to My Recipe Vault.
One companion. Different ways to begin.
SHISO is the intelligent culinary companion built into The Kitchen Codex. Chat with SHISO helps with your recipes, cooking questions and nutrition review. Create with SHISO is a separate recipe-creation experience for turning an idea into an editable draft.
SHISO is designed around a clear trust boundary:
- SHISO interprets, asks, proposes and coordinates.
- Application code owns recipe identity, candidate membership, deterministic calculation, nutrition provenance, image authorization and persistence.
- Recipe edits and image operations remain explicit-Save workflows. Nutrition is manual by default; a user may separately opt into scoped, revocable nutrition-only standing authorization for eligible analyzed results.
- Missing facts stay missing. A fluent answer is not a substitute for verified data.
SHISO Chat and Create are separate on purpose. Conversation, recipe creation, Vault state and nutrition review have different authorization and persistence rules.
SHISO Chat workspace in its empty state. No live AI exchange is depicted.
The Kitchen Codex separates everyday nutrition from deeper review.
A deterministic, local calculation from a pinned USDA FoodData Central catalog. No AI is required to estimate a recipe's nutrition. Coverage is explicit: resolved ingredients, qualitative ingredients and unresolved lines remain distinguishable, and partial subtotals are never presented as complete recipe totals.
A development capability on current main for difficult ingredient wording,
portion review and authenticated source matching. Advanced Nutrition separates
review, deterministic calculation and Apply authorization. By default, the user
reviews and authorizes nutrition changes through the application controls.
A user may also explicitly enable a scoped, revocable standing nutrition authorization. When enabled, eligible analyzed nutrition for the active Vault may be applied and saved automatically through the canonical write path. The grant is limited to nutrition, bound to the active Vault and recipe identity, requires a valid applied review, and remains subject to conflict/stale-state checks and unresolved-choice blocking. Revoking it stops future automatic nutrition writes, and a “do not save” instruction always wins. Unrelated recipe edits, image operations and saves remain separately authorized. Advanced Nutrition is not part of the published v0.9.0 release.
Nutrition outputs are estimates, not individualized medical advice. Provider charges are separate from The Kitchen Codex.
Basic Nutrition results from the pinned local USDA catalog; no AI or paid request is depicted. Advanced Nutrition remains a separate reviewed workflow.
- Meal Planner — plan breakfast, lunch and dinner across a seven-day week.
- Shopping List — turn planned recipes into a categorized grocery list.
- Cooking Mode — a large-type, step-by-step cooking surface with per-step timers and a finished-state presentation.
- Ingredient scaling — adjust servings while preserving the recipe's underlying measurements.
- Recipe Card Studio — compose and export a printable recipe card.
- AI Studio — choose non-secret provider/model preferences and review what the server can execute.
AI Studio configuration overview with no connected provider or successful inference depicted.
- Recipes live in a real local filesystem Vault when you use the native desktop app.
- Markdown and YAML remain the portable source of truth.
- Obsidian integration is optional. Existing Markdown recipe folders can be opened without a migration.
- AI provider keys and capability truth remain server-side or in protected native storage. They are never rendered into the UI.
- Cloud synchronization is not part of the initial launch scope.
- No account is required to manage recipes locally.
The desktop app uses a narrow Electron shell, context isolation, sandboxing, a descriptor-relative native Vault helper, and an HttpOnly loopback session boundary. See SECURITY.md for reporting and the engineering guide for the current security invariants.
The optional Sign in with ChatGPT integration is native-only, experimental and disabled by default. It is separate from an OpenAI API key.
During operation, OAuth tokens are handled inside the Electron main process.
The account state — including access, refresh and ID tokens when present — is
also persisted in an encrypted Electron safeStorage session envelope. When
secure storage is available, the account can be restored after restart, an
eligible expired access token can be refreshed, and rotation is persisted.
Disconnect clears local credentials. Tokens never enter the renderer or the
Recipe Vault.
If operating-system secure storage is unavailable, or only Linux basic_text
obfuscation is offered, the ChatGPT connection fails closed. It does not fall
back to memory-only or plaintext credentials. Corrupt or undecryptable state is
handled safely and requires reconnection.
Desktop BYOK provider credentials use a separate AES-256-GCM store with an Electron-protected key; when secure storage is unavailable, BYOK can remain session-only. That fallback does not apply to the native ChatGPT connection.
Requirements: Git, Bun, and a current Node-compatible runtime.
git clone https://github.com/kryptek2000/The-Kitchen-Codex.git
cd The-Kitchen-Codex
bun install --frozen-lockfile
cp .env.example .env # optional: review AI/provider settings
bun run devOpen http://localhost:3000.
In a supported Chromium-based browser, choose Connect Vault → Select Vault Directory to grant local folder access through the File System Access API.
Native desktop packaging is a development workflow today, not a public installer. Build prerequisites:
- a C++17 compiler (
g++by default, orCXX); - Node N-API headers containing
node_api.h; - Linux headers containing
openat2.h(usuallylinux-libc-dev).
bun install --frozen-lockfile
bun run build
bun run build:desktop:native
bun run desktop:package
./desktop-dist/TheKitchenCodex-linux-x64/TheKitchenCodexThe native helper is platform/architecture specific and is generated during the build. See desktop/README.md for the desktop boundary.
Supported today: local browser development on a supported Chromium browser, and Linux native development/owner-accepted builds. Windows, macOS, mobile and hosted distributions are not currently offered.
bun run lint # TypeScript typecheck
bun run test # full Vitest suite
bun run build # client + production server
bun run start # run the production server after build
bun run test:focus:shiso
bun run test:focus:nutrition
bun run test:focus:providers
bun run test:focus:images
bun run test:focus:vault
node scripts/ci/test-plan.mjs --checkThe current CI plan assigns 589 test files across Fast, Heavy Nutrition & SHISO, Security, and Native/Desktop groups. Focused commands are development shortcuts; comprehensive CI remains authoritative. See docs/Focused-Verification.md.
AI setup is optional and conditional on a supported provider, model, credential and entitlement. Requests may use paid credits. The repository does not provide unlimited or free AI usage, a hosted subscription, or a public multi-user service. See .env.example and the in-app AI Studio.
- Documentation index — current docs, architecture and historical records.
- Roadmap — established capabilities, current priorities and conditional future direction.
- CHANGELOG — published history and unreleased work.
- Desktop foundation.
- Advanced Nutrition architecture.
- SHISO architecture and acceptance status.
- ChatGPT subscription integration.
Historical phase documents are retained for evidence; their status preambles identify them as records rather than current release commitments.
Contributions are welcome. Start with CONTRIBUTING.md, use the issue and pull-request templates, and keep changes focused.
Please do not report security vulnerabilities through a public issue. Use the private repository advisory flow described in SECURITY.md.
The project is independently audited by Luna; the Principal Architect is GPT-6.2, implementation is led by DeepSeek, and the Product Owner holds final product and release authority.
MIT. Historical release records and phase documents retain their
original identities in CHANGELOG.md, GitHub Releases and the documentation
archive. Provider and ChatGPT-plan usage remain subject to their own terms and
licensing gates.




