DEV Community

Cover image for What Really Happens When You Publish a Page with Flisk Pages
flisk
flisk

Posted on Edited on

What Really Happens When You Publish a Page with Flisk Pages

Pages promises that one command turns a folder into a link. There is no hosting account behind it. This post follows what happens between the command and the link, using the product's FAQ and README.

The command

You need Node 18 or newer, or bunx in place of npx. For GitHub-hosted pages you also need the GitHub CLI signed in (gh auth login).

npx -y @flisk-sh/pages publish page.html --wait
Enter fullscreen mode Exit fullscreen mode

The input is a folder with an index.html or index.md, or a single .html or .md file. The --wait flag waits until the link answers.

From Claude Code, install the plugin and ask in plain words:

claude plugin marketplace add flisk-sh/pages
claude plugin install pages@flisk-pages
Enter fullscreen mode Exit fullscreen mode

Then: publish ./my-page to pages.

What happens next

Numbered flow from the publish command through a pull request, the file check and a space branch to the live link and closed pull request.

  1. Your folder goes into a pull request from your fork.
  2. A check reads every file. Nothing in your space runs on Flisk's side.
  3. If the check passes, the space is committed to its own branch, space/<you>/<name>.
  4. It goes live at pages.flisk.si/@you/name within a minute or two.
  5. The pull request is closed with the link.

Publish the same name again and you add a version. Each publish is a commit, so the history on GitHub is your version list.

What the check allows

The rules are in one file. Per the FAQ:

  • At most 300 files and 10 MB.
  • Scripts from the space itself, or from cdnjs.cloudflare.com, cdn.jsdelivr.net, unpkg.com, esm.sh, cdn.tailwindcss.com and giscus.app.
  • Not allowed: password fields, forms that send to other sites, scripts or frames from unlisted hosts, wallet prompts, miners and redirects away.

Every page also carries a Content-Security-Policy that blocks these in the browser.

You can run the check before you publish. From a checkout of flisk-sh/pages:

node bin/pages.mjs check ../my-page
Enter fullscreen mode Exit fullscreen mode

Things to know

Every space is public. So is its source on GitHub. Do not publish anything you would not post in a public repository.

Anonymous Markdown works. Without the GitHub CLI signed in, a single .md file is published at /@anon/<id>/. HTML needs the GitHub CLI.

There is a private option. share --send writes one self-decrypting file per person and uploads nothing. The README warns that a copy you have sent cannot be taken back.

Taking a page down. Open an issue titled Remove @you/name using the Remove template. It is removed at once when you are the publisher.

A short checklist

  • Folder has index.html or index.md.
  • No password fields or outside forms.
  • Scripts come from the folder or the listed CDNs.
  • Under 300 files and 10 MB.
  • You are fine with the page and its source being public.

Next: once the page is live, can AI answers cite it? That is Citable.

Top comments (0)