All plugins

hermes-pages

Offline-first response pages with explicit publishing and guided free Cloudflare Pages hosting. Disclosure — renders pages locally into a workspace under the Hermes home (hermes-pages); publishing runs the user's own installed Wrangler (with the terminal's environment) to upload every managed page and the library index to the user's Cloudflare Pages project, where they become public; HTML input is trusted and not sanitised; no other network access and no telemetry.

kenhendricks001Webv1.0.1Updated 1 day ago

About

Offline-first response pages with explicit publishing and guided free Cloudflare Pages hosting. Disclosure — renders pages locally into a workspace under the Hermes home (hermes-pages); publishing runs the user's own installed Wrangler (with the terminal's environment) to upload every managed page and the library index to the user's Cloudflare Pages project, where they become public; HTML input is trusted and not sanitised; no other network access and no telemetry.

Hermes Pages for Hermes Agent

Hermes Pages

Turn Markdown or trusted HTML from Hermes Agent
into clean, responsive pages with a quiet reading layout. Rendering is offline and uses only
Python's standard library. Publishing happens only when you ask for it, with optional free
Cloudflare Pages hosting on an included pages.dev address.

  • a 700px reading column, or a 1280px wide layout
  • sticky action bar, title, summary, date and tag chips, tables, code, cards and callouts
  • light and dark mode that follows the system, with a saved override
  • Copy link, Print / Save as PDF and optional browser-voice Listen
  • a local page library with deterministic slugs and explicit updates
  • no required API keys, paid services, CDNs, external fonts or runtime packages
LightDarkPhone
Light reading viewDark reading viewPhone layout

Screenshots are real captures from local headless Microsoft Edge using the bundled generic
sample. This is a community plugin, not an official Nous or Cloudflare product.

Install

hermes plugins install kenhendricks00/hermes-pages-plugin --enable

This is a Portable Agent Plugins v1 package with one
skill and its script. It registers no agent tools, hooks,
services or secrets, and has no install script or install-time network behavior. Python 3.10+ is
needed for the script. Start a new session after installing so the skill shows up.

A catalog entry has been submitted but is not listed yet, so hermes plugins install hermes-pages
only works once a maintainer merges it.

Usage

Ask Hermes:

Use Hermes Pages to render this note locally. Do not publish it yet.

Or run the script yourself from the repository root. Use a new, dedicated workspace, not an
existing website:

python skills/hermes-pages/scripts/hermes_pages.py --workspace ./my-pages setup
python skills/hermes-pages/scripts/hermes_pages.py --workspace ./my-pages render note.md \
  --title "A useful idea" --summary "The short version, before the detail." --slug useful-idea --tags notes,ideas

Open my-pages/public/useful-idea.html in your browser. Assets use relative paths, so local file
viewing works. Without --workspace, the default is $HERMES_HOME/hermes-pages (or
~/.hermes/hermes-pages). No Hermes settings are changed.

FlagMeaning
--htmlTreat input as trusted HTML (not sanitized)
--wideUse a 1280px content column
--slug useful-idea1-64 lowercase ASCII letters, digits or hyphens
--tags a,bTags shown as chips
--date YYYY-MM-DDDate shown under the title (default today)
--replaceIntentionally update an existing managed page

Input is a UTF-8 file or - for stdin. Repeating the exact same render is a no-op; a different
render to an existing slug needs --replace. index and 404 are reserved slugs. Setup can be
repeated without resetting pages. The manifest tracks SHA-256 hashes, and updates refuse edited
managed files and unmanaged files. Unrelated workspace files are preserved and never uploaded.

The built-in Markdown is a small subset (headings, one-line paragraphs, flat lists, blockquotes,
fenced and inline code, bold, links, simple pipe tables), not CommonMark. Raw HTML is escaped
in Markdown. For richer layouts use trusted HTML with the grid, card and
callout info|warning|success|danger classes; wrap large tables in .table-wrap and use .num
for right-aligned numbers.

Optional free Cloudflare Pages hosting

