NewAndroid app 0.8.0 with widgets and a Quick Settings tile

A tap you can trust that can do anything.

Knura is an open-source platform for NTAG 424 DNA tags. It checks that every tap came from a genuine tag, then runs the action you set up: a webhook, a smart-home routine, your own code.

Alpha · Apache-2.0 · v0.5.0-alpha on GitHub

Built on open standards
  • NTAG 424 DNA
  • AES-128 CMAC
  • Standard Webhooks
  • Matter
  • Home Assistant
  • Kubernetes
  • Java 21
  • Android
knurd · tap check
# a phone opens the link the tag just wrote
$ curl 'https://your-server/tap?e=EF963FF7828658A599F3041510671E88&c=94EED9EE65337086'
{"status":"ok","uid":"04DE5F1EACC040","counter":61}

# someone opens the same link again
$ curl 'https://your-server/tap?e=EF963FF7828658A599F3041510671E88&c=94EED9EE65337086'
{"status":"replay","uid":"04DE5F1EACC040","counter":61,"detail":"counter already used"}
Features

Security first, then everything a tap can do

A plain NFC sticker holds a link anyone can copy. Knura tags prove themselves on every tap, so copied, forged and reused links are refused before any action runs.

Cryptographic taps

Each tap, the tag encrypts its ID and counter and signs them with an AES key that never leaves the chip.

Replay protection

Every tap carries a counter that must go up. A link opened twice, from history or a screenshot, is refused.

A key for every tag

Each tag's keys come from one master key and the tag's ID. Copying one tag's keys doesn't help with any other.

Actions engine

knurgN runs a rule for each verified tag, with retries and a 30 second cutoff so nothing runs late.

Works with your smart home

Tags show up as contact sensors in Apple Home, Google Home, Alexa and SmartThings through the Matter bridge.

Self-hosted

Runs on a home computer, a cloud server or Kubernetes. The tap daemon uses only the JDK.

Why Knura

What makes a Knura tap different

counter 60ok
counter 61ok
counter 61 againreplay

Every link works once

The counter only moves forward, so an old link is useless the second time.

One key per tag

Keys are worked out from your master key and each tag's ID, following NXP AN10922.

Starts your routines

A tap can turn on lights or unlock a door through Matter or Home Assistant.

POST /hooks/knura
webhook-id: msg_2nB8…
webhook-signature: v1,K5o3e…Qh0=
{ "tag": "Front door", "status": "ok", "counter": 62 }

Signed events

Every event uses the Standard Webhooks format, so the receiver can check it came from your Knura.

Tap check Matter Resolver Android app Hosted account MQTT, ntfy

Built in the open

Tag setup, tap checks, signed webhooks, Matter, Home Assistant, the resolver and the Android app all work today. See the roadmap

How it works

Every tap is checked before anything happens

Step 1

The tag signs the tap

Set up with knurctl or the Android app, the tag writes a fresh link for every tap: its ID and counter, encrypted, plus a code only that tag can make.

Step 2

knurd verifies it

The daemon works out that tag's key, checks the signature and refuses any counter it has already seen. Phones get a small "Tap verified" page.

Step 3

knurgN runs the action

Only verified, first-time taps reach the actions engine, which looks up the tag's rule and sends a signed event.

ok200Genuine tag and a new counter. The action runs.
replay409The link was opened before. Nothing runs.
rejected403Bad signature or unknown tag: a forged or edited link.
malformed400Not a tap link at all.
Connectors

Send a tap wherever it needs to go

Signed webhook

Available

A JSON POST to any address you choose.

Matter bridge

Available

Tags as contact sensors in every major home app.

Home Assistant

Available

Run automations through HA webhooks, no login token.

Android app

Available

Set up tags with your phone's NFC.

MQTT

Planned

Publish taps to your broker.

Node-RED

Planned

A ready-made node for tap flows.

ntfy

Planned

Push a notification to your phone.

Run a script

Planned

Start a local command on a tap.

Get started

Run it your way

Host everything yourself for free, or let us run the server side for you.

Self-hosted

Available
Free Apache-2.0

Your server, your keys. Runs at home, in the cloud or on Kubernetes.

  • knurctl, knurd and knurgN
  • Unlimited tags and connectors
  • tap.knura.io keeps tags working when your server moves
Set up your first tag

Hosted account

Beta soon
Free to start

We check your taps for you. Pair your phone, choose actions on a dashboard, link your home.

  • No server to run
  • Home link to Home Assistant or Matter
  • Cloud webhooks and tap history
Join the beta list

Ready-to-use tags

Coming soon
$25 for 10 tags

29 mm round NTAG 424 DNA tags, ready to claim, with icon sticker sheets.

  • Packs of 10, 25, 50 and 100
  • Claim with the Android app
  • Works self-hosted or hosted
Packs coming soon
FAQ

Questions people ask

Which tags work with Knura?

NXP NTAG 424 DNA tags. They can sign every tap with a key that never leaves the chip. Plain NTAG 213/215 stickers can't, so Knura doesn't use them.

Does a copied or screenshotted link work?

No. Each link carries a counter that has to go up. Once a link is used, opening it again returns "replay" and nothing runs.

Do I need my own server?

Not once the hosted account opens. Today you run knurd on a home computer or cloud server, and Tailscale Funnel or any HTTPS proxy lets phones reach it.

What happens if my server moves?

Tags point at tap.knura.io, which forwards each tap to wherever your server lives now. You never have to rewrite a tag.

Which phones can tap?

Any iPhone or Android phone with NFC can tap a tag and see the result. Setting tags up with a phone needs the Android app, or a USB reader such as the ACR122U.

Is Knura free?

Yes. The software is open source under Apache-2.0. The hosted account will have a free plan and paid plans for more tags.

Now in alpha

Make your first trusted tap

Set up a tag, tap it with your phone and watch your first verified action run. The source is on GitHub.