Open-source, self-hosted Notion alternative with real databases, Notion import, and MCP.
790
Notion, on ground of your own.
Hanji is an open-source, self-hosted Notion-style workspace with pages, real databases, relations, rollups, formulas, multiple views, Notion API import, sharing, collaboration, and unrestricted MCP access.
Your workspace and uploaded files remain on your own server.
docker run -d \
--name hanji \
--restart unless-stopped \
-p 8787:8787 \
-v hanji-data:/data \
melodysdreamj/hanji:0.1.0-alpha.2
Open http://localhost:8787 and create the first administrator in the browser.
No environment file, terminal setup code, or external database is required.
Hanji stores all persistent data under the container path /data, including pages, databases, uploaded files, accounts, and generated runtime secrets.
For evaluation, you may leave Synology's volume-mapping screen empty. The image declares /data, so Docker automatically creates an anonymous volume. The anonymous volume survives container stop/start and restart.
However, an anonymous volume has a generated name and is harder to locate, back up, and reconnect after replacing or upgrading the container.
For ongoing use, configure an explicit folder mapping in Synology:
/docker/hanji./data as the container Mount path.Recommended mapping:
/docker/hanji → /data (read/write)
Do not share this folder with another application. Back up the entire folder before replacing or upgrading the container.
Map container port 8787 to an available NAS port. Keep the container connection on HTTP and use Synology DSM Reverse Proxy when public HTTPS is needed.
All persistent application data, uploaded files, accounts, and generated runtime secrets are stored under /data.
Back up the /data volume before upgrading.
Source code and documentation:
https://github.com/melodysdreamj/hanji
Hanji is currently alpha software intended for evaluation and early self-hosting. Back up /data and review the release notes before upgrading.
Licensed under AGPL-3.0 with the Hanji license exception.
Content type
Image
Digest
sha256:f94dcc00f…
Size
244.5 MB
Last updated
2 months ago
docker pull melodysdreamj/hanji:sha-103346c676e3bb389f0029f6b93391ab75bfadcf