Skip to content
Documentation menu: Web application guide

Web application guide

The web application is a client of the same capability kernel as REST v2, MCP and hl. It gives founders, agencies, reviewers and workspace admins multi-provider human sign-in, 15 interface languages with right-to-left support across 20 screens, fail-closed approval guards, an in-app AI copilot, and full publishing, media, analytics and automation screens.

Human sign-in methods and sessions#

Deployments advertise their enabled human sign-in methods throughGET /v2/auth/methods. Every sign-in path issues the same 15-minute access JWT kept in memory only (never in localStorage) plus a rotatingHttpOnly; SameSite=Strict refresh cookie scoped to /v2/auth, with Web Locks tab coordination so concurrent browser tabs never trigger401 token_reused.

  • Email and password: Registration (POST /v2/auth/password/register) hashes passwords with scrypt and sends a purpose-scoped hlv_verification link to /auth/verify-email. Login (POST /v2/auth/password/login) performs constant-time verification with account lockout and uniform unverified handling. Password reset (POST /v2/auth/password/forgot and /v2/auth/password/reset) consumes a single-use hlpr_ link and revokes every existing session; signed-in users can set or rotate passwords via POST /v2/auth/password/change.
  • Emailed sign-in links: Requesting an emailed link always returns202 {} without disclosing account existence. The single-use 15-minute hlm_ token travels in the URL fragment (/auth/verify#t=hlm_...) so it stays out of proxy logs and referrers. The verification screen strips the fragment from history immediately, inspects without consuming, checks the device-binding cookie and asks for a Continue click so mail scanners cannot burn the link.
  • Google, GitHub, Apple and generic OIDC SSO: Human OAuth and OIDC login enforces PKCE (S256), CSPRNG state and nonce bound to host-only cookies, and finishes through a CSRF-protected pre-workspace handoff (POST /v2/auth/oauth/complete at /auth/oauth/complete). Signed-in users can link or unlink external sign-in identities in Settings (GET /v2/auth/identities, POST /v2/auth/identities/link/:provider,DELETE /v2/auth/identities/:provider), guarded against removing their sole sign-in method.
  • Session inventory: Signed-in users can view active session families (GET /v2/auth/sessions), revoke one device or sign out everywhere (POST /v2/auth/logout-all).

On self-hosted deployments with no SMTP mail driver configured, the sign-in screen instructs users to ask their operator for a link generated with the host CLI:

Self-host operator sign-in link

Workspace roles and scopes#

Every member holds one of four roles. The web interface enables or hides controls fromeffective_scopes, while the kernel policy gate enforces every scope on the server. Role changes take effect on the next request.

Scope groupOwnerAdminEditorReviewer
Read posts, channels, media, analytics, events, agentYesYesYesYes
posts:write (drafts and edit-then-approve)YesYesYesYes
posts:publish, media:write, agent:writeYesYesYesNo
approvals:decideYesYesNoYes
channels:manage, policies:manage, webhooks:manage, agent:manageYesYesNoNo
billing:manageYesNoNoNo

Approval inbox and keyboard shortcuts#

The Approval inbox (/o/:orgId/approvals) sorts pending requests expiring first. Each detail view shows platform-faithful previews with manifest character counts, a word-level diff against the last approved revision, the verbatim PolicyResolutionSnapshotexplaining why the gate paused, estimated platform costs and prior request history.

Single-key shortcuts work across the inbox without a mouse, stay inactive inside text inputs and dialogs, and can be switched off in user preferences:

  • JMove to next approval request in the queue
  • KMove to previous approval request
  • EnterOpen the selected request
  • AApprove the open request at its current version
  • EEdit then approve (saves posts.update as reviewer, then decides)
  • RReject and focus the required feedback composer
  • XToggle selection for sequential batch approval
  • Shift+ABatch approve selected requests with confirmation
  • EscReturn from detail or close active dialog
  • ?Open the keyboard shortcuts help sheet

If another reviewer decides a request while you are viewing it, the inbox opens a blocking conflict panel showing who decided and how — never a silent overwrite or toast. OnPost detail, any rendition whose failure has recreate: false(or an unrecognised code) hides all retry and duplicate controls and displays the never-publish-again notice.

Channels, development-access labels, webhooks and API keys #

  • Open protocols (eligible for owner-enabled auto-publish): Bluesky (app password, native reply_to_id and repost_of_id), Mastodon (per-instance OAuth discovery), Farcaster (Neynar managed signer with BYO API key in Channels) and Nostr (NIP-01 relays over IP-pinned TLS WebSockets with encrypted signing keys and Blossom BUD-02 kind: 24242 permanent media hosting).
  • Closed and third-party platforms (Development access): Threads, LinkedIn and LinkedIn Pages (with post_as_images_carousel), X (including rich articles with article_cover and 100,000-character limits), Instagram and Instagram Direct Login (Reels audio_configuration, search_audio,cover_url), Facebook Pages, YouTube, TikTok and TikTok Business, Pinterest, Reddit (native MP4 video), Google Business Profile, Discord (search_membersmentions), Slack, Telegram, WordPress, Medium, DEV.to, Hashnode, Dribbble, Tumblr (30-image NPF), Listmonk, VK (id.vk.ru OAuth and video), Lemmy, Twitch, Kick, Whop, MeWe and Moltbook display a Development access badge until production review passes or self-hosters supply their own app credentials. Access level is derived on every read from the manifest and deployment config.
  • Disconnect scrubs credentials: Disconnecting a channel requires typing its display name, scrubs the encrypted credential row immediately and moves the channel todisabled (never needs_reauth).
  • X monthly spend cap: The Channels screen shows current UTC month X pay-per-use spend alongside the owner-configured monthly cap (default $10).
  • BYO platform apps and multi-step OAuth account picker: Workspace admins holding channels:manage register organisation-owned OAuth apps, Discordbot_token credentials and Farcaster Neynar API keys with DEK-encrypted secrets (channels.configure_platform_app,channels.list_platform_apps,channels.delete_platform_app). Multi-account OAuth providers (Facebook Pages, Instagram Business, LinkedIn Pages, Google Business Profile, YouTube Brand Accounts, Tumblr blogs, Discord and Slack) exchange callbacks viachannels.exchange_connectand finish in an accessible account picker usingchannels.select_account.
  • Developers screen (/o/:orgId/developers): Admins and owners manage scoped API keys (/developers/keys), HMAC-SHA256 webhooks with secret rotation and delivery logs (/developers/webhooks), confidential workspace OAuth apps with one-time hls_ secrets (/developers/apps), 17-tool MCP snippets (/developers/mcp) and the activity log (/developers/activity). approvals:decide is never offered in key or OAuth app creation UI and is refused by the server.

OAuth consent, Connected Apps and billing #

  • OAuth consent (/oauth/consent): When a third-party agent or MCP client initiates OAuth 2.1 authorization code + PKCE, signed-in users pick a workspace and review or deselect requested scopes before granting access.approvals:decide is excluded from OAuth and never offered.
  • Device login (/oauth/device): Running hl loginfrom the terminal prints a verification URL and short code. Entering the code in the web app inspects the pending request and lets the user approve or deny access without pasting secrets into the shell.
  • Connected Apps (Workspace Settings): Lists active delegated OAuth grants for the workspace (GET /v2/oauth/grants) and revokes any grant immediately along with its tokens (DELETE /v2/oauth/grants/:grantId). Owners and admins manage all workspace grants; editors and reviewers manage their own.
  • Billing (/o/:orgId/settings/billing): Displays a read-only summary to workspace members while billing mutations enforce billing:manage(owner role). Shows plan tier, trial or dunning status, metered usage with period reset dates, X pass-through spend, an Add Seats dialog (billing.add_seats) and Stripe Checkout or Billing Portal links on hosted deployments.

Media studio, Composer, recurring series and analytics #

These workflows ship directly in the web application alongsideREST v2, @honeloop/sdk, thehl CLI and MCP.

Media library and creative studio (/o/:orgId/media) #

  • Uploads, PDF previews and Stock Photos: Upload images and GIFs (up to 10 MiB), PDFs (up to 50 MiB, first-page rasterised previews via poppler-utils) and MP4, MOV or WebM videos (up to 512 MiB) viamedia.upload ormedia.upload_from_url, or import licensed photos from Unsplash and Pexels (media.search_stock,media.import_stock) with safeFetch, CDN allowlists and sharp EXIF stripping. The media worker validates headers, extracts metadata via ffmpeg/ffprobeand supports metadata and video cover-frame edits (media.update) and deletion (media.delete).
  • AI Creative Studio and Narrated Slideshows: Generate credit-metered AI images and short videos (OpenAI gpt-image-1 and Sora 2, Fal queue, Seedance via Ark or Fal viamedia.generate_imageandmedia.generate_video), or assemble narrated slideshow videos with ElevenLabs or OpenAI tts-1voiceovers, FFmpeg crossfades and burned-in .srt captions (media.generate_slideshow,media.list_voices).
  • Video Clipper: Turn library uploads, direct HTTPS video URLs or opt-inyt-dlp YouTube ingest (credit-metered with idempotent refunds and a 512 MiB/tmp watchdog) into portrait clips using Deepgram nova-3 or OpenAI Whisper speech-to-text, transcript-grounded Claude highlights,framing_mode blurred-backdrop or crop fit, optional burn_captionsand optional draft creation (media.clip_create,media.clip_list,media.clip_get).
  • Multi-layer Canvas 2D design editor: Compose branded graphics directly in the CSP-safe editor (up to 6 image/logo layers, up to 12 vector shapes across 6 shape kinds, unified z-order stack and duplicate controls, 6 CSP-safe font stacks with letter-spacing and line-height sliders, in-editor stock photo import, pointer drag, eight resize handles, rotation, centre snap guides and undo/redo) and export straight into the media library.

Composer (/o/:orgId/compose), AI Copilot and immediate publishing #

  • Multi-channel drafting: Attach images, video and PDFs, insert inline@ mentions with live autocomplete across five providers (X, Bluesky, LinkedIn, LinkedIn Pages and Discord), use setting-conditional character limits (such as 100,000 characters for X rich articles), format with the Markdown toolbar, link workspace posts via(post:<uuid>) placeholders, shorten or revert URLs inline and configure per-part thread delays up to 24 hours.
  • Provider tools, slots and research import: Import article URLs or live web research into drafts (agent.extract_url,agent.research_topic), invoke dynamic platform settings pickers (providers.invoke_tool), pick conflict-free slots (slots.suggest), apply tags, saved sets and signatures, or refine copy with inline brand-voice AI assist (agent.assist_compose).
  • Dedicated AI Copilot (/o/:orgId/copilot): Viewable withagent:read and interactive with agent:write, backed byagent.copilot_chatand live SSE streaming at POST /v2/agent/copilot_chat/stream with a Stop control, per-principal threads, Anthropic primary with OpenAI fallback and 16 governed tools.
  • Publish now (posts.publish_now):Commits a draft or approved post immediately with an Idempotency-Key, obeys the autonomy policy gate (returning HTTP 202 ApprovalDiversion when review is required) and locks out duplicate retries fail-closed when an outcome is uncertain.

Calendar, recurring series and analytics #

  • Calendar views (/o/:orgId/calendar) and recurring series:Switch between Month, Week, Day and List views with customer, channel and tag filters, timezone-aware shaded posting windows, and repeating RFC 5545 RRULE schedules evaluated in an IANA timezone viaseries.create,series.update, series.pause, series.resume andseries.delete across a 1 to 365 day horizon.
  • Multi-platform analytics dashboard (/o/:orgId/analytics):Inspect normalised engagement totals, accessible trend charts with a structured data-table toggle, a date-bounded ranked Top Posts table (including partial publishes) andday, week or month time series filtered by channels, posts, publications or metrics viaanalytics.query.

Creator, agency, automation and localisation workflows #

Creator, agency and automation tools ship across the web application alongsideREST v2, @honeloop/sdk and thehl CLI.

  • Automation hub — feeds, plugs and templates (/o/:orgId/automation):Viewable with posts:read (mutations enforce posts:write orchannels:manage). Manages RSS/Atom AutoPosts (autoposts.*,autoposts.trigger), governed Auto-Engagement Plugs across X, LinkedIn, LinkedIn Pages, Threads and Bluesky (plugs.create,plugs.list,plugs.list_executions), reusable multi-part sets (sets.*), channel signatures (signatures.*) and colour-coded campaign tags (tags.*).
  • URL shorteners and Auto-Shorten-on-Publish: Configure Dub, Short.io, Kutt or LinkDrip (shortlinks.configure_provider,shortlinks.list_providers,shortlinks.shorten,shortlinks.stats), toggle Auto-Shorten-on-Publish(shortlinks.get_preference,shortlinks.set_preference) and sync click counts hourly via shortlinks:sync_clicks.
  • Agency customers and channel posting queues (/o/:orgId/channels):Group client accounts undercustomers.*, filter Calendar and Posts by customer, and configure channel display names, timezones and weekly posting_times queue slots viachannels.update.
  • Internal team post comments: On Post detail (/o/:orgId/posts/:postId), workspace members collaborate privately with threaded comments and inline quote anchors (comments.create,comments.list,comments.resolve,comments.delete), completely separate from external review links.
  • External shareable review previews (/p#t=<token>):Generate expiring links viapreviews.createcarrying the hlp_ token strictly in the URL fragment. The public/p screen strips the fragment from history immediately, authenticatesPOST /p/resolve and /p/comments viaX-Preview-Token with zero workspace cookies, and streams video natively via HTTP 206 Range requests on /p/media/:index using a short-livedHttpOnly; SameSite=Strict honeloop_preview_media cookie scoped toPath=<basePath>/p/media. Workspace members list active links (previews.list), post team replies (previews.reply), resolve anchored feedback (previews.resolve_comment) or revoke links (previews.revoke).
  • Internationalisation and right-to-left support: All 20 screens of the web interface support 15 languages (English, Spanish, French, German, Portuguese, Italian, Japanese, Korean, Chinese, Russian, Turkish, Vietnamese, Bengali, Arabic and Hebrew — 3,118 keys × 15 = 46,770 translated strings) with automatic dir="rtl" layout mirroring for Arabic and Hebrew.