ponzu is a free, open source content management systems (cms) project written in Go and released under BSD-3-Clause. It has 5,757 GitHub stars, 384 forks and 35 open issues, and was last pushed 10 months ago. On this registry it ranks #15 of 47 tracked projects in Content Management Systems (CMS), with 5 head-to-head comparisons available. It gained 1 stars over the last 3 tracked days.

What is ponzu?

Ponzu is an open-source, BSD-3-Clause licensed HTTP server framework and headless CMS written in Go that serves an automatic JSON API and obtains its own TLS certificates from Let's Encrypt, aimed at developers who need a fast content backend for web and mobile apps rather than a page-rendering website builder.

What it is

Ponzu is a Go HTTP server framework and content management system distributed as a single binary plus assets, with an embedded database (BoltDB) in place of an external datastore. Content types are generated from the command line: running ponzu gen content song title:"string" artist:"string" rating:"int" opinion:"string":richtext spotify_url:"string" writes content/song.go with the struct definition, field tags such as json:"title", and boilerplate methods. The framework exposes those types through a JSON HTTP API and through a CMS dashboard for editing content, while handling HTTP/2, Server Push, and TLS itself. Development mode auto-generates self-signed certificates; production fetches auto-renewing certificates from Let's Encrypt.

The concrete problem it addresses is the gap between a full CMS such as WordPress and a general web framework such as Rails. With the rise of web and mobile apps connected to JSON HTTP APIs, developers need content servers that return fast JSON in high-concurrency environments, where template-driven CMS platforms and page-oriented frameworks become awkward. Ponzu targets the Go ecosystem directly: Go 1.8 or newer is required because of HTTP/2 Server Push, and generated content types become API resources without a separate reverse proxy for TLS termination.

Key capabilities

  • ponzu new creates a project directory under $GOPATH/src, cloning github.com/ponzu-cms/ponzu over the network if no local copy exists.
  • generate, gen, and g produce boilerplate code for components such as content, including struct fields, field tags, and methods.
  • Field type specifiers include string, int, and richtext, declared per field in the generator command.
  • Automatic free SSL/TLS, with self-signed certificates in development and auto-renewing Let's Encrypt certificates in production.
  • HTTP/2 with Server Push, requiring Go 1.8 or newer on the server; clients are not required to make HTTP/2 requests.
  • A bundled, extensible CMS and administration dashboard for managing generated content types.
  • Simple deployment as a single binary plus assets, backed by embedded BoltDB storage.

Who uses it and how

  • Go developers building content backends for web and mobile apps that consume JSON over HTTP, where response speed under load matters more than server-rendered pages.
  • Teams that would otherwise reach for WordPress to get a CMS or Rails for rapid development, but need a JSON API instead.
  • Small teams avoiding a separate database and certificate workflow, since BoltDB is embedded and TLS certificates are managed automatically.
  • Projects shipped as one binary plus assets, which suits simple hosting over a multi-service stack.
  • Editors working through the bundled CMS dashboard rather than through raw API calls.

Getting started

Install with go get -u github.com/ponzu-cms/ponzu/..., then create a project with ponzu new and manage it through ponzu command [flags]. Documentation lives at https://docs.ponzu-cms.org.

How it compares

The facts provide no list of paid products, so placement rests on the alternatives named in the README. Ponzu is positioned against WordPress and Rails: it fills the space where a developer would reach for WordPress for a CMS or Rails for rapid development, but needs fast JSON responses in a high-concurrency environment. The maintainers now direct anyone wanting an open-source HTTP server with built-in SSL/TLS support to Caddy Server instead.

When to use it — and when not to

Ponzu is marked abandoned in its own README, with a maintainers-wanted notice, so it should not be picked by anyone who needs an actively maintained dependency, prompt security fixes, or predictable releases. Self-hosting means operating a Go 1.8-or-newer toolchain and a working $GOPATH layout, though the embedded BoltDB and automated certificate handling remove the need for a separate database or certificate process. Teams that only need an HTTP server with built-in TLS are told by the maintainers themselves to use Caddy Server.

project readme (upstream, from github) — read inline

[!WARNING]
This project is currently abandoned, if you're looking for an open source HTTP Server with built in SSL/TLS support, feel free to try out Caddy Server.

Caddy

</a>

a project

[!NOTE]
If you're interested in regularly contributing to Ponzu CMS (with monetary compensation included) - feel free to reach out to us at [email protected]


Ponzu

Current Release GoDoc CircleCI Build Status

Watch the video introduction

