repository

BlowfishCMS

A small content management system for OpenBSD

version 0.45.6 · ISC · 2026-12-03 · releases

779 lines · 45.2 KB · view the source · download this file

Running your site: the admin guide

Everything here happens at https://your-domain/admin/. Sign in with your name and password. You stay signed in for 12 hours, or until you press sign out at the bottom of the sidebar. Five wrong passwords in a row lock sign-in from your address for 15 minutes (doas blowfishctl unlock lifts it).

Your account (your name at the bottom of the sidebar) changes your email address and password, both in its sign-in box. Changing the password signs you out in every other browser.

Two-step sign-in

Under Your account → two-step sign-in, press set up, scan the QR code with an authenticator app on your phone (Google Authenticator, Microsoft Authenticator, 1Password, Authy…; or type in the key shown beside it), then type the six-digit code the app shows. From then on, signing in asks for your password and then the current code, so a stolen password alone can't get in. Owners can install updates from the System screen, so every owner should turn this on.

When you turn it on you get ten recovery codes. Keep them away from your phone (in a password manager, or printed). Each one signs you in once instead of a code. new recovery codes replaces them; turn off (with your password) goes back to the password alone.

Requiring it. Under Settings → Sign-in, an owner chooses who must use it: nobody (each user decides), owners (recommended, since owners can update the server), or everyone. Anyone who must but hasn't set it up is sent to set it up when they next open the admin, and can't use anything else, the Mail and add-on screens included, until they have. While it's required of you, it can't be turned off from your account page.

Lost your phone and your recovery codes? Another owner can press turn off two-step beside your name under Settings → Users, or on the server: doas blowfishctl mfa-off NAME. The keys aren't in backups, so after restoring a server everyone sets two-step sign-in up again.

Setting up a new site

The first time an owner signs in to a new site, the admin opens a short setup: the site's name and description, which starter pages are on, the theme, whether search engines may list the site, mail for the contact form, and add-ons. Every step can be skipped and changed later. After that, the Overview keeps a list of finishing touches (a description, a logo, a favicon, a share picture, a first backup) until they're done or you hide it. Run the setup questions again, under the site details in Settings, goes through them again.

Users

There are two kinds of admin user:

  • Owners can do everything: settings, themes, search, mail, add-ons, users, updates and backups. The account the site was installed with is the first owner.
  • Editors look after the content: pages, pictures, music, videos, articles, links and comments. The owners' screens don't appear for them and refuse them if they try.

Owners add users at the foot of the users box under Settings → Users, with a name, email address, role and a first password (give it to them in person or by another channel, not by email). From there owners can also change someone's role, set a new password (which signs them out everywhere) or remove them. A site always keeps at least one owner.

Settings → Sign-in holds the rules for everyone: who must use two-step sign-in (above); the lockout, with how many sign-ins failed in the last hour, which places are locked out, and unlock to clear them; and sign everyone out, which ends every session apart from yours in that browser (after a lost laptop, say). Your own email, password and two-step sign-in stay under your account, at the foot of the sidebar.

Locked out? On the server, doas blowfishctl password NAME sets a user's password. A name that isn't a user yet becomes a new owner.

