Home / Self-run
Run Iknos yourself, free
The self-run folder is the whole product: every feature, Python 3.12 standard library only, one SQLite file for your data. No account, no licence fee, and your data stays on your own machine.
Download the folder (zip) Or try the hosted service
You need Python 3.12 or newer. Nothing else to install.
Start it
Unzip the folder, open a terminal inside it and run the line below. The dashboard opens at
http://localhost:8080; sign in with the API key you chose.python -m iknos serve --port 8080 --db iknos.db --api-key choose-a-long-secretAdd the tag to every page
Use the address your Iknos answers on and a short name for your store as the site.
<script async src="https://track.example.com/t.js" data-site="mystore"></script>Identify the buyer at checkout
On the order confirmation page only. The email is hashed before it is stored.
<script> window.iknos = window.iknos || { q: [] }; if (window.iknos._loaded) iknos.identify("buyer@example.com"); else window.iknos.q.push(["identify", "buyer@example.com"]); </script>Send orders
Point a Stripe or Shopify webhook at one of these, and set its signing secret as the README says.
https://track.example.com/hooks/stripe?site=mystore https://track.example.com/hooks/shopify?site=mystoreAny other store sends each order with one call. A repeat answers
{"status":"duplicate"}and is stored once.curl -X POST https://track.example.com/ingest/order \ -H "Authorization: Bearer choose-a-long-secret" \ -H "Content-Type: application/json" \ -d '{"site":"mystore","order_id":"1001","ts":"2026-01-02T15:04:05Z","email":"buyer@example.com","amount":100,"currency":"USD","source":"my-store"}'Check it
Open the Doctor page, or run the check. Each line says pass, warn or fail, and what to do about a fail.
python -m iknos check --db iknos.db --site mystore
What is in the folder
- The server, the dashboard and the tag,
t.js - Calls for refunds, order costs and daily ad spend
- The outbox for Meta and Google, as a dry run until you set sending up
- Export of everything as CSV files plus the database file
README.mdandINSTALL.mdwith every step in full
Removing it
Take the tag and the identify lines off your pages, delete the webhooks, then delete the folder and its database file. To clear one site's data and keep the rest:
python -m iknos purge --db iknos.db --site mystore --yes