repository

BlowfishCMS

A small content management system for OpenBSD

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

58 lines · 3.8 KB · view it drawn · download this file

# BlowfishCMS add-ons

Optional features for BlowfishCMS, one folder each. A site installs one by
uploading its archive (`NAME-VERSION.tar.gz`, or an archive of all of them)
on its admin's **Add-ons** screen; it joins the site's list, where **install**,
**update to X** and **update all** put it on the server when an owner asks.
Updates are never installed by themselves.

| Add-on | What it does | Guide |
|---|---|---|
| [Store](store/) | Sell items from your pages: a cart, payment on Stripe's own checkout page, and an email for each order. | [store/README.md](store/README.md) |
| [Repositories](repos/) | Code hosted on your site and browsed like GitHub, from releases you upload; it can serve BlowfishCMS's own updates, add-ons and themes. | [repos/README.md](repos/README.md) |
| [Live](live/) | Live video from OBS on your own site: a Live page and block that play the stream, and a picture and note while you're not live. Each stream is saved to the Videos library. | [live/README.md](live/README.md) |
| [GitHub projects](github/) | A searchable list of your public GitHub repositories, refreshed hourly. | [github/README.md](github/README.md) |
| [Links](links/) | A list of links on a Links page of its own, and a block for any page. | [links/README.md](links/README.md) |
| [Photography](photography/) | A Photography page showing your picture library as a gallery (pictures kept out of galleries stay out), with its gallery set from this tab. | [photography/README.md](photography/README.md) |
| [Music](music/) | A Music page with a player for your music library, set from this tab. | [music/README.md](music/README.md) |
| [Videos](videos/) | A Videos page of your video library, newest first, with tag buttons for visitors. | [videos/README.md](videos/README.md) |
| [Contact](contact/) | A Contact page with a form visitors use to message you, its wording set from this tab. | [contact/README.md](contact/README.md) |
| [Blog](blog/) | A Blog page with your articles, their RSS feed, likes and comments. | [blog/README.md](blog/README.md) |
| [Resume](resume/) | A Resume page filled in from its tab, and the same resume as a PDF made on your server. | [resume/README.md](resume/README.md) |
| [Events](events/) | An Events page of what's coming up and what's past, with calendars to add or subscribe to. | [events/README.md](events/README.md) |
| [Forms](forms/) | Your own forms for any page; answers emailed to you and kept on an Answers screen. | [forms/README.md](forms/README.md) |
| [Newsletter](newsletter/) | A sign-up block with email confirmation, your subscriber list, and issues sent through Postmark. | [newsletter/README.md](newsletter/README.md) |

Analytics was an add-on in BlowfishCMS 0.22.0; since 0.22.1 it's part of
BlowfishCMS (Site, Analytics), and an installed copy isn't loaded.

## Installing

- **Upload** an add-on's archive on the Add-ons screen (or on the server:
  `doas blowfishctl addon add NAME-1.0.0.tar.gz`). An archive of several
  add-ons adds them all. One older than the list's copy is left out.
- **install** copies an add-on's folder to `/opt/blowfishcms-addons/NAME` on
  the server and switches it on.
- **update to X** appears when an uploaded add-on's `version` is newer than
  the installed one.
- A server can also take the add-ons from an address each night: put the
  address of an archive (such as a Repositories add-on's
  `/x/repos/NAME/archive/latest.tar.gz`) in `/etc/blowfishcms-addons-url`.

## Writing an add-on

Read BlowfishCMS's `docs/ADDONS.md`:
the folder, `addon.json`, the hooks, services, settings and secrets, testing
and documenting. In short:

```
NAME/
  addon.json      what it is and what it adds
  lib/Name.pm     its code: package BlowfishCMS::Addon::Name
  public/         CSS and JS, served at /addons/NAME/
  README.md       the site owner's guide
```

## Licence

ISC; see `LICENSE`.