Rendering needs no account. To host, create a free Cloudflare account and a new, dedicated
Direct Upload Pages project. The pages.dev address is included; a custom domain is optional and
may cost money.

  1. Use an existing Wrangler, or install it yourself following
    Cloudflare's guide.
    This plugin never installs packages or runs npx downloads.

  2. Run wrangler login in your own terminal. Never paste tokens into chat.

  3. wrangler pages project create YOUR-NEW-PROJECT --production-branch main

  4. Review every page and the public index, then preview the upload:

    python skills/hermes-pages/scripts/hermes_pages.py --workspace ./my-pages publish --project YOUR-NEW-PROJECT --dry-run
    
  5. Publish only when ready to make the whole library public:

    python skills/hermes-pages/scripts/hermes_pages.py --workspace ./my-pages publish --project YOUR-NEW-PROJECT --confirm-public
    

    Add --wrangler /path/to/wrangler if it is not on PATH.

  6. Open the exact URL Wrangler reports and check the page before sharing. A successful exit is not
    proof the live URL works.

The publisher stages only hashed managed public files in a fresh temporary folder and runs
Wrangler with shell=False and a 180-second timeout. It uploads to the exact project you name, so
naming an existing project replaces that project's deployment. It does not touch DNS, create paid
resources or configure access control. It never starts a login; if Wrangler prompts or stalls, it times out. Dashboard
drag-and-drop of the reviewed public folder into a new project also works
(Direct Upload docs).

The free tier is not unlimited. See
Cloudflare's current limits: for
example 20,000 files per site, 25 MiB per asset, 500 builds a month and deployment retention
rules. Recheck before relying on them.

Safety

  • Publishing is explicit. Nothing is uploaded unless you run publish with
    --confirm-public. There are no automatic, scheduled or background uploads.
  • Trusted HTML is not sanitized. --html input is treated as authorized by you. Do not pass
    scraped or third-party HTML without review; it can change page structure or run code when the
    file is opened locally. The default _headers CSP is defense in depth, not a sanitizer, and does
    not apply to local file viewing.
  • Public means public. The library and JSON index are public once published. Random slugs are
    not passwords, and there is no built-in authentication.
  • Wrangler OAuth is yours. Login is a user action on Cloudflare's own screen. This plugin never
    reads, refreshes or stores credentials or Wrangler token files.
  • Deleting local files does not remove hosted copies. Use Cloudflare's deployment management.
    There is no delete, purge or rollback command.

What this plugin does and touches

  • Files. Setup and render read bundled assets and your input, and write only the chosen
    workspace. Writes use a lock and per-file atomic replacement; they are not a multi-file
    transaction if the process or disk fails mid-write, and a stale lock or hash mismatch fails
    closed. Symlinks are unsupported. The only environment value read is HERMES_HOME.
  • Network. Setup and render make no network calls. Publish runs your Wrangler, which contacts
    Cloudflare to upload every managed public page, the index and shared assets. Listen uses the
    browser's speech engine, which may use a network voice service.
  • Browser. The theme choice is stored in localStorage. Copy uses the clipboard only on a click.
  • No telemetry, analytics, tracking pixels, external CDNs, runtime installs or self-updater.

A read-only Hermes Desktop library for your pages is in progress on the
feat/desktop-sidebar
branch and is not part of this release.

Develop

git clone https://github.com/kenhendricks00/hermes-pages-plugin
cd hermes-pages-plugin
python -m unittest discover -s tests -v
hermes plugins validate . --install-deps
# Optional developer-only checks using an existing local Playwright and Microsoft Edge:
python tests/browser_check.py
python tests/make_assets.py

The renderer and unit tests need only stdlib. Wrangler runs are mocked subprocess tests; no live
deployment is claimed. browser_check.py covers content, the 700px column, theme persistence,
Copy, Print, print CSS, real PDF bytes, phone overflow and the unsupported-speech fallback, and
refreshes the screenshots. make_assets.py rebuilds the icon PNGs and the banner from a real
rendered sample page. Neither downloads browsers or uses remote rendering. Audible voice playback
is not verified. Release steps are in
maintenance.md.

More cards

Each works on its own; together they bring Grok Bot style inline cards to Hermes.

  • Order Cards: approve checkouts before anything is bought.
  • Send Cards: read and edit every message draft before it is sent.
  • Weather Cards: real forecasts you can read at a glance.
  • Input Cards: give your agent an API key through Hermes's secure prompt.
  • Hermes Pages (this one): turn useful answers into clean, shareable pages.

License

MIT, see LICENSE.

README from the reviewed commit 05c976e; it updates when the author re-pins.

More by kenhendricks00

