BlowfishCMS
A small, fast content management system for OpenBSD: one Perl application, SQLite and OpenBSD's own httpd. No PHP, no framework, no JavaScript build step. One site per server.
What you get
- Pages built from blocks: text, pictures, galleries, video, music, hero headers, cards, pricing, questions and answers, contact form and more, edited on the page itself, with Markdown for longer text.
- Libraries for pictures, music, videos and files, with tags, likes, comments and sharing.
- Themes: fifteen, each with a light and a dark look; visitors can choose one and switch between light and dark.
- Add-ons you switch on when you need them: Blog, Store (Stripe), Services and booking, Events, Forms, Newsletter, Courses (free courses with progress tracking), Resume, Repositories (code hosted on the site), Live streaming, and more.
- Built in: search engine tools, analytics kept on your own server, mail through Postmark, admin users with two-step sign-in, nightly backups, and updates and roll-backs from the admin.
Each release carries every add-on and theme, ready to install from the admin.
Install
On a fresh OpenBSD server, with your domain pointing at it:
ftp https://…/blowfishcms-0.40.6.tar.gz # the release's download address, or copy it across with scp
tar -xzf blowfishcms-0.40.6.tar.gz && cd blowfishcms-0.40.6
doas ./bin/blowfishctl install --domain example.org --alias www.example.org --admin alice
On a brand-new server where doas isn't set up yet, run the last line as
root instead (su -, then ./bin/blowfishctl install …); install sets doas
up for you. Then open https://example.org/admin/.
docs/INSTALL.md walks through it step by step.
Documentation
| Guide | For |
|---|---|
| INSTALL | Putting a new site on a server |
| ADMIN-GUIDE | Using the admin: pages, libraries, themes, add-ons, settings |
| OPERATIONS | Updates, backups, logs and troubleshooting on the server |
| SECURITY | What's protected, and a checklist before you launch |
| ADDONS | Writing your own add-on |
On the server, man blowfishctl lists every command.
Developing
lib/ is the application, bin/blowfishctl the server tool, cgi-bin/site.pl
runs a request (and the maintenance commands), and tests/ holds the suites,
each of which builds a throwaway site. Run them through CGI and FastCGI:
for t in $(sed 's/#.*//' tests/update-suites | grep -v upgrade); do
python3 tests/$t.py cgi-bin/site.pl && python3 tests/$t.py tests/fcgi-cgi.pl
done
Licence
ISC; see LICENSE.