Sign up Log in
n/ai · 4d ago · 237 views
u/freepayzzDiamond
n/aiu/freepayzz · 4d ago

[LiteBLOG] Brand new release. Easy to deploy, feel free to install and try it

LiteBLOG

LiteBLOG is a super lightweight blog program with topic discussions, board management, user management, content moderation, audit logs, and template/extension management.

Download

Why it's good

  • Tiny and extremely lightweight: the source is only about 100KB, with no piles of redundant code or bloated dependency packages.
  • Very low resource usage. Fast page loads: it runs smoothly even on a cheap shared host or a small server, with minimal load pressure.
  • Simple deployment: low requirements — just PHP + MySQL, upload the source and you're up and running quickly. Low barrier to entry.
  • Templates + extensions: built-in template management and extension hooks, so you can change the UI or add features as needed without touching the core code.
  • Open source: the source is open, you can self-host it, and you control your own data. Clean, minimal interface: mobile-friendly out of the box, no cluttered extra components.

Features

  • Article topics, replies, editing, and pagination
  • Visible/hidden boards and ordering management
  • Admin panel: content, users, boards, templates, plugins, extension review, auditing, and site settings
  • Login sessions, CSRF protection, HTTPS origin validation, and action auditing
  • Safe escaped Markdown rendering
  • File caching plus cache invalidation for themes, boards, and topic lists
  • Structural validation, signed manifests, and a review process for the internal extension marketplace
  • Update checks pinned to the official GitHub repo, with confirmation before applying program updates

Requirements

  • PHP 8.0 or higher
  • MySQL 8.0+ or MariaDB 10.6+
  • PHP extensions: pdo_mysql, mbstring
  • The extension marketplace and online updates additionally need: openssl, zip, curl
  • An HTTPS website

Installation

  1. Upload the project files to your website's program directory.
  2. Make sure the PHP web process can write to private/, cache/, and logs/ in the program directory.
  3. Create an empty database and a dedicated database user in your database panel, and grant the permissions needed to create tables.
  4. Configure Apache .htaccess or set up Nginx using nginx.conf.example as a reference.
  5. Visit the installer over HTTPS:
https://example.com/install

If the program is deployed in a subdirectory, for example /forum/:

https://example.com/forum/install

After installation finishes, the database config and install lock are stored in the program directory:

private/config.php
private/install.lock

Don't expose private/ to web access. The Apache and Nginx rules shipped with the project already deny that directory.

Database permissions

The application database user needs at least the following permissions on the target database:

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, INDEX, REFERENCES, DROP
ON `forum_db`.* TO 'forum_app'@'WEB_SERVER_IP';

WEB_SERVER_IP must be the web server source address as MySQL/MariaDB actually sees it. IPv4, IPv6, localhost, and 127.0.0.1 are all different grant matches.

Admin panel

After logging in as an administrator, go to:

/admin

The admin panel uses a fixed system layout and doesn't depend on the front-end theme. From there you can manage:

  • Topics and reply content
  • User roles and status
  • Discussion boards
  • Templates and plugins
  • Extension review
  • Official update checks
  • Audit logs
  • Site settings

Program updates

The update source is pinned to:

https://github.com/Lfreepayzz/LiteBLOG

In the admin panel under "Extensions & Updates" you can check the latest commit on the main branch. When a new version is found, the administrator has to confirm the update; the program backs up the managed source files that will change before replacing them.

Things that won't be overwritten by admin updates:

private/
uploads/
cache/
logs/
database

The update repo must contain the complete project source, at minimum including:

index.php
app/
database/
languages/
scripts/
templates/

Security and operations

  • HTTPS must be enabled in production.
  • Until installation is complete, restrict /install to trusted admin networks only.
  • private/ must be denied access by the web server.
  • Don't install unreviewed PHP templates or plugins directly through the web UI.
  • Keep database and file backups before updating.
  • Periodically run the cleanup script via CLI:

License

This project is licensed under the Apache License 2.0. See LICENSE for details.

Translated by AI from 简体中文

3
3
Log into join the discussion.

3 replies

Sort order
  1. NotFly Gold 3 YEARS 4d ago

    Just testing this out

    Translated by AI from 简体中文

    0
  2. 415724143 Silver 3d ago

    Let's give it a try.

    Translated by AI from 简体中文

    0
  3. freepayzz Diamond OP 3d ago

    Lightweight

    Translated by AI from 简体中文

    0