4 plugins by kenhendricks00 in the catalog.

kenhendricks00order-cardsPurchase approval cards for checkouts the agent drives: it stops before the final button and shows an inline card (::preview) laid out like Grok Bot's order card: an expandable item row with thumbnails, labelled Summary, Ship to and Pay with sections (with pickers), and Cancel / Pay buttons; after Pay it shows 'Order submitted', and once the order goes through the card collapses into an 'Order placed' pill. Adds static delivery snapshots with four discrete stage milestones (not courier GPS or an exact completion percentage) and readable Pay text on hosts without --card. Portable Agent Plugins v1 package (skills/ only, one stdlib Python script). Disclosure — the skill guides the agent through merchant checkout pages in your browser with Hermes's own browser tools and tells it to submit only after you tap Pay on the card or give a clear yes; that approval is an instruction to the model, not a Hermes approval prompt. Card buttons send fixed prompts back as your message via data-hermes-send; card details go only through browser_vault. If you want tracking, the skill guides the agent to read real merchant/courier email or SMS through separately authorized tools, or check a merchant status page with browser tools; requested scheduled follow-ups require an available scheduling tool. It provides no mail/SMS access, automatic scheduler or tracking service. At most three checks per order (after confirmation, around pickup, near ETA), stopping at delivered, are agent guidance; snapshots are not push updates. Missing status is not fabricated. The bundled script makes no network calls, reads only the order JSON it is given and writes one HTML file; the rendered card loads merchant favicons from www.google.com/s2/favicons and item images from merchant CDNs. Its only frame message is the standard hermes-inline-preview-size height report, sent with the host's own token so collapsed cards leave no gap. No credentials, telemetry or background processes.Communitytools2kenhendricks00weather-cardsReal Open-Meteo forecasts as responsive inline HTML cards: current conditions, hourly forecasts with chronological sunrise/sunset (hover arrows on desktop, swipe on phones), selectable days, common-scale daily temperature bars, local F/C and wind conversion, and 5-to-10/14-day expansion. Portable Agent Plugins v1 package (skills only, stdlib Python runtime). Disclosure: a skill instructs the agent to fetch and show ::preview HTML; this is not a native Hermes-enforced weather tool. Explicit fetches send city queries to geocoding-api.open-meteo.com and coordinates to api.open-meteo.com; the services see network metadata. Reads its bundled template and explicitly selected saved JSON, writes chosen HTML and optional raw JSON; no credential stores, telemetry, uploads, shell children, polling or automatic refresh. Offline controls make no network calls; attribution links navigate to Open-Meteo only when clicked. Original SVG artwork, not Apple artwork or Apple Weather data. Footer shows when the forecast was fetched; model-run update time is unavailable. The only frame message is the standard Hermes inline preview size report. Missing values stay missing and failures show an error, never silently reused stale data. No-key API use is non-commercial and subject to Open-Meteo terms and rate limits, not an unlimited or free commercial-service promise. Forecasts are not guarantees or severe-weather alerts.Communitytools2kenhendricks00send-cardsApproval cards for outgoing messages: before the agent sends an email, Discord/Slack message, LinkedIn/SMS DM or X post, it shows an inline card (::preview) with the recipients and exact text, editable in place, with Discard and a Send split pill; after sending, the card collapses into a 'Sent' pill that expands to the read-only message. A GitHub channel shows pull request drafts with Repo, Branch and Changes rows, a Markdown preview and an Open PR / Update PR button; the card only relays approval and never calls GitHub itself. Portable Agent Plugins v1 package (skills/ only, two stdlib Python scripts). Disclosure — the skill tells the agent to send only after you tap Send on the card or give a clear yes; that approval is an instruction to the model, not a Hermes approval prompt, and Hermes does not block a send that skips the card. Allow rules and "Disable drafts" (set from the Send menu, stored by draft_rules.py in HERMES_HOME/draft_rules.json) let the agent send without showing a card at all. Sending uses your existing Hermes tools; card buttons send fixed prompts back as your message; the scripts make no network calls, read only the draft JSON and any local image files it lists, and write one HTML file plus draft_rules.json; the rendered card loads remote images only when the draft includes them (a site icon such as www.google.com/s2/favicons, X image URLs, and, only with the opt-in avatar, the X profile photo from the third-party unavatar.io); no credentials, telemetry or background processes.Communitytools1

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section