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 | Sell items from your pages: a cart, payment on Stripe's own checkout page, and an email for each order. | store/README.md |
| Repositories | 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 |
| 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 |
| GitHub projects | A searchable list of your public GitHub repositories, refreshed hourly. | github/README.md |
| Links | A list of links on a Links page of its own, and a block for any page. | links/README.md |
| 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 |
| Music | A Music page with a player for your music library, set from this tab. | music/README.md |
| Videos | A Videos page of your video library, newest first, with tag buttons for visitors. | videos/README.md |
| Contact | A Contact page with a form visitors use to message you, its wording set from this tab. | contact/README.md |
| Blog | A Blog page with your articles, their RSS feed, likes and comments. | blog/README.md |
| Resume | A Resume page filled in from its tab, and the same resume as a PDF made on your server. | resume/README.md |
| Events | An Events page of what's coming up and what's past, with calendars to add or subscribe to. | events/README.md |
| Forms | Your own forms for any page; answers emailed to you and kept on an Answers screen. | forms/README.md |
| Newsletter | A sign-up block with email confirmation, your subscriber list, and issues sent through Postmark. | 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/NAMEon the server and switches it on. - update to X appears when an uploaded add-on's
versionis 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.