The Manual

The Manual.

Everything a comrade needs to know. Read it once, host forever.

Contents

How do I claim a site?

Go to the dashboard, enter the name you want (3–63 letters, numbers, or hyphens), and hit claim. If it's free, it's yours at yourname.commie.host. You don't even need an email to start — but add one if you want to recover access later.

I lost my access token. Can I get it back?

Yes — if you gave the collective your email when you claimed your site. In the dashboard's "Already enlisted?" box, enter your subdomain and hit "Send my token". We'll email your token back to the address on file. (If you never added an email, there's nothing to send it to, and the collective has no other way to look it up — so add one next time. That's the point of the "recover later" field.)

Two rules keep this safe: we only ever send the token to the email already on file, and we never tell anyone whether a given site name even exists — so nobody can use the recovery form to fish for accounts.

How do I put content on it?

Five ways, pick your favorite:

Can I deploy a site from a GitHub repo?

Yes. In the dashboard, the "Deploy from GitHub" card takes an owner/repo (or a full github.com/owner/repo URL) and builds the whole repo onto your site in one click — no zipping, no uploading, no git on the server.

Leave the branch blank to use the repo's default, or name any branch or tag. Deploying from a subfolder — a built dist or a docs folder — is just a field away. The repo must be public, have an index.html at its root (or in the subfolder you pick), and stick to static files: the same allowlist as file uploads, a 500-file cap, and a 40 MB download limit. Each deploy snapshots your previous version first, so you can roll back any change.

Tick "Auto-deploy on every git push" before you deploy and the collective mints a webhook secret and shows you a URL with it already baked in. Paste that URL into your repo's Settings → Webhooks → Add webhook (content type application/json), and from then on every push to the branch you deployed redeploys the site automatically. The secret lives in the URL, so there's no separate field to fill in — and pushes to other branches, or from other repos, are ignored. Hit "Stop watching" any time to revoke it.

Can I edit my site after publishing?

Yes, as often as you like. Your site is a folder of files. Upload new versions, apply a template, or edit index.html directly — every change is live the moment you save.

Want to start over entirely? The dashboard's "Clear all files" button resets your site to a clean placeholder — your name and token stay the same, but every file is removed. It can't be undone, so grab a backup first if you might want the old version back.

Can I edit my CSS, JS, or other files?

Yes. The dashboard's "Edit any file" panel lets you open and edit any text file on your site — css/style.css, js/app.js, _redirects, _headers, or any other page. Click "Edit" next to a file in the Manage table, or type the path yourself. Save and it's live instantly.

