Skip to content

blog

Lightweight single-user PHP blog with a Facebook-style feed, run from one Docker container

Copyleft (OSI) · GPL-3.0

Listed by , founder & editor

65

Health

Active

Overview

Stars

307

Last commit

9 days ago

Nov 2026

Repository age

9 years

since Dec 2016

Latest version

v1.5.0

Oct 2026

Contributors

–

4 active in 90 days

Releases

1

last 12 months

Docker pulls

90k

m1k1o/blog

Language

PHP

This is a small, self-hosted blog written in PHP for one author. It presents posts as a feed, similar to a social network timeline. You write rich text with photos, highlighted code and links, and you can give other people read access.

It avoids a build step. There is no npm dependency tree and no pipeline, so the code you see is the code that runs. The Docker image starts with no configuration and uses SQLite. For better performance you can switch to MySQL or Postgres through environment variables prefixed with BLOG_, or through the provided docker-compose setups. It ships light, dark and legacy themes, and the legacy one works in older browsers.

It is not tied to a specific commercial product. It fits people who want a personal feed they control instead of posting on a social network. The project is GPL-3.0 licensed, began in 2016 and is under active maintenance.

Who it's for

Individuals who want a private journal or personal feed

One container gives you a feed with photos and code, and you choose who can read it.

Skip if: You need several authors or editorial roles.

Self-hosters with small servers

It needs no build tooling and runs on SQLite out of the box.

Skip if: You want themes and plugins like those in a large CMS.

The problem it solves

Posting personal updates and photos on a social network means giving up control of your content. This gives you a feed of your own, on your own server, with access you manage.

Strengths

  • No npm dependencies or build pipeline
  • Runs from one Docker command with SQLite by default
  • Supports MySQL and Postgres through environment variables
  • Includes light, dark and legacy themes
  • Active project with a Docker image that has about 90,000 pulls

Trade-offs

  • Single-user only; no multi-author publishing
  • Small feature set by design
  • GPL-3.0 license carries copyleft obligations if you modify and distribute it

Self-host blog

Self-hostable
Yes
Docker image
m1k1o/blog
Docker Compose
The repository ships a Compose file

Quick start

docker run -d -p 80:80 -v $PWD/data:/var/www/html/data m1k1o/blog:latest

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free and self-hostable?

Yes. It is open source under GPL-3.0 and you host it yourself, with Docker being the documented route.

Which database does it use?

SQLite by default with no setup. MySQL and Postgres are supported for better performance.

Can several people write on it?

No. It is built for a single author, though you can give other people read access.

How do I configure it?

Set environment variables prefixed with BLOG_ and written in uppercase. They correspond to the settings in config.ini.

Similar tools in Blogging platforms

Rin

Blogging platforms

Serverless blog on Cloudflare Pages, Workers, D1 and R2 for personal sites

3.2k 2.6k 9 days ago Active MIT

Plume

Blogging platforms

Federated blogging engine in Rust for people who want to publish on the Fediverse

2.2k 149 2 years ago Dormant AGPL-3.0

BroadcastChannel

Blogging platforms

Astro site that publishes a public Telegram channel as a microblog

2.1k 1k 11 days ago Active AGPL-3.0

Publify

Blogging platforms

Self-hosted Ruby on Rails blog engine for multi-user sites with themes and plugins

1.9k 3.6k 31 days ago Active MIT

btw

Blogging platforms

Open source personal website and blog builder you can host yourself or use online

1.3k 101 3 months ago Dormant GPL-3.0

HTMLy

Blogging platforms

Flat-file PHP blogging platform that runs without a database

1.4k 307 10 months ago Dormant GPL-2.0