bchs stack

BSD, C, httpd, SQLite.

BCHS is an open source software stack for web applications. To prepare a BCHS environment, install OpenBSD, start your editor of choice, and get to work.

How does a BCHS system look? See a trivial example.

Stack components

why bchs? because the open internet is inhospitable.


OpenBSD. World-renowned for its focus on security and documentation. Reliable six-month releases. Binary patching. It takes the guess-work out of your environment.

the C Programming Language

C is a straightforward, non-mustachioed language. It has full access to the kernel's system calls and a massive set of development tools and libraries.

#include <stdio.h>
main(int argc, char *argv[])
	puts("Hello, world!");
	return 0;
% curl -sD- -o/dev/null https://www.openbsd.org
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 5181
Content-Type: text/html
Date: Wed, 28 Mar 2018 03:15:19 GMT
Last-Modified: Sun, 25 Mar 2018 18:08:04 GMT
Server: OpenBSD httpd


OpenBSD's home-grown web server. If you need more features for your web application, submit a patch.


SQLite is a self-contained, embeddable, zero-configuration database. It's a practical solution for the majority of database needs. Just pkg_add sqlite3 and you're ready.

BCHS is a stable, developer-oriented platform.

Get used to minimalism and security: componentised, privilege-separated binaries in file-system jails. Most of all, forget your instincts to search Google and StackExchange for every parameter and function call: man pages are your new best friend.

Articles, events, conference talks…

have more links? let us know.


questions from the internet.

Is BCHS a joke?
Software development is full of jokes. This is not one of them.
How do I pronounce BCHS?
It's pronounced /biːtʃəz/, beaches. Or just Bee See Haich (or Aich) Ess.
How can I hire BCHS developers?
Try BSDjobs.com.
Wasn't this site once funnier?
Yes. But some folks confused humour with levity.