Images, fonts, and other binaries open read-only (they're not text), and file types that can't be hosted (like .php) are refused. Your site stays static and safe.

Can I create a new file without uploading one?

Yes. Click + New file in the "Manage" card and type a path — css/style.css, about.html, data.json, anything. The collective creates it on the spot (making folders as needed) and drops you straight into the editor so you can type your content and publish. No local save-and-upload round-trip required.

It's the same rules as everywhere else: static, hostable file types only, and every create is snapshotted so it's as undoable as any edit.

Can I move or rename files?

Yes. In the dashboard's Manage table, every file has a "Rename" button. Click it, type the new path, and the collective moves the file — or the whole folder, contents and all — to wherever you say. So css_style.css becomes css/style.css in one step, with no delete-and-re-upload.

Renames are exact: the target can't already exist, and the collective refuses to move a folder into itself. After a move, the old URL returns a clean "page not found" so your visitors (and search engines) aren't left staring at an error.

Can I undo a mistake?

Yes. Every time you change your site — upload, edit, apply a template, use the AI builder, rename a file, or even "clear all" — the collective automatically saves a snapshot first. The dashboard's "Version history" section lists them (with when they were taken, how many files, and the size), and each has a Restore button.

Restoring replaces your site's files with that snapshot. And because the restore itself saves a snapshot of where you were first, even a restore is reversible — so you can jump back and forth without ever losing a state. The collective keeps your most recent 20 snapshots; snapshots are private and never served to the public.

Can I customize my "page not found"?

Yes. Upload a file named 404.html to the root of your site and it becomes your error page. Visitors who hit a broken link see your page instead of the collective's default. No 404.html? They get a friendly on-theme message with a link back home.

Can I redirect or rewrite URLs?

Yes. Upload a file named _redirects to your site's root. Each line is FROM  TO  [STATUS]:

Use # for comments. Redirects are checked before your files, so they win on a collision.

There's now a dedicated "Redirects & headers" card in your dashboard for editing both this file and _headers — with a one-click button that drops in the single-page-app fallback (/*  /index.html  200), the rule most React and Vue sites need.

Can I set custom response headers?

Yes. Upload a file named _headers to your site's root. Each path (or /* for everything) is followed by the headers to send with matching responses:

/*
  X-Frame-Options: DENY
  X-Content-Type-Options: nosniff
/cache/*
  Cache-Control: public, max-age=31536000, immutable

Useful for security headers, cache rules, CORS on a static JSON "API", or a custom content type. Header names are validated, so nothing dangerous can be injected.

What are the limits?

The collective is generous, but not infinite:

Can I password-protect my site?

Yes. In the dashboard's "Restrict access" section, set a passphrase. Anyone who knows it can view the site; everyone else sees a gate page. Leave it blank to stay public.

Can I use my own domain?

Yes. The dashboard's Custom domain section lets you point a domain you own — like example.com — at your site. Your site keeps working at yourname.commie.host; the custom domain is an extra address on top, and we handle the free SSL certificate (Let's Encrypt) for you automatically.

Here's the whole thing, step by step:

  1. In the dashboard's Custom domain card, type your domain and hit Attach.
  2. At your DNS provider, add an A record pointing your domain (or a subdomain like www) to the IP shown in the dashboard — or a CNAME to commie.host. You don't have to type anything out: hit Copy DNS instructions in the same card and the exact records (with your domain filled in) land on your clipboard, ready to paste.
  3. Wait for DNS to propagate (minutes to a couple of hours).
  4. Click Verify & go live. We check your DNS, issue the certificate, and switch the domain on.

To undo it, click Detach in the same card — your site stays live at its .commie.host address.

Can other sites read my files (a static "API")?

Yes — automatically. Any public file on your site can be fetched from another website or app using fetch(), because the collective sends the right cross-origin headers on every response. Upload a data.json (or .csv, .txt, anything) and another site can read it straight from your address:

fetch('https://yoursite.commie.host/data.json')
  .then(r => r.json())
  .then(d => console.log(d));

Your free static site is now a free static backend. Preflight (OPTIONS) requests are handled for you, so JSON bodies and custom request headers work too.

It's read-only and credential-free by design — browsers can pull your public files, but never with your edit token, and password-protected sites still ask for the passphrase before serving anything. If you'd rather set specific origins or headers yourself, the custom response headers section is still there and still wins on a collision.

Can people contact me through my site?

Yes — even though your site is static. In the dashboard's "Visitor messages" section you'll find a copy-paste contact form. Drop it into your site's HTML and visitors can send you messages, which land in that same section. Messages are stored privately and are never shown on your public site. You can read and clear them anytime.

When a visitor sends a message, the collective also emails you a heads-up (to the address on your account) so you don't have to keep checking the dashboard. To avoid a flood, it's throttled to one email every 5 minutes per site — everything still lands in your inbox, we just don't ping you for every single message in a burst.

Worried about spam? Every contact form ships with a hidden trap field that real visitors never see but spam bots fill in automatically. Anything that sets it is silently dropped — so your inbox stays for actual humans. Nothing to enable, and no effect on real messages.

Can I control how my site appears in the directory?

Yes. The dashboard's Site settings section controls how your site shows up in the collective's public directory and feed:

Anything you set here stays put even if you edit or rebuild your site — it's stored separately from your files.

Can I see where my visitors come from?

Yes. The dashboard's "Where visitors come from" panel shows the sources of your traffic — which sites or apps sent people your way, plus a count of direct / bookmark visits. Post a link somewhere and watch it show up here. It's privacy-first: the collective records only the referring site, never who you are or any personal data.

Can I see my traffic over time?

Yes. The dashboard shows a "Traffic — last 14 days" bar chart under your stats, so you can see at a glance whether your site is growing, which day a post took off, and how yesterday compares to the day before. It's counted the same privacy-first way as the rest of your stats — numbers only, no identities.

Can I see which pages people actually read?

Yes. A new "Top pages" panel in your dashboard ranks your most-visited URLs — your homepage down to that one post that took off — so you know which content earns readers. It works automatically with no analytics script and no setup: the collective tallies the path each visitor opens and shows you the top of the list.

Can I show my view count on my site?

Yes. The dashboard's "Share" card now includes a live view counter badge — a small on-theme image that shows your running total. Copy the one line of HTML and paste it into your site, and it counts every real visit (bots excluded, exactly like your dashboard).

<a href="https://yoursite.commie.host"><img src="https://commie.host/_api/badge/yoursite" alt="yoursite — views" style="border:0;height:20px"></a>

The number always matches what you see in your dashboard — it reads from the same counter. Want just the number for your own design? Add ?format=json to get a clean {"name":"yoursite","views":N,"updated_at":"…"} response, CORS-open so any script can read it.

Can search engines find my site?

Yes — automatically, no setup needed. Every site gets a sitemap.xml and a robots.txt at its root, generated by the collective from your actual files. Google, Bing, and others can read them to discover and index your pages.

How does my site look when I share the link?

Like a proper poster. Every site automatically gets a social preview card — your title on the collective's red, with your site's address — so pasting your link into Discord, X, LinkedIn, a group chat, or anywhere else shows the card instead of a bare URL.

It's automatic: the collective injects the right Open Graph and Twitter card tags into your homepage and renders the image for you, using your dashboard's display title and description (from Site settings). If you'd rather use your own image, just add your own og:image tag to your page — the collective steps aside and keeps your custom preview.

What's the rules / abuse policy?

The collective welcomes everyone — except those who harm others. No phishing, no illegal content, no impersonating brands or people, no malware. If we find abuse we'll take the site down. The full rules are in the Terms & Acceptable Use. See something? Report it and the Ministry will investigate.

Claim your free site →