Skip to content

fermyon/bartholomew

Folders and files

NameName
Last commit message
Last commit date
Feb 18, 2025
Dec 5, 2023
Nov 29, 2023
Sep 25, 2024
Feb 19, 2025
Mar 1, 2023
Apr 11, 2023
Jan 8, 2025
Jan 8, 2025
Aug 31, 2021
Feb 17, 2025
Jan 8, 2025
Oct 28, 2022

Bartholomew MicroCMS

Bartholomew is a simple CMS-like tool for hosting a website. It is compiled entirely to WebAssembly, and can run in any Spin-capable system.

The screenshot below shows how Bartholomew is implemented as the official Fermyon website.

Bartholomew screenshot

Bartholomew Documentation

Check out the official documentation and please raise any issues or ask any questions; we are here to help :)

Prerequisites

To run the Bartholomew CMS, you'll need Spin.

To build Bartholomew or the bart command line tool from source, you'll need Rust.

Basic Authentication

Bartholomew can enforce basic authentication. To enable basic authentication, update the environment for your Spin component and provide the following variables:

environment = { BASIC_AUTH_USERNAME = "bob", BASIC_AUTH_PASSWORD = "foobar" }

Optionally, you can configure the realm value of the WWW-Authenticate header sent when requests do not contain an Authorization header:

environment = { BASIC_AUTH_USERNAME = "bob", BASIC_AUTH_PASSWORD = "foobar", BASIC_AUTH_REALM = "my-realm" }

Building Bartholomew locally

To build bartholomew on your local machine, you must have rust and the wasm32-wasi target installed. Run the following command to build it:

cargo build --target wasm32-wasip1 --release