Register and claim sources
Publishing on fkn.dev links your website or npm package to a verified developer identity, lets you sign releases, unlocks rich store media on fkn.app, and enables creator payouts.
Create a developer account
Section titled “Create a developer account”- Open fkn.dev and select Sign in with your FKN account (or sign in with a passkey if your browser offers one).
- Confirm the sign-in window on
fkn.app. Your developer console uses your existing FKN account without creating a separate password. - On first sign-in, enable developer access to create your organization and open the Apps dashboard.
Register an app
Section titled “Register an app”Select New app from the Apps dashboard and give your app a display name. fkn.dev assigns an immutable app identifier with the shape fkn:app:<id>.
That identifier is what ties your domain claims, npm packages, release signing keys, and user storage namespace together.
A display name is 1 to 64 characters, and fkn.dev refuses three kinds of name with a line under the name field, on New app and when you rename the app on its Settings tab:
| The name | The line fkn.dev shows |
|---|---|
reads as a web or package address: example.com, npm:my-app, @scope/my-app | That name reads as a web or package address. Choose another name. |
contains FKN: FKN Player, F.K.N, MyFknApp | An app’s name cannot contain FKN. Choose another name. |
| mixes Latin letters with another alphabet inside one word, such as a Greek letter in a Latin word | A word in that name mixes Latin letters with another alphabet. Spell each word in one alphabet. |
The rule reads the shape of a name, not a list of domains, so a dotted product name such as Node.js reads as an address: write it as Node JS. FKN inside a longer word, as in Aufknacken, is accepted.
fkn-sign init, which founds an app under your own root key, refuses the same names before it writes anything. An app you bring into fkn.dev whose signed list carries such a name comes in with no name, and you give it one on its Settings tab.
How fkn.app names your app
Section titled “How fkn.app names your app”The display name is what fkn.app shows for your app: in the FKN bar, on the cards that ask a person for something (the cloud consent card, the network card, the room limit card), in the sign-in window, and on the card that asks a person to install the FKN extension for a package. A card that asks for a decision draws your app’s address under the name or beside it in parentheses.
fkn.app shows the name only where your ownership ties it to your app. A website shows it while your claim on that exact origin holds and the app is not deleted, and a browser keeps it a day. A release that verifies as your app’s, one signed in place with fkn-sign release --npm included, shows the name in the key list fkn.app adopted for it, else the name fkn.dev serves while the app is not deleted. Everything else shows its address and no name: an unsigned package as its source (npm:@scope/my-app), a website with no claim as its host.
A release signed in place runs under its package’s address, which every version of the package shares, signed or not. So fkn.app names it by the release it verified and serves on that release’s own origin, on every surface above and on the identity bar the cloud draws over a frame your app attaches. An unsigned version of the same package, on an origin of its own, shows its address.
A key list your own root signed, for an app fkn.dev does not manage, never passes through fkn.dev, so fkn.app holds its name to the same rule and shows the app’s address in place of a name fkn.dev would refuse.
Claim your sources
Section titled “Claim your sources”A source becomes a verified source of your app once you prove you own it, and you can attach both a website origin and an npm package to the same app. When an npm package’s package.json names no app that lists the package as a source on fkn.dev, and its release does not verify as an app’s, its fkn.app page reads “Not registered on fkn.dev”.
Website origin
Section titled “Website origin”Add your hostname on the app’s Sources view (for example https:example.com). fkn.dev shows the exact DNS TXT record to publish:
| Field | Value |
|---|---|
| Record type | TXT |
| Host | _fkn.<your-domain> |
| Value | fkn-app=fkn:app:<your-id> |
Once DNS propagates, select Check now in the console. fkn.dev re-checks claims periodically so removing the TXT record lapses the claim after a grace window.
While the claim holds, fkn.app names your app on that site by the name you gave it on fkn.dev, in place of the host (see how fkn.app names your app). A browser keeps the name it read and asks fkn.dev again at most once a day, so a new name can take a day to show.
npm package
Section titled “npm package”Add your package name (for example npm:@scope/my-app) on the app’s Sources view, add the fkn field to your package.json, and publish a version to npm:
{ "name": "@scope/my-app", "keywords": ["fkn-type:app"], "fkn": { "app": "fkn:app:<your-id>", "signed": true, "url": "https://my-app.example.com/" }}Include "fkn-type:app" in keywords so fkn.app discovers your app in Discover apps, or "fkn-type:plugin" for installable plugins.
The main ID
Section titled “The main ID”Once your app has a verified npm source, fkn.app names and links your app by one npm address, its main ID. A card on Home or Discover, a plugin row in the Library and the plugins on a package page show the main ID in place of the address they hold, and open its package page, whenever that address is a verified source of your app. So a plugin a person installed from your website (https:example.com) shows as npm:@scope/my-app in their Library, under your app’s name. A plugin’s Used by list links your app to its main ID’s package page too.
The main ID is the npm source you made main on fkn.dev while that source is verified, else the verified npm source that sorts first. A website is never the main ID. An app with no verified npm source has none, and an address pinned to a version keeps its own, so those items show their own address.
When your app has two or more verified npm sources, its Sources view marks the main one main and offers Make main on each of the others. Make main asks for no password or code and sends no mail, and the app’s Activity tab records it. Your choice stays when its source stops being verified, and the verified npm source that sorts first stands in until it verifies again.
The package.json fkn field
Section titled “The package.json fkn field”The fkn object in package.json declares your app identity, signed release settings, allowed hosts, embedders, store artwork, and the pages of your app that fkn.app links to:
| Key | Value | Purpose |
|---|---|---|
app | fkn:app:<id> | Binds the npm release to your registered app identity. |
signed | boolean | Marks releases signed with fkn-sign so fkn.app verifies fkn.json. |
url | https://... | Declares your app’s own website origin alongside the npm package. |
network | string[] | Up to 128 hostnames, *.domain wildcards, exact fkn.app subdomains as frame hosts, or "<all_urls>". |
embed | string[] | Up to 64 app ids, source ids, or https:// origins allowed to add or frame this app, or ["*"]. |
background | relative image path | Wide store banner in .png, .jpg, .jpeg, or .webp. |
cover | relative image path | Portrait store capsule (2:3) in .png, .jpg, .jpeg, or .webp. |
screenshots | relative image paths | 1 to 6 still screenshot paths shown on the app’s fkn.app page and in the preview of its card. |
settings | { "rooms": "/path" } | The page in your app that the Rooms tab of a person’s fkn.app settings links to as Configure. |
fkn.network lists the sites your app asks to reach via network.request() (see network access for apps), at most 128 entries, none twice. Each entry is one of these:
- A lowercase host name with no scheme, port or path. An IPv4 address counts as one, and IPv6 is refused.
*.before a name of two labels or more that is no public suffix and has no FKN name under it:*.example.org, never*,*.com,*.github.ioor*.banou.dev, since FKN servesplugins.banou.dev."<all_urls>"for any site.- An exact subdomain of
fkn.app, such asanime.fkn.app, as a frame host: it lets your app frame that FKN app’s pages, never connect to it, and only once that host’s ownembedlist names your app.
fkn.app itself, a wildcard under it and any name under sdbx.app are refused. Every other FKN host, such as api.fkn.dev, *.fkn.dev or one of FKN’s node addresses, is dropped with no problem, since an app reaches FKN’s own services without listing them.
Any other wildcard that covers an FKN name, such as *.banou.dev, is refused because a page’s content security policy cannot leave one name out of a wildcard, so the wildcard would reach FKN’s host in every directive. Name the sites you need exactly instead. fkn-sign release refuses such a list with the problem fkn.network names '*.banou.dev', which covers an FKN name: name its sites exactly, and network.request() reads a list that holds one as off the grammar.
fkn.embed controls which apps can install or connect to your package, and /.well-known/fkn.json carries the same embed array for website origins. Omit fkn.embed on an unsigned package to allow any app, or pass ["*"] alone to allow every app on a signed app identity (see packages).
Link your rooms page
Section titled “Link your rooms page”fkn.settings names pages inside your app for fkn.app’s account settings to link to. Its one key is rooms: the Rooms tab of a person’s fkn.app settings shows a Configure link beside the rooms your app claimed, and the link opens that page, where your app offers what the tab does not (see a rooms page of your own). It goes in the fkn field of package.json, never in fkn.json, since package.json is already a file the release signs:
{ "name": "@scope/my-app", "fkn": { "app": "fkn:app:<your-id>", "signed": true, "url": "https://my-app.example.com/", "settings": { "rooms": "/account/rooms" } }}The path starts with / and holds segments of letters, digits, -, ., _ or ~ between single slashes, with no . or .. segment, an optional trailing slash, and at most 256 characters. A query, a fragment, %, \, : and // are refused, so the path cannot name another site or step out of your app. fkn-sign release refuses a release whose settings is not an object, names a key other than rooms, or holds a path off these rules (see signing an npm release), and fkn.app reads a refused path as no path.
fkn.app reads the key only from the version of your npm package that npm tags latest, and only when that release is signed and verifies as your app’s. The link opens the path after your fkn.url, as https://my-app.example.com/account/rooms, when fkn.dev holds both that site and the package as verified sources of your app and the person has chosen no version of your app on that device. Otherwise it opens your app on fkn.app with the path as the app’s own, as https://fkn.app/app/npm:@scope/my-app/account/rooms. An app with no settings.rooms, no such release or no npm source, or one deleted from fkn.dev, gets no link, and neither do the rooms on the Shared rooms card.
Delete an app
Section titled “Delete an app”An owner of your organization deletes an app with Delete this app on its Settings tab on fkn.dev, after you confirm it with your account password or an emailed code. It cannot be undone, and it does four things at once:
- Each account’s files and room claims your app held go to the website or npm package that account first used your app through. From then on that address alone reads and writes them, as any address that belongs to no app does.
- The app’s sources, signing keys and key lists are deleted, so its keys can be added to another app.
- Only the app id is kept, marked deleted, so no other app ever gets it. A new room claim under that id is refused.
- Every owner of the organization gets a mail.
Releases you already published keep running, a release signed in place with fkn-sign release --npm included. fkn.app names your websites by their host once a browser’s day-old name runs out, and shows each address in place of your main ID. Files an account kept under the app id itself stay in its Files on fkn.app, readable and exportable, and take no new writes.