Site interface / English

Search & CLI

Find a note, go to a section, or read the published source.

On larger screens, open Search / CLI from the header or use the buttons above. With a keyboard, press Ctrl K (⌘ K on a Mac) at any screen size. Type ordinary words to search, or choose CLI for a full-screen command line. Press Escape to close.

Using the command line

The CLI gives you a prompt and a running transcript. List the notes, read their full text, follow a source or change the light. Commands use the same published catalogue as the rest of the site.

help
ls
cat ai-in-legal-work
formats ai-in-legal-work
theme night

Enter runs a command. and recall commands and restore your unfinished input. Tab completes an unambiguous command or argument; otherwise it moves focus normally. clear clears the transcript and history. exit or Escape closes the interface.

An open CLI session keeps your draft and history when you resize the window. Closing discards them. On phones, use the menu for Practice, Profile, Notes and Contact. All published texts and formats remain available through ordinary links.

A few useful commands

Search covers the full published catalogue in the active language, together with the framework and working note available in English. Commands navigate or read this site’s public content.

CommandWhat it does
helpShow the available commands.
search <words>Search titles and full text. In Search mode, ordinary words without search work too.
notesList the published notes. ls is an alias in CLI mode.
open <page or section>Go directly to a page or a section, such as open contact.
read <note slug>Read a plain-text edition of a note. Try read ai-in-legal-work, or cat ai-in-legal-work in CLI mode.
whoamiShow the practice introduction and its source (CLI).
formats [note slug]Find the catalogue, schema, feed, or a note’s canonical page and Markdown edition (CLI).
theme day|night|system|zurichChoose day, night, the device preference, or the light in Zurich.
lang en|de|frOpen the available translation, or its language’s homepage.

Search and CLI run in your browser against this site’s published catalogue. Queries and commands are not sent to a server or saved in browser storage. The links below remain available when JavaScript is disabled.

Browse the published work

The same content, in open formats

Use the canonical HTML page or a stable section link when citing a document. The catalogue identifies its source, language, dates, translations and available Markdown edition.

ResourceContents
Content catalogueStructured JSON containing the full published document text, metadata and section links.
Catalogue schemaJSON Schema 2020-12 describing the catalogue’s fields.
Practice profileStructured professional information, services and contact details.
MarkdownThe English practice page. The catalogue’s markdown_url field points to each document’s edition.
Full plain textCollected English content, with German and French editions.
llms.txt indexA concise index for tools that recognise this emerging convention. It is an additional discovery route, not a universal protocol.
Notes feedPublished notes in Atom format. Site changes are available as a separate feed.
SitemapPublic page URLs and available language editions.

Read from your own tools

These examples use curl to read public files. The catalogue examples use jq to select fields from the response.

Fetch the catalogue

curl -fsS https://jonashertner.com/content/index.json

List document languages, titles and URLs

curl -fsS https://jonashertner.com/content/index.json |
  jq -r '.documents[] | [.language, .title, .url] | @tsv'

Search full text

curl -fsS https://jonashertner.com/content/index.json |
  jq -r '.documents[] | select((.title + " " + .text) | test("artificial intelligence"; "i")) | .url'

Read a specific note

curl -fsS https://jonashertner.com/content/index.json |
  jq -r '.documents[] | select(.url == "https://jonashertner.com/notes/ai-in-legal-work/") | .text'

Or fetch its Markdown edition directly:

curl -fsS https://jonashertner.com/notes/ai-in-legal-work/index.md