Skip to content

About

A premium, local-first recipe vault and intelligent cooking workspace featuring SHISO, your AI kitchen companion.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

465 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Kitchen Codex

The recipes you love deserve a home.

Release License: MIT Build

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

My Recipe Vault with a connected disposable personal Vault

Release and development status

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.

A home for the recipes you actually cook

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.

Recipe detail for a saved personal copy of Artisan Sourdough Boule

Meet SHISO

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 with an empty conversation

SHISO Chat workspace in its empty state. No live AI exchange is depicted.

Nutrition intelligence

The Kitchen Codex separates everyday nutrition from deeper review.

Basic Nutrition

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.

Advanced Nutrition

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.

Deterministic Basic Nutrition results

Basic Nutrition results from the pinned local USDA catalog; no AI or paid request is depicted. Advanced Nutrition remains a separate reviewed workflow.

Plan, shop and cook

  • 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 provider configuration overview

AI Studio configuration overview with no connected provider or successful inference depicted.

Local-first by design

  • 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.

ChatGPT plan connection

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.

Install and run

Run the web app from source

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 dev

Open 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.

Build the native Linux desktop app

Native desktop packaging is a development workflow today, not a public installer. Build prerequisites:

  • a C++17 compiler (g++ by default, or CXX);
  • Node N-API headers containing node_api.h;
  • Linux headers containing openat2.h (usually linux-libc-dev).
bun install --frozen-lockfile
bun run build
bun run build:desktop:native
bun run desktop:package
./desktop-dist/TheKitchenCodex-linux-x64/TheKitchenCodex

The 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.

Development

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 --check

The 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 and roadmap

Historical phase documents are retained for evidence; their status preambles identify them as records rather than current release commitments.

Contributing and security

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.

License

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.

About

A premium, local-first recipe vault and intelligent cooking workspace featuring SHISO, your AI kitchen companion.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages