Home / Docs

Docs

Documentation

Everything you need to install, configure, and extend BinaryCMS.

Installation

Download the latest binary for your platform and start it in your working directory:

./server          # defaults to port 8080
PORT=80 ./server  # bind to port 80 (requires setcap or root)

On first run, BinaryCMS creates cms.db and seeds a default admin account admin / admin.

Configuration

All settings are managed through Admin → Core Settings. There is no config file — everything is stored in the database. Key environment variables:

PORT HTTP port to listen on (default: 8080)
GOCMS_SESSION_SECRET 32-byte secret for session cookies (auto-generated if not set)

Shortcodes

Shortcodes let you embed dynamic plugin content inside any page. Available shortcodes from the Digital Products plugin:

ShortcodeDescription
Mikrotik RouterOS Hotspot Manager

Mikrotik RouterOS Hotspot Manager

Easy to use Wi

Loading…
Renders the full product grid with modal detail view

Your Cart

Loading cart…
Shopping cart + checkout form

My Downloads

Enter your email address to view your purchases and download links.

Customer download portal (email lookup)
Product "x" not found.
Single product page with Add to Cart
No products found.
Filtered product grid by category

Installing Plugins

  1. Place the compiled plugin binary in the plugins/ directory next to your server binary
  2. Navigate to Admin → Plugins and click Activate
  3. The plugin starts in an isolated process — no server restart required

Plugin Development

Plugins are standalone Go programs implementing the CMSPlugin interface via hashicorp/go-plugin. Visit Admin → Plugins → Developer Guide for the full API reference and a starter template.