ankore
v0.4.1
Published
Lean identity continuity module: anchor + encore.
Readme
Ankore
Ankore is a lean identity continuity module for products that should work before accounts.
The name comes from anchor + encore:
- anchor: stable identity, ownership, recovery, and trust.
- encore: return later, resume work, reclaim a device, continue without friction.
Identity is not logging in. Identity is being able to come back.
Ankore is intentionally not a general-purpose auth platform. It is a small, auditable identity core for products that should work before an account exists.
Intended consumers
- Tiko Universe — device-first identity for child-facing apps. No login wall. Optional caregiver recovery/admin.
- Mikki — anonymous-first personal tools. Optional account for sync, recovery, ownership, billing, entitlements, and API keys.
Shape
Product repos should install and configure Ankore, not implement auth themselves:
import { createIdentityWorker } from 'ankore/worker'
import config from './ankore.config.json'
export default createIdentityWorker(config)Client packages use the same route contract everywhere:
import { createAnkoreClient } from 'ankore/client'
const identity = createAnkoreClient({ baseUrl: 'https://id.tiko.mt/v1/identity' })
const session = await identity.bootstrapDevice()Stable contract
Default base path:
/v1/identityDefault D1 binding:
IDENTITY_DBDefault table prefix:
identity_Docs
Current state
[email protected] is published on npm. Releases are automated with semantic-release: each merge to main analyzes conventional commits, chooses the next npm version, publishes with provenance, and creates release notes.
The next automated npm release includes the initial identity core plus GitHub-install build hygiene, installed-package export coverage, and device resume support for products that restore a known device with { id, secret }.
It is not yet a complete product experience. The next work is Tiko/Mikki adoption and continued hardening. See Full product TODO.