Ponzu is a powerful and efficient open-source HTTP server framework and CMS. It provides automatic, free, and secure HTTP/2 over TLS (certificates obtained via Let's Encrypt), a useful CMS and scaffolding to generate content editors, and a fast HTTP API on which to build modern applications.

Ponzu is released under the BSD-3-Clause license (see LICENSE). (c) Boss Sauce Creative, LLC

Why?

With the rise in popularity of web/mobile apps connected to JSON HTTP APIs, better tools to support the development of content servers and management systems are necessary. Ponzu fills the void where you want to reach for Wordpress to get a great CMS, or Rails for rapid development, but need a fast JSON response in a high-concurrency environment.

Because you want to turn this:

$ ponzu gen content song title:"string" artist:"string" rating:"int" opinion:"string":richtext spotify_url:"string"

Into this:

Generated content/song.go

What's inside

  • Automatic & Free SSL/TLS1
  • HTTP/2 and Server Push
  • Rapid development with CLI-controlled code generators
  • User-friendly, extensible CMS and administration dashboard
  • Simple deployment - single binary + assets, embedded DB (BoltDB)
  • Fast, helpful framework while maintaining control

1 TLS:

  • Development: self-signed certificates auto-generated
  • Production: auto-renewing certificates fetched from Let's Encrypt

Documentation

For more detailed documentation, check out the docs

Installation

$ go get -u github.com/ponzu-cms/ponzu/...

Requirements

Go 1.8+

Since HTTP/2 Server Push is used, Go 1.8+ is required. However, it is not required of clients connecting to a Ponzu server to make HTTP/2 requests.

Usage

$ ponzu command [flags] <params>

Commands

new

Creates a project directory of the name supplied as a parameter immediately following the 'new' option in the $GOPATH/src directory. Note: 'new' depends on the program 'git' and possibly a network connection. If there is no local repository to clone from at the local machine's $GOPATH, 'new' will attempt to clone the 'github.com/ponzu-cms/ponzu' package from over the network.

Example:

$ ponzu new github.com/nilslice/proj
> New ponzu project created at $GOPATH/src/github.com/nilslice/proj

Errors will be reported, but successful commands return nothing.


generate, gen, g

Generate boilerplate code for various Ponzu components, such as content.

Example:

            generator      struct fields and built-in types...
             |              |
             v              v    
$ ponzu gen content review title:"string" body:"string":richtext rating:"int"
                     ^                                   ^
                     |                                   |
                    struct type                         (optional) input view specifier

The command above will generate the file content/review.go with boilerplate methods, as well as struct definition, and corresponding field tags like:

type Review struct {
	Title  string   `json:"title"`
	Body   string   `json:"body"`
	Rating int      `json:"rating"`
}

The generate command will intelligently parse more sophisticated field names such as 'field_name' and convert it to 'FieldName' and vice versa, only where appropriate as per common Go idioms. Errors will be reported, but successful generate commands return nothing.

Input View Specifiers (optional)

The CLI can optionally parse a third parameter on the fields provided to generate the type of HTML view an editor field is presented within. If no third parameter is added, a plain text HTML input will be generated. In the example above, the argument shown as body:string:richtext would show the Richtext input instead of a plain text HTML input (as shown in the screenshot). The following input view specifiers are implemented:

CLI parameter Generates
checkbox editor.Checkbox()
custom generates a pre-styled empty div to fill with HTML
file editor.File()
hidden editor.Input() + uses type=hidden
input, text editor.Input()
richtext editor.Richtext()
select editor.Select()
textarea editor.Textarea()
tags editor.Tags()

build

From within your Ponzu project directory, running build will copy and move the necessary files from your workspace into the vendored directory, and will build/compile the project to then be run.

Optional flags:

  • --gocmd sets the binary used when executing go build within ponzu build step

Example:

$ ponzu build
(or)
$ ponzu build --gocmd=go1.8rc1 # useful for testing

Errors will be reported, but successful build commands return nothing.


run

Starts the HTTP server for the JSON API, Admin System, or both. The segments, separated by a comma, describe which services to start, either 'admin' (Admin System / CMS backend) or 'api' (JSON API), and, optionally, if the server should utilize TLS encryption - served over HTTPS, which is automatically managed using Let's Encrypt (https://letsencrypt.org)

Optional flags:

  • --port sets the port on which the server listens for HTTP requests [defaults to 8080]
  • --https-port sets the port on which the server listens for HTTPS requests [defaults to 443]
  • --https enables auto HTTPS management via Let's Encrypt (port is always 443)
  • --dev-https generates self-signed SSL certificates for development-only (port is 10443)

Example:

$ ponzu run
(or)
$ ponzu run --port=8080 --https admin,api
(or) 
$ ponzu run admin
(or)
$ ponzu run --port=8888 api
(or)
$ ponzu run --dev-https

Defaults to $ ponzu run --port=8080 admin,api (running Admin & API on port 8080, without TLS)

Note: Admin and API cannot run on separate processes unless you use a copy of the database, since the first process to open it receives a lock. If you intend to run the Admin and API on separate processes, you must call them with the 'ponzu' command independently.


upgrade

Will backup your own custom project code (like content, add-ons, uploads, etc) so we can safely re-clone Ponzu from the latest version you have or from the network if necessary. Before running $ ponzu upgrade, you should update the ponzu package by running $ go get -u github.com/ponzu-cms/ponzu/...

Example:

$ ponzu upgrade

add, a

Downloads an add-on to GOPATH/src and copies it to the Ponzu project's ./addons directory. Must be called from within a Ponzu project directory.

Example:

$ ponzu add github.com/bosssauce/fbscheduler

Errors will be reported, but successful add commands return nothing.


version, v

Prints the version of Ponzu your project is using. Must be call

readme truncated — read the full docs on github

Frequently asked questions

Is ponzu free to use?

ponzu is open source under the BSD-3-Clause licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does ponzu do?

Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.

What is ponzu written in?

ponzu is primarily written in Go. Its source is publicly available at https://github.com/ponzu-cms/ponzu, and it has 5,757 GitHub stars.