HenniOKF
Documentation

Concept

Overview

What HenniOKF brings along, which pages exist and who sees which.

What it is about

HenniOKF is a viewer for bundles in the Open Knowledge Format (OKF): folders of Markdown pages with YAML front matter and an index.md per folder. It reads bundles and shows them; it never changes one.

This first phase is the foundation: sign-in, accounts with roles, administration for the admin, a status page, this documentation and a user interface in two languages. Reading bundles comes with the next phase; the start page says so until then. The plan of all phases is in SPEC.md.

What the application does

  • Reading is public. The start page and the documentation need no account. Everything else requires signing in: in the browser with username and password or a passkey, as an agent with an API key. See Security.
  • Four roles for accounts: reviewer, editor, admin and LLM. A visitor who is not signed in is a guest. Only the admin creates accounts. See Roles and permissions.
  • The first admin is created on a fresh instance with the instance token. See The first admin.
  • Two languages: the UI speaks English and German. The switch "EN | DE" in the header keeps the choice in the cookie locale. See Languages.
  • Settings behind the gear in the header, only for the admin: the tiles "User management" and "Status".
  • The status page shows configuration and version. See The status page.
  • This documentation under /docs. See The documentation in the application.

Pages

AddressWhat is thereWho
/the start pageeveryone
/docsthis documentationeveryone
/sign-insign-in, on a fresh instance the first admineveryone
/accountpassword, passkeys, sign outevery account
/settingsthe administration areas as tilesadmin
/usersaccounts, roles, API keysadmin
/statusconfiguration and versionadmin; everyone while the instance is not configured

Whoever opens a protected page without signing in comes to /sign-in and back afterwards. Whoever lacks the permission comes to the start page. All addresses with their methods are listed under Routes.

Roles

PermissionGuestReviewerEditorAdminLLM
read the start page and /docsyesyesyesyesyes
own accountnoyesyesyesyes
settings, users, statusnononoyesno
API keysnonononoyes

What the reviewer and the editor additionally do (comments, ratings, tags, jobs) arrives with the later phases.

The shell

Every page has the same shell: at the top the header with the name, which leads to the start page, the menu and the language switch; at the bottom the footer. The menu stands as a bar on a wide screen and behind a button on a narrow one. It shows "Documentation", for the admin the gear, and the name of the signed-in account, which leads to /account. Without signing in it shows "Documentation" and "Sign in". In the footer the admin sees the link "Status".

Search engines are excluded: every page carries noindex, nofollow. The app icon and the manifest are reachable without signing in, so that browsers and home screens find them.

Next: Setup.