spotkit
Apps, meet Spotcraft.
Small, framework-free helpers that connect an app to Spotcraft: who a request comes from, the legal facts, a user’s own data, and counting visits.
What it does
Web Request and Responseonly, one dependency on the server and none in the browser. Everything it does is written down in Spotcraft's app contract, so an app can also do it by hand, or run elsewhere.
server
kit.user(request)
Who a request comes from: a guest of the shared user pool, checked against its keys.
server
legalFacts()
The server’s legal facts, for the app’s privacy policy and legal notice.
browser
exportMe(), deleteMe()
A user downloads or deletes what the pool holds about them; the delete reaches every app.
browser
analytics()
Counts visits the way the server says: opt-out, opt-in, or not in the browser at all.
npm install @kodentuzo/spotkit