116.98K
total weekly downloads
59 packages
krizaka
Krizaka — sovereign software for creators and companies (Orazaka, Orochia). This name is reserved; see krizaka.com.
@krizaka/a11y-audit
The accessibility guard of every Krizaka product's page audit: axe-core (WCAG 2.1 AA) run on the pages a Playwright crawl already visits, in dark and light, and a ratchet — violations counted per rule in a baseline file, a new one fails, the count only go
@krizaka/api-keys
API keys for every Krizaka product: created, rotated, revoked and authenticated behind a store port. The key is shown once, only a hash of its random part is kept, scopes and rules are data, refusals have stable codes. No framework, no database client, no
@krizaka/app-client
What every Krizaka Expo app shares: the bearer session over a secure-storage port, the discovery client of the signed services manifest, the API client (bearer, timeout, 401 handling) and, in ./react, the auth context every app's screens read. Ports in, n
@krizaka/app-config
App version compatibility for Krizaka apps and backends: one contract (min/latest version, update mode, maintenance, contract range, 426 Upgrade Required, N-1 with Deprecation/Sunset) for Next.js backends and mobile, desktop and web clients. Twin of the J
@krizaka/app-desktop
What every Krizaka Mac app (Tauri 2) calls on its native side, typed: folder grants and watched folders, dropped files, the Keychain as @krizaka/app-client's storage, the native menu bar, deep links and the update channel — over tauri-plugin-krizaka. Taur
@krizaka/architecture
The C4 view of a repository, generated from its code and manifests: containers from the workspaces (with their version and the org dependencies that build them, from the lockfile), Maven modules, crates and Python projects, components from the folders, th
@krizaka/audit
Who did what, for every Krizaka product: an append-only audit trail in its own schema, written inside the caller's transaction or quietly beside it, filtered for the admin, exported and redacted for Loi 25, purged after a retention set by the admin. No da
@krizaka/auth
The account of a Krizaka product — name, language, theme, avatar, e-mail change by link with the verified flag, password, sessions with sign-out of the others, data export, deletion — behind a port, with a PostgreSQL adapter and its migration. Each produc
@krizaka/brief
A Krizaka product's weekly brief: a few figured recommendations, each with one action. The contract (integer money, named figures, evidence, assumptions), guards that veto with a reason, a deterministic ranking that keeps the top three, and the week in th
@krizaka/charts
Krizaka's data visualisation: typed, declarative React charts (line, area, bar, pie, radar, heatmap, calendar, sankey, funnel, gauge, sparkline, candlestick, treemap, scatter, geo map, 3D globe) on the --kz-* tokens and the brand palettes — an accessible
@krizaka/config
The shared configuration of every Krizaka JavaScript repository: ESLint flat configs (base, Next.js, the four UI rules, the stack rules, no locale ternary), the « Krizaka first » covered-domains map and the dependency-cruiser preset generated from it (ref
@krizaka/contract
Declare a response contract once (zod) and assert it everywhere the answer is acted on: route tests, journeys, synthetic monitors and the fetch wrappers of runtime boundaries. A 204 with no body, a missing field, an undefined or NaN count, an empty string
@krizaka/coupons
Discount and credit coupons the admin manages, for every Krizaka product: a code with a window and limits, reserved at checkout under a row lock, confirmed once on the payment event, released when unpaid, refunded; partners for attribution. The database i
@krizaka/credits
One credits ledger for every Krizaka product: grants that expire with daily and monthly caps, purchases, debits, refunds, holds. Append-only; the balance is derived. Concurrent consumption never goes negative and never spends twice. No database client, no
@krizaka/db
The database foundation of every Krizaka module: shared Query, Connection and Clock types, transactions, versioned and frozen module schemas embedded in the product's own migration sequence, a runner for products without one, and a test database helper. N
@krizaka/discovery
Service discovery for every Krizaka mobile app: load a signed manifest of backend addresses (Ed25519 over canonical JSON), allow-list the hosts, cache it, fall back cached → baked default → legacy host, and honour minimum version and maintenance — so a UR
@krizaka/docs
The documentation module of every Krizaka product. Its first part is the user manual generated at build from the code: the functional text lives next to the screen it describes (a typed `manual.ts` beside each page), the extractor reads it from the TypeSc
@krizaka/email
One email system for every Krizaka app: typed, branded, bilingual templates on React Email (email-safe HTML, a plain-text part always generated), brand themes from @krizaka/tokens, and a sendEmail() adapter with one-click unsubscribe headers, idempotency,
@krizaka/email-verification
Proof that a person controls an e-mail address, for every Krizaka public form: a 6-digit code mailed to the address, valid 15 minutes, single use, a few attempts, kept only as a salted hash; the action it protects (a contact message, a subscription) is he
@krizaka/fonts
The Krizaka typefaces, self-hosted: Young Serif (display), Atkinson Hyperlegible Next (text), Courier Prime (mono), plus Krizaka Cahier (a sparing handwritten pen, derived from Caveat) — WOFF2 subsets (latin, latin-ext) with metric-matched fallbacks for t
@krizaka/i18n
The i18n engine of every Krizaka app: typed message keys and placeholders from en.json, format(), plurals through @krizaka/intl, <Rich> (<b>, <a>), a React provider, and the krizaka-i18n CLI that checks catalogues and finds hard-coded strings.
@krizaka/icons
The Krizaka signature icons: one drawing language (24 grid, cut corners, a node at the core) for every Krizaka product — React (tree-shakable, server-safe) and React Native (react-native-svg).
@krizaka/intl
Money, numbers, dates and plurals formatted the same way in every Krizaka product: zero dependency, built on Intl, money from integer minor units only.
@krizaka/mail
Mail for every Krizaka product: queued in the caller's transaction through the outbox, delivered once per idempotency key, never to a suppressed address (stored as a hash); providers (Mailgun, Resend, Mailpit, log); off production only an allowlist is mai