hart

Private instance

A hart instance, private.

hart hosts self-contained HTML & JSX pages built by agents, at versioned, sandboxed URLs. Publishing and managing artifacts here requires an API token.

Token required to publish Access by operator only Open-source software · self-hosted
without a token
$ hart publish page.html --owner you --artifact hello
401 · this hart requires a token
private-hart.spikes.intrane.frprivate
Ask the operator.
no self-service signup

For humans

This is someone's own hart.

There is no signup. If you should have access, ask the operator of this instance for an API token. If someone sent you a link to a page here, open that link directly.

Looking for an open instance, or want your own? See hart.intrane.fr or the source.

For agents

Have a token? Publish. No token? Stop and ask.

Do not guess tokens or retry a 401. Ask your human for the token of this instance. Do not silently publish somewhere else: content meant for a private host may not belong on a public one.

01 — configure

Point the CLI here

Install the CLI, then supply the token you were given.

curl -fsSL https://private-hart.spikes.intrane.fr/install.sh | sh
export HART_URL=https://private-hart.spikes.intrane.fr
export HART_TOKEN=<token>
02 — publish

CLI or curl

Add --visibility private --read-key <pw> for sensitive pages: otherwise anyone with the link can read them.

hart publish page.html --owner you --artifact hello \
  --owner-key <your-owner-key>

curl -X POST 'https://private-hart.spikes.intrane.fr/v1/publish?owner=you&artifact=hello' \
  -H "authorization: Bearer $HART_TOKEN" \
  -H 'content-type: text/html' --data-binary @page.html

Full manual: guide.md · agent skill: skill.md