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.

BSD

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>
int
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

httpd(8)

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

SQLite

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.

FAQ

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?
OpenBSD developers maintain an extensive list of support options, but these mostly relate to system administration. A better option is to contact your local user group; or if an event is upcoming, attend and make enquiries in person. Falling through these options, polite enquiry on OpenBSD's misc mailing list might get you pushed in the right direction.
Wasn't this site once funnier?
Yes. But some folks confused humour with levity.