Go to file
2026-01-29 13:00:25 -08:00
.DS_Store initialize repo 2026-01-29 11:02:44 -08:00
.gitignore update time format to internet time 2026-01-29 12:07:58 -08:00
app.py fix port 2026-01-29 12:08:22 -08:00
Dockerfile fix typo 2026-01-29 12:22:37 -08:00
LICENSE Initial commit 2026-01-28 16:03:46 -06:00
README.md update readme 2026-01-29 13:00:25 -08:00

📖 OpenGuestbook

Human coded License: GNU General Public License v3.0

OpenGuestbook is a self-hosted lightweight Guestbook for small static websites made using python and flask. OpenGuestbook does not use databases or an admin panel for managing entries. Instead it saves each guestbook entry as a file with a human readable format in a /guestbook folder in your server. The comments can be moderated by deleting or editing files manually.

Features

  • No login required
  • No database required
  • Limited total comments per day.
  • Easy setup, and low CPU and RAM use.
  • Privacy Friendly: No tracking, no cookies, AD blocker friendly.
  • Notification support via Notfy.sh!

Deployment

OpenGuestbook comes in two parts, a backend that needs to be hosted on a server, and a JS file that cn be embedded directly on your website.

Backend deployment with Docker

For production, running via Docker Compose is recommended. ssh in to your server and clone the repository:

git clone https://code.gorkyver.com/Gorkem/OpenGuestbook.git

get in directory and create docker-compose.yml:

cd OpenGuestbook
nano docker-compose.yml

Replace <https://yourwebsite.com> with your static website url and <ntfy-topic> with your ntfy.sh topic to enable notificatons.

1) Create docker-compose.yml

version: '3.8'
services:
  guestbook:
    build: .
    container_name: OpenGuestbook
    restart: always
    ports:
      - "5000:5000"
    volumes:
      - ./guestbook_data:/OpenGuestbook/guestbook # Persist comments on host to make it easily reachable
    environment:
      - FRONTEND_URL=<https://yourwebsite.com> # if a frontend url is not provided the app will default the allow all utl's which is not recommended!
      - NTFY_TOPIC=<ntfy-topic> # for psuh notification support (optional)

build & run container with:

docker compose up -d --build

and your guesbook server should be up and running on port 5000 on your machine!

Front-end Script

-To-do