whatisgithub

What is foundry?

sphireinc/foundry — explained in plain English

Analysis updated 2026-05-18

183GoAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A Markdown-first CMS written in Go that can run as a static site generator or a live server with an admin panel.

Mindmap

mindmap
  root((Foundry CMS))
    What it does
      Markdown first content
      Static or live server
      Admin UI
    Tech stack
      Go
      Docker
      Playwright
    Use cases
      Blogs and marketing sites
      Headless CMS API
      Plugin extensions
    Audience
      Developers
    Setup
      Docker quick start
      Session secrets
      Two runtime modes

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run a blog or marketing site where content is written as Markdown files in git.

USE CASE 2

Serve a headless CMS with a live JSON API for a separate frontend.

USE CASE 3

Build a static site for deployment behind a CDN or object storage.

USE CASE 4

Extend the CMS with compiled Go plugins or isolated out of process plugins.

What is it built with?

GoMarkdownDockerPlaywright

How does it compare?

sphireinc/foundryinternetkafe/deathcorepgrwl/pgrwl
Stars183179159
LanguageGoGoGo
Setup difficultymoderatemoderatemoderate
Complexity3/54/54/5
Audiencedeveloperops devopsops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Docker is the fastest path to a local instance, production use requires setting explicit session secrets.

The available README content does not state a license.

So what is it?

Foundry is a content management system written in Go that stores pages and posts as Markdown files with frontmatter instead of a database. It is built for teams who want a file based writing workflow while still keeping CMS features like taxonomies, themes, plugins, RSS and sitemap output, and an admin interface. The README explains that Foundry can run two ways. In "build" mode it generates a static site into a public folder, ready to deploy behind a CDN or object storage. In "serve" mode it runs as a long running process with a themeable admin panel mounted at /__admin and a live JSON API, so it works as a headless CMS as well. Content is stored the same way in both modes, so a project can move between static and server setups without changing how content is written or tracked in git. The admin login on a fresh install is admin and admin, and the README recommends setting a proper session secret before using it for anything real. Foundry supports two kinds of plugins: compiled Go plugins for deep integration, and separate out of process plugins that run isolated from the main program. Themes control layout, and the system tracks dependencies between documents, templates, and data files so that only what changed gets rebuilt during development, which speeds up the local preview server's live reload. The quickest way to run it locally is through Docker, using a provided setup script and docker compose file. A separate production compose file requires explicit secrets, runs with a read only filesystem, drops Linux capabilities, and stores only hashed session tokens rather than plain ones. The project layout separates the CLI, admin code, content loading, rendering, and plugin systems into distinct Go packages, and it uses Playwright for local browser testing of its default themes.

Copy-paste prompts

Prompt 1
Walk me through setting up Foundry locally with Docker using the provided scripts.
Prompt 2
Explain the difference between Foundry's build mode and serve mode.
Prompt 3
Help me write a first compiled Go plugin for Foundry's admin UI.
Prompt 4
What environment variables do I need to set before running Foundry's production Docker compose file?

Frequently asked questions

What is foundry?

A Markdown-first CMS written in Go that can run as a static site generator or a live server with an admin panel.

What language is foundry written in?

Mainly Go. The stack also includes Go, Markdown, Docker.

What license does foundry use?

The available README content does not state a license.

How hard is foundry to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is foundry for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.