The sidebar has three groups:

  • Overview and Pages
  • Libraries: your pictures, music, videos, files, articles, comments and links
  • Site: Look (with tabs for themes and for the logo & icons), settings (with tabs for search & sharing, mail, users, sign-in and system), analytics, add-ons (the add-on you're on gets a tab beside it) and notifications. Editors don't see this group.

Changes to what visitors see wait for you to save them: the save button of the screen or panel, or Ctrl+S (⌘S on a Mac). Only article drafts save by themselves as you type. A note beside the save button says Unsaved changes, Saving…, All changes saved or Not saved: and why. If you try to leave with unsaved edits, you're asked first. Errors appear in red at the top of the page.

The Overview starts with what needs attention, when anything does: the server not picking up requests, last night's backup failing, the last request failing, a saved livestream that couldn't be added to Videos, or updates waiting. Each line links to where to deal with it.


Pages

Pages lists every page in navigation order. Drag a row by its handle (⠿), or use move up / down in its … menu, to move it along the navigation bar. Every list in the admin works like this one: a row per thing, its switches and everyday buttons in view, and the rarer actions (move, duplicate, remove, delete) in its … menu. Anything that's simply on or off, here and on every other screen, is a switch: in a list it changes at once; in a form it's saved with the form. Every list you put in order (themes, a page's blocks, links, offerings, products, repositories) works the same way, and the library screens' cards drag the same way too. Each row has two switches:

  • on: whether visitors can open the page. A page that's off is out of the navigation and its address answers "not found"; you can still edit it and use preview in the editor. Turning Blog off also takes its articles, feed, comments and likes offline. While no page that's on has a contact form, the form stops accepting messages. Home is always on.
  • in menu: whether it's in the navigation bar. A page that's on but not in the menu still opens at its address (link to it from another page, say), and carries a Not in menu badge.

edit opens the page editor (an add-on's page too: its own settings stay on the add-on's screen, linked from the editor). … holds the rest: the page's library (Pictures, Articles…), the add-on's screen for an add-on's page, and delete. - delete removes the page and its blocks. Pictures, music and articles stay in their libraries. Home can't be deleted, because every site needs a front page. Deleting Blog takes your articles off the site until a page at /blog/ exists again.

Menu groups

A menu group is one item in the navigation bar that drops down to show several pages: a "media" group holding Music, Photography and Videos, say. Make one with add menu group under the list, then put pages in it:

  • drag a page onto the group's row, or among its pages, and drag it out again to put it back on its own. Drag the group by its handle to move it along the bar with its pages, and drag its pages to change their order within it.
  • or choose the group under Menu group in a page's … menu (choose none: on its own to take it out).

A group stands in the bar where its first page is, and shows only the pages that are on and in the menu; a group with none isn't shown. Visitors open it with a click or the keyboard. The page they're on is marked, and so is its group. Its row's rename changes the label. delete, in its … menu, removes the group and leaves its pages in the menu on their own.

New page, at the foot of the page list, makes a page with one text panel. New pages start switched off, so you can build them before visitors see them.

The page editor

The editor shows the page as visitors will see it, and you change it right there. Everything is saved together with save (or Ctrl+S).

  • Texts: click a heading, title or paragraph on the page and type. A paragraph shows its Markdown while you type (**bold**, [a link](…), - for points) and is drawn again when you click away. Enter (in a one-line text) or Esc finishes. An empty text shows Write here where it goes.
  • A block's other settings: click the block. Its card opens in the bar on the right, under its name: pictures, choices, width, section style, and texts that are still empty (a panel title, say). Settings that don't apply stay hidden until they do (a button's link and style once it has a label, a picture's shape once there's a picture). Click its name again to close it.
  • The bar on the right lists the page's blocks in order. Click one to find it on the page; drag it by its handle (⠿) or use ↑ ↓ to move it; × removes it. Add a block adds one at the bottom. Under them, folded away:
    • Layout: the page's width (standard, narrow for reading, wide, or full width edge to edge), which side the sidebar goes on, whether side-by-side blocks stay side by side, spacing inside panels, text font, size and alignment.
    • Search engines: the browser title (about 60 characters show in search results), the search description (about 155), and Hide this page from search engines.
    • Address, menu & on/off: the navigation label, the address (such as /gear/; if you change it, the old address forwards to the new one; the starter pages' addresses stay), On: open to visitors, In the navigation menu, and delete page.
  • desktop / phone above the page shows it at a phone's width.
  • Other pages: click a page in the menu of the page shown (or the logo, for Home) to open that page in the editor, or pick any page, including pages that are off, under Editing at the top of the bar. If you have unsaved changes, you're asked first: save and open, discard and open or stay here. The browser's back button returns to the page before, and the address can be bookmarked.

Links inside the blocks don't open while you edit (click them to edit their text or the block).

Blocks

A page is a list of blocks, stacked in order. To add one, open + add a block in the bar and click the block you want (they're grouped: text; pictures, music and video; layout; content; and blocks from add-ons). It goes at the bottom, at the width chosen above the list (full width unless you change it).

BlockShows
Text panelWriting in Markdown, as a panel or a roomy introduction.
About meA few words about you, with a picture from the picture library if you like: as a portrait card above the text, or beside, above or below it, in a shape. Choose none to leave the picture out. A button under the text if you like.
Text and pictureText with a picture from the library beside, above or below it, in a shape, with an optional caption and link, and a button under the text if you like.
PictureOne picture from the library, small to full width, in a shape, with a caption and a link if you like; without a link it can open larger when clicked.
SlideshowPictures one at a time (swiping on phones), from a folder or chosen ones, with arrows and a counter, arrows and dots, or no controls; it can move on by itself every 3 to 12 seconds. Its height can follow the pictures or be fixed at 3:2 or 16:9, keeping the part of each picture you choose.
GalleryPictures from the library: a folder (with or without its subfolders) or pictures you choose and put in order. Laid out as a grid (as many columns as fit, or two to five), in rows, or large one under another; titles under the pictures are optional. In the library's order or newest first, and limited to a number with a See all link if you like. Visitors can open each picture larger.
VideoOne video from the video library, played in the page, or playing by itself, muted and looping, like a moving picture (still for visitors who ask their device for less motion).
Video galleryVideos from the library: all of them, or one collection; in the library's order or newest first, limited with a See all link if you like.
Music playlistTracks from the music library: all of them, or one collection; in the library's order or newest first, limited with a See all link if you like.
Audio playerOne track from the music library.
DownloadOne file from the Files library, or a list of them (all, one collection, or one tag), each with a download button, its size, version and sha256.
Hero headerA wide band for the top of a page: a big heading, a line of text and up to two buttons (in any of the button colours), over a picture (dimmed so the text reads, keeping its top, middle or bottom) or a colour; short, medium, tall or the height of the screen; centred, left or right.
ColumnsTwo to four columns of Markdown text side by side, equal or with the first or last wider, lined up at the top, middle or bottom; on phones they stack.
DividerA line, three dots or just space between blocks; in the theme's line colour or the accent colour; full width or short.
ButtonA button that links somewhere. Its colour can be the theme's own button (drawn like the contact form's send button), filled or outlined in the accent colour, a soft tint, dark or light; small, normal or large; as wide as its text or the whole block; and it can open the link in a new tab. A line under it if you like.
QuoteA quote, with who said it and where (a link works there), on the left or centred, with a small round picture of who said it if you like.
Questions and answersQuestions that fold out to their answers (an FAQ); the first can start open, and opening one can close the others.
TimelineDated entries down a line: a history, a career, a project's milestones. As entered, or newest or oldest first by the year (and month) in each entry's When; entries without a year go last.
TableRows and columns: one row per line, cells separated by `\`; the first row can be a header. Striped rows if you like, and cells on the left, centred, or with the columns after the first on the right (for numbers).
CardsA grid of two to four cards across, each with a picture, a title, a little text and a link. The cards can be the theme's panel colour, a soft tint, the accent colour, dark or light; their text on the left or centred; their pictures in a shape; and each link a link with an arrow, a button, or the whole card.
Comments and sharingLikes, comments and sharing for the page it's on (the Live page has one): the same as every picture's or article's page has, moderated on the Comments screen. Once per page.
Contact formThe form visitors use to message you, with or without a subject field, its button in any button colour, and your own message once one is sent. See Mail.
Article listYour published articles, newest first: as a list or as cards with each article's first picture, with or without the date and the opening lines.
Links listYour links, from the Links add-on when it's on.
Items for saleProducts from the Store add-on, when it's on.
GitHub projectsYour public GitHub repositories, searchable, from the GitHub projects add-on when it's on.
Resume blocksYour name and contact details, lists of entries (experience, education…), skills, and the PDF download, from the Resume add-on when it's on.

Shared settings

Several blocks share the same settings, so they work the same everywhere:

  • Links (the Button, the Hero header's buttons, Picture, Text and picture, Cards, "See all"): an address on your site such as /contact/ or a full https://… one, and Open it in a new tab.
  • Buttons under About me and Text and picture, and in the Hero header: the text, the link and the colour, as for the Button block.
  • Picture shape (About me, Text and picture, Picture, Cards): as it is, 3:2, square, 16:9 or round, and Picture focus, the part that stays when the shape crops it (the top, the middle or the bottom).
  • Tag buttons (Gallery, Video gallery, Music playlist, Download): a row of the list's tags above it (all, #tutorial, #gaming…); a visitor presses one to show only those, without the page reloading.
  • Number and order (Gallery, Video gallery, Music playlist): the library's order or newest first, how many to show (0 for all), and where See all goes when there are more.

Everywhere you write Markdown (blocks, articles, add-ons' texts):

WriteFor
**bold**, *italic*, ~~struck through~~Emphasis
[text](https://…), [text](/contact/), [text](#pricing), [text](/contact/ "A title")Links (the title shows on hover)
https://example.org on its ownA link to that address
## Heading, ## Pricing {#pricing}Headings; {#name} lets links jump to that heading
- item, 1. item, - [ ] to do, - [x] doneLists, and lists of tick boxes
> quoted textA quotation (> > inside it nests one)
`code`, or a block fenced with three backticksCode
`\Name \Size \, then\:---\---:\`, then a line per rowA table; colons in the second line align a column left (:---), centred (:---:) or right (---:)
A claim[^1] and, anywhere below, [^1]: The source.A footnote: a small number linking to the note, listed at the end of the text
\ at the end of a lineA line break without a new paragraph

And to make a page your own (all of these are in the toolbar's more… menu too):

WriteFor
> [!NOTE] then > text linesA callout box: NOTE, TIP, IMPORTANT, WARNING or CAUTION, each its own colour; words after it (> [!TIP] Same-day repairs) are its title
::: center lead, then text, then :::A container: center, right, lead (larger), small, muted, box, soft, accent, dark or light, as many as you like, in the theme's colours
::: columns, text, `\\\, text,:::`Up to four columns side by side (one under another on phones)
+++ A question, then the answer, then +++A fold-out: the question shows, the answer opens from it
[Book a repair](/contact/){.button}A button, as the Button block draws it; add .outline, .soft, .dark, .light or .theme for its colour, .small or .large, .full for the whole width
![A description](/media/pictures/… "A caption"){.small .right} on its own lineA picture with a caption; .small or .medium, .left or .right (text flows round it) or .center, .round
Hosting then : What it isA definition list (a blank line and another term carries it on)
==highlight==, H~2~O, x^2^, [[Ctrl]]Highlighted text, below and above the line, a key
```perl, the code, then ```Code coloured by its language: perl, sh, python, js, c, go, rust, java, css, html, json, yaml, ini, toml, make, diff or markdown (without one, it's plain)
![A caption](/video/…/) on its own lineA video, track (/track/…/) or file (/file/…/) from your libraries: a video's player as the Video block shows it, a track's player alone, or a file's download card as the Download block shows it, with the caption under it. The toolbar's library button chooses one for you. Nothing shows if it's been removed

Containers and fold-outs can hold anything else, each other included.

What you type as HTML is shown as text, never run.

Every Markdown box has a toolbar above it: bold, italic, struck through, heading (press again for a smaller one, again for none), link, the three kinds of list, quotation, code, table, footnote, picture (a picture from the library, in blocks and articles), library and ?, which opens the Markdown help: each of the above beside what it looks like. Select words first to apply it to them.

library puts in anything from your libraries. Choose the library (Pictures, Music, Videos or Files: those with something in them), then the track, video or file, and a caption if you like. It goes in on a line of its own: a video plays in the page as the Video block shows it, a track is just its player (no title, artwork or download), and a file is its download, with its name and size. For Pictures, choose picture opens the picture library and the caption goes under the picture. Visitors need no JavaScript for any of them.

In the box:

  • Ctrl+B, Ctrl+I and Ctrl+K (⌘ on a Mac) make the selection bold, italic or a link; they also work in text you edit on the page itself;
  • Enter in a list starts the next item (numbered lists count on); Enter on an empty item moves it out a level, or ends the list;
  • Tab and Shift+Tab move list items in and out (elsewhere Tab moves to the next field as usual);
  • Ctrl+Z undoes the toolbar's changes like your typing.

Questions and answers, Timeline and Cards hold a list: add question (or entry, or card) adds one, the arrows move one, remove takes it out, and empty ones are left out when you save.

  • Width: Full width, two half-width columns (half-width blocks next to each other share a row), or Sidebar: a narrower column beside the rest of the page, on the side chosen on the Layout tab. On phones the sidebar goes under the page.
  • Section style, folded away in each block: a background (the theme's panel, a soft tint, the accent colour, dark, light, or none so the text sits on the page), a background picture (dimmed behind the block), spacing (compact, normal or roomy), Hide the title bar, and Leave out when printed (useful on a resume page). Every block, add-ons' too, also has an Anchor: a name such as pricing that links can jump to, /services/#pricing from anywhere or just #pricing in a Button on the same page. Use lowercase letters, numbers and dashes; each anchor goes on one block of the page.
  • Drag a block in the bar by its handle (⠿), or use ↑ ↓, to reorder it; × removes one.

Choosing pictures

Wherever a picture is needed (a Text and picture block, a gallery of chosen pictures, an article) choose picture opens the picture library: open folders, search the one you're in, and click a picture. upload here adds new pictures to the folder you're looking at; a single upload is chosen straight away. For a gallery, click several pictures, then add pictures; the arrows in the block put them in order.

A picture's description is what screen readers say. A Text and picture block can give its own instead.

The logo, favicon and share picture (Look → Logo & icons) and Store products can also come from the library: or choose from Pictures beside the file field. A copy is made in the size each one needs, so deleting the picture from the library later doesn't change them.


Libraries

Pictures

Every picture the site shows lives in Pictures: galleries, Text and picture blocks and articles all take theirs from here, so a picture can be used in several places and replaced or moved in one.

  • Folders keep pictures apart (Travel › Japan, Products, Articles), up to five deep. They're real folders on the server too, so a backup is organised the same way. The buttons at the top right work on the folder you're in (hover over one to see what it does): the eye (below), new folder, upload pictures (choose them and they go up straight away; dropping files on the page does the same), and … to rename the folder or delete it once it's empty.
  • Upload puts pictures into the folder you're looking at.
  • Move pictures with the Folder menu in a picture's panel, or select several and use move to folder. Pages and articles keep showing them.
  • Order: drag pictures within a folder; galleries showing that folder follow it.
  • Delete: if a page or article shows the picture, you're asked first.

Pictures dropped or pasted into an article go into the Articles folder.

Keeping pictures out of galleries. A gallery of a folder picks up new pictures by itself. To keep some out (your logo, a portrait, a screenshot for a page), press the eye at the top of the picture's panel, or the eye at the top right of a folder for the whole folder and its subfolders. An open eye means shown in galleries; a crossed-out eye means kept out, and such pictures carry a small crossed eye on their card. The Site folder is kept out from the start: it's the place for pictures that aren't for show. Pictures kept out can still be used anywhere else (About me, Text and picture, articles), and a gallery of chosen pictures shows whatever you chose.

The server keeps only the web-sized copy of each picture (see the table below), not your original, so keep your own originals. On the public site, pictures open in the on-page viewer, and right-click and drag saving are blocked on them. That stops casual copying, not screenshots.

Music, videos and links

Music and Videos work the same way:

  • Add: drag files anywhere onto the page, or use the upload area. Large files upload in pieces; if the connection drops, choose the same file again and it carries on where it stopped. Unfinished uploads are cleared after two days.
  • Edit: click an item to open its panel (title, description, collection). Changes save by themselves.
  • Organise: drag to reorder, search with the box, and select several items for bulk actions (move to a collection, delete).
  • Collections: group items (albums, series). A music or video block can show one collection or everything.
LibraryAcceptsStored as
PicturesJPEG, PNG, WebP, up to 30 MB and 40 megapixelsWeb-sized (2560 px) plus an 800 px thumbnail, location and camera metadata removed
MusicMP3, WAV, FLAC, Ogg, M4A, AAC, up to 250 MBUnchanged
VideosMP4, up to 2 GB, with an optional poster pictureUnchanged; streamed in the page

Exporting videos. Export an MP4 with H.264 video and AAC sound (AV1 or VP9 in an MP4 also play). Any frame rate and size up to 4K works. Turn on "fast start" or "web optimised" if your editor has it, so playback starts sooner; the upload says if it's missing. HEVC (H.265) video is refused with a note on what to export instead, because most browsers can't play it. When an upload finishes, the panel shows what was found, for example 1920×1080 · 60 fps · 12:34.

Files

Files holds anything visitors download: releases, PDFs, fonts, a press kit. Any kind of file, up to 2 GB, uploads in pieces like music and videos (it carries on if the connection drops) and is kept exactly as uploaded.

  • Each file keeps its own name for the download (cleaned to letters, digits, dots and dashes), with its size and sha256 worked out on upload, so visitors can check what they downloaded. Give it a version (such as 1.2.0) in its panel; it's shown with the download.
  • Each file has a page (/file/…/) with its download button, likes, comments and sharing, and tags like everything else.
  • The Download block puts one file, or a list (all, a collection or a tag), on any page.
  • Downloads are counted, shown beside each file and in its panel: once each time it's fetched; robots aren't counted, and nothing about who downloaded it is kept.
  • Files are only ever sent as downloads, never shown as a page of your site, so even an uploaded web page can't run as part of it.
  • Files are in backups, with the rest of the media.

Articles

Articles lists your writing; new article opens the editor.

  • Write in Markdown on the left; the right side shows the article as visitors will see it.
  • Drafts save as you type. A published article changes only when you press update.
  • Drag or paste pictures into the text. They're uploaded and placed where your cursor is.
  • The toolbar's picture button puts in a picture from the library (it opens in the Articles folder), and library anything from your libraries: a video or track that plays in the article, or a file to download (see the Markdown above). The RSS feed carries them too.
  • Published articles appear at /blog/?post=…, in the RSS feed (/blog/feed.xml), in the sitemap, and in any Article list block.
  • Visitors can like articles and leave comments (see Comments).

Site

Settings

SettingUse
Site nameShown at the top of every page and in browser tabs.
FooterText at the bottom of every page. Links work as [text](https://…); {year} becomes this year and {site} the site name, so © {year} · {site} (the default on new sites) stays current. Leave it empty for no footer.
AuthorYou or your organisation: used for bylines and search engines, and reserved so commenters can't impersonate you.
Site descriptionThe summary used when a page has none of its own.

Logo & icons

Under Look → Logo & icons, the pictures that stand for the site:

PictureUse
LogoOptional. Shown at the top of every page, beside the site name or instead of it. A PNG with a transparent background suits every theme. Choose small, medium or large.
FaviconThe little icon in browser tabs and on phone home screens. Upload a square picture of at least 512 px; anything else is cropped to the middle.
Share pictureWhat links to your site show on social media and in chat apps (cropped to 1200 × 630). An article with its own picture uses that instead.

Search & sharing

  • Let search engines list this site. Switch it off while you build. Every page is then marked noindex and robots.txt asks search engines to stay away. Switch it on at launch.
  • This site belongs to a person or an organisation. Search engines can show this owner beside your site (from the Author setting and favicon).
  • Language of your pages: en, en-US, fr, pt-BR…
  • Google Search Console and Bing Webmaster Tools codes prove you own the site. Paste the code, or the whole <meta> tag they give you. After verifying, submit your sitemap: https://your-domain/sitemap.xml.
  • Page check: every page's title and description length, at a glance.
  • Redirects: old addresses that forward to new ones. They're added automatically when you change a page's address, and you can add your own, for example from a previous site's URLs.

What's built in for search engines, with no setup:

  • clean page addresses, sitemap.xml and robots.txt
  • canonical links
  • Open Graph and Twitter card tags on every page
  • structured data: the site and its owner, each article, and each product
  • an RSS feed
  • small, fast pages

Mail

The contact form sends through Postmark. The Mail screen runs separately from the rest of the admin, under the contact form's own account, so your Postmark token never passes through anything else.

  1. Create a Postmark account and a server for the site. The free plan covers a contact form.
  2. Verify your domain in Postmark (Sender Signatures → Add Domain), then add the two DNS records Postmark shows you at your DNS provider:

    • DKIM: a TXT record. Copy its name and value exactly from Postmark.
    • Return-Path: a CNAME from pm-bounces.your-domain to pm.mtasv.net.

    Press Verify in Postmark. DNS changes can take up to an hour.

  3. Paste the server token (Postmark → your server → API Tokens). It's checked with Postmark before it's saved, and never shown again.
  4. Set the sender: an address on your verified domain (it needs no mailbox of its own) and a name, such as your site's name. Replies go straight to the visitor who wrote.
  5. Set the receiving address, where contact messages are delivered, in the messages box. Then send a test message from the same box. Visitors never see the address.

The screen has three boxes. Postmark holds the status, the token and the sender, with these setup steps folded away beneath (open until a token is saved). Messages has the receiving address and the test. The status shows whether the token works and whether your Return-Path record points at Postmark. Recent deliveries lists what was sent or refused. If something fails, the screen explains Postmark's reason in plain words: an unverified sender, an account still awaiting approval, a bounced address, and so on.

New Postmark accounts can only send to addresses on their own domain until Postmark approves them. Request approval from your Postmark account page.

Themes

Site → Look → Themes sets how the site looks. A theme is a set of files (its CSS, sometimes pictures and fonts) with a light and a dark variant; each variant has its own colours, fonts and page width. Visitors choose a theme from the menu in the navigation bar and switch between its light and dark with the ☾ / ☀ button beside it; you choose what new visitors see.

Variants (at the top), in the order the visitors' menu lists them: drag one by its handle (⠿) to move it.

  • shown lets visitors choose it. Show both of a theme's variants for its light/dark switch to appear.
  • make default is what new visitors see.
  • edit changes its colours, fonts and width, with a live preview. If they're no longer the theme's own (you changed them, or an update brought new ones), use the theme's colours puts the theme's back.
  • preview ↗ opens the site in that variant without changing anyone's choice.
  • … holds move up / down (the menu's order), duplicate (your own variant to experiment with, starting hidden) and delete.

More themes lists every theme that came with the release (and any you upload as NAME-VERSION.tar.gz): install adds one, its variants appear above, hidden until you show them. Installed themes offers update to X when a newer version arrives with a release or an upload (your variants keep their colours until you choose use the theme's colours), and remove in its … menu.

On the site has two switches: Let visitors choose a theme (off, everyone sees the default, without the light/dark switch) and Window title bars.

To make a theme of your own, see the README in the themes' folder: a theme is a folder with theme.json and theme.css, uploaded as a .tar.gz.

Notifications

Owners see Notifications in the sidebar, under Site, with a count when something is new: a newer release of BlowfishCMS, or of an add-on or theme installed here. Each new one also pops up once, in the corner of the next admin page you open. The Notifications screen lists them, each with open (where it's updated) and dismiss; check now asks the server to look straight away. It looks every night by itself. update all add-ons and themes updates every add-on and theme with an update in one go (as update all on the Add-ons screen); several that arrive together pop up as one, with the same button. BlowfishCMS itself is always updated on its own, from the System screen: its update runs the tests first and can be rolled back, and add-ons sometimes need the new release.

To get them by email as well, set an update alerts address on the Mail screen (in the messages box). Each notice is emailed once, through Postmark. Nothing is ever installed until an owner presses update.

Tags, likes, comments and sharing

Every picture, track, video, file and article has a page of its own, which visitors can like, comment on and share (pictures at /picture/…/, tracks at /track/…/, videos at /video/…/, files at /file/…/; galleries and lists link to them, and the picture viewer has a link to its page). Pictures kept out of galleries have no page.

  • Tags. Give anything tags in its edit panel (or under an article's text), such as #travel #night. Each links to a page listing everything with that tag, of every kind; /tags/ lists them all. Gallery, slideshow, music, videos and posts blocks can show only items with one tag.
  • Turning likes and comments off. Each library has a switch under its list (likes and comments on picture pages), and each item its own, in its panel (Likes and comments on this one). Sharing stays.

Comments

Comments and likes are kept in their own database, separate from everything else.

Visitors comment without an account, and comments appear at once. The first browser to use a name owns it, so nobody else can comment under that name.

  • Recent comments shows the newest; a badge in the sidebar counts the last seven days. The Articles list links each article's own comments, and the list can be narrowed to one library or one item.
  • shown, a switch: off takes a comment off the site but keeps it; on puts it back. In its … menu, delete removes it for good and release username frees the commenter's name for anyone to use; existing comments keep it.
  • Built-in protection:
    • a trap for spam bots;
    • limits: 3 comments in 5 minutes and 20 a day from one visitor, 300 a day in all, and at most two links in a comment;
    • your author name, the site name and every admin user's name are reserved, so visitors can't post as you.

Analytics

Site → Analytics (owners only) shows how many people visit and what they look at: page views, visitors and visits per day, with the change on the period before, then four lists: pages (articles by their titles), where visits came from, where visitors are (countries and places, such as Las Vegas, NV, United States), and their devices (with browsers and systems). Each list shows its first few; show all opens the rest, and a name cut short shows in full when you point at it. Choose 7 days, 30 days, 90 days or a year at the top. Under more, at the foot, are the tagged link maker, how the numbers are made, and the switch.

  • Visits lists each visit, newest first: when, where it came from (and how that's known), the place, the device and how many pages. Open one to see its pages in order, each with its time. Came from shows only the visits from one place (only LinkedIn's, say). A visit is one visitor's pages until half an hour passes without one, or they arrive again from somewhere else.
  • Came from counts each visit once, where it arrived from: a known site or app by name (LinkedIn, YouTube, Steam, Facebook, Instagram, X, Reddit, Discord, GitHub, Google, Gmail…, whether the link was opened on their website or in their Android app), else the referring site's address. Not known is a visit whose browser didn't say: links opened from many apps, emails, chats, PDFs and QR codes, bookmarks and typed addresses.
  • Tagged links fill that gap: add ?ref= and a word to a link you post (https://your-site/resume/?ref=linkedin), and every visit from it is counted under that word, from an app as from a website. Make a tagged link to share (under more) builds one. The word leaves the address once the page opens, so an address someone copies and passes on doesn't carry it. ?utm_source= works too.

  • Only owners see it. There's no public page, no cookie is set, and no address is kept: a visitor is counted once a day from a hash made with a random value that's thrown away at the end of the day, and a visit keeps no hash.

  • Search engines' and other robots' visits aren't counted, nor are pages that are off or don't exist.
  • A browser you've used to sign in to the admin isn't counted. The count my visits from this browser switch at the foot of the screen changes that.
  • Places are looked up from the visitor's address in a city database on your server (DB-IP's free IP to City Lite, which the server fetches once a month), and only the place is kept, never the address; nothing is sent anywhere to look it up. A place from an address is a good guess, not a fact: phones, company networks and VPNs often show up as the nearest big city, or where their provider is. Places start once the server has the database (the night after updating, or at once with doas blowfishctl places); views from before have none.
  • Numbers are kept for two years; visits, page by page, for 90 days. A visitor's visits are linked within a day, not from one day to the next (that would need a cookie, and with it a consent banner in many places).
  • turn Analytics off (at the foot) stops the counting and takes its small script off the public pages; the numbers so far are kept. turn Analytics on starts again.

System

Owners only: update, roll back and back up without the command line. The admin runs without root, so it files a request and the server carries it out within a minute (root's crontab runs blowfishctl requests); the screen refreshes itself and lists recent requests with their logs.

Release:

  • It shows the version the site runs. upload a release (blowfishcms-X.Y.Z.tar.gz) to update to it.
  • Updates from is where newer releases are looked for: the address of a site's Repositories add-on, such as https://example.org/x/repos/. With one set, the server looks every night (or press check for updates) and offers update to X, checking the release against its published sha256. Leave it empty to upload releases yourself.
  • An update runs the release's tests, switches over, and puts the previous code back by itself if the site doesn't come up. A progress bar shows the step it's on and about how long is left.
  • Each release brings the newest add-ons and themes: the update lists them on the Add-ons screen and Themes tab and updates the ones the site has.
  • roll back puts back the code from before the last update; pages, pictures and settings stay as they are.
  • Only upload releases from a source you trust: an update can change anything on the server. See OPERATIONS.md.

Backups:

  • The server backs up every night between 3 and 4 a.m. and keeps the newest 14 (choose 1 to 30, or turn it off). The box shows how last night went and the space used.
  • back up now makes the same backup as blowfishctl backup (without passwords or tokens); backups you make are never removed by themselves.
  • Download the three newest here and keep them somewhere other than the server. delete in a backup's … menu removes it for good.

If the screen says requests aren't being picked up, root's crontab lost its BlowfishCMS lines: doas blowfishctl httpd puts them back.


Add-ons

Add-ons are optional features. Every one comes with each release, listed on Site → Add-ons under available with what it does and any outside service it uses. Nothing runs until you install it.

  • install puts it on the server and switches it on. Most make their own page (Shop, Services, Events, …), which starts off so you can fill it first; they also add blocks to the page editor and their own tabs beside Add-ons.
  • on, a switch: an add-on that's off isn't loaded; its page answers "not found" and its blocks are hidden until it's back on.
  • remove, in its … menu, takes it off the server (switching it off first if it's on); its data is kept in case you install it again.
  • update to X appears when a newer version arrives (updating BlowfishCMS brings the newest of all of them), and update all add-ons does several at once. Updates are never installed by themselves.
  • upload adds an add-on archive (NAME-VERSION.tar.gz) that's newer than your release's. Add-ons run with the site's rights, so only upload ones you trust.

The server carries out installs, updates and removals within a minute or two, and the screen refreshes by itself; if one fails it says so, with a link to what happened.

An add-on's page is edited like any page (in Pages, or its Page tab). If you delete it, make a page at its address (/shop/, /resume/…) and the add-on takes it back.

Add-onWhat it does
BlogThe Blog page, with its articles, feed, likes and comments
StoreProducts in a cart, paid on Stripe's checkout page; an email for each order
ServicesWhat you offer and its prices, booked online: visitors answer your questions, suggest times and pay through Stripe; you confirm and ask for payment on its Bookings tab
EventsWhat's coming up and what's past, with calendar links
FormsForms with your own questions; answers emailed and kept on its Answers screen
NewsletterA sign-up block, your subscriber list, and issues sent from its tab
Photography, Music, VideosA page for each library
ContactThe contact page (the contact form itself is built in)
LinksA page of links to your profiles and projects elsewhere
ResumeA resume page, also downloadable as a PDF
RepositoriesCode hosted on your site, browsed like GitHub; it can also serve BlowfishCMS's own updates
LiveLive video from OBS on a Live page, each stream saved to the Videos library afterwards
CoursesFree courses, each written as one Markdown document: a page per week with its lectures, reading, exercises and assignment; learners tick things off and score their work, their progress kept in their own browser
GitHub projectsA block listing your public GitHub repositories

Each add-on's own guide is the README.md in its folder. Add-ons that send email use the Postmark connection on the Mail screen.

To manage add-ons from the server, see OPERATIONS.md; to write one, see ADDONS.md.