Hatamoto documentation
Hatamoto is an open-source system for running a website: you write pages and posts in the admin, and Hatamoto shows them to your visitors. It is one program file plus a Postgres database, the database where Hatamoto stores everything. These docs help you install it, run your site, change its look and keep the server healthy.
I want to...
Pick the path that matches what you came to do.
- Run my own site. Follow the Start here path in Getting started. It takes you from a download to a running site, your owner account and your first published page.
- Build a theme. Follow Your first theme to make a small theme and see your changes on a live preview.
- Run Hatamoto on a server. Follow Deploy with systemd to install it as a service on a Linux server, then add HTTPS and backups.
Every other topic has a section of its own, listed below this introduction. Each section starts with its guides and ends with its reference pages.
What Hatamoto gives you
- A website out of the box: the server builds each page itself, with a default theme, a blog and pages.
- An admin with a blog editor and a visual page editor, where you arrange blocks on a page and see the result as you work.
- An import from WordPress that keeps every old address working, so links and search results still lead to the right page.
- Tools for AI and search engines: reports on which crawlers, the programs that fetch pages for a search engine or an AI company, read which page and whether they sent you visitors. There is also an
llms.txtfile that tells AI tools what they may use, and JSON-LD, machine-readable data in each page that tells search engines what the page is about. - An MCP server, using the Model Context Protocol, a standard way for AI tools to read your site and to write and publish through it.
- Plugins and themes you install from the admin, with nothing to compile. Plugins run in a sandbox, a closed space where each plugin can do only what its permissions allow.
Privacy and licence
Hatamoto is licensed under Apache-2.0. It sends no usage data about your site. The only call it makes on its own is an update check: one request for a signed list of current releases, and you can turn it off. How updates work explains what the check does and how to stop it.
Two kinds of page
The docs have two kinds of page, and each section lists them apart.
- A guide walks you through one task from start to finish: what you need, the steps, and how to check that it worked. Read it from the top.
- A reference page lists everything about one area: every setting, command or option, with its default and its meaning. Use it to look something up.
Each guide ends with suggested next steps, so you can keep going without searching.
Getting help
Every page of these docs is a Markdown file in the project repository, and each one is checked against the code. If something is wrong or unclear, you can propose a fix: Contributing explains how to send a change.
Sections
- Getting started
Install Hatamoto on your own server, create your owner account and add the people who will run your site.
- Using the admin
Write and publish pages and posts, manage media and menus, invite people and change your site's settings.
- Themes
Change or build the look of your site: templates, blocks, colours and fonts, then preview the result and install it.
- Plugins
Add features to your site with plugins: react to events, store data, add admin pages, then package and install them.
- Architecture
What runs inside a Hatamoto server, how it answers a request, where it keeps your data and what can fail, for the people who run it.
- How updates work
Check for and apply updates, pin a version or turn updates off, and roll back safely when something goes wrong.
- Operating it
Run Hatamoto in production: deploy it with Docker or systemd, serve it over HTTPS, lock it down, back it up and send email.
- AI and SEO
Decide what AI crawlers may use, see their visits, connect an AI agent and check your page addresses and sitemaps.
- Migrate and contribute
Move an existing site into Hatamoto and keep its old links working, or help build Hatamoto itself.