HTMLy
Databaseless PHP blogging platform. A flat-file CMS that allows you to create a fast, secure, and powerful website or blog in seconds.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
HTMLy is an open-source PHP blogging platform that doesn't need a database. It's a flat-file CMS that focuses on simplicity and speed. According to the project, you can set up a fast, secure, full-featured website or blog in a few seconds. The project is maintained by DanPros and community contributors, its source code is hosted on GitHub (danpros/htmly), and it is licensed under the GNU GPL 2.0 (or later).
Key Features
- Content organization: Built-in archives, categories, tags, authors, a sitemap and RSS feeds
- Writing and publishing: Supports scheduled publishing and custom fields, and can display popular posts
- Full-text search: Search your site's content without needing a separate search service
- Security: Built-in two-factor authentication (2FA). New features are added directly to the core code and security-audited, rather than relying on third-party plugins
- Site management: A menu editor, one-click updates, and a backup feature (requires the PHP-ZIP extension)
- Multi-user: Supports multiple authors, and the admin role can edit or delete every user's posts
- Two ways to manage content: Manage content from the web admin panel, or work directly with the content files on the file system
- Themes: The official website has a theme library, and templates use the traditional approach of mixing PHP into HTML
Core Strengths
- Stays fast with large amounts of content: HTMLy uses its own algorithm to find and list content by date, type, category, tag or author. Even with tens of thousands of posts and hundreds of tags, performance doesn't drop noticeably.
- Low resource usage: It can handle more than 20,000 posts on a server with 512MB of RAM or on shared hosting.
- No plugin dependency: Commonly needed features are built into the core, which avoids the problems of outdated, insecure or slow plugins.
- No database: Content is stored as files, which makes deployment, migration and backups simpler.
Target Users
It suits individual bloggers, developers and small teams, especially people who want to run a blog on cheap web hosting or a low-spec VPS and don't want to maintain a database.
Technical Requirements
- PHP 7.2 or later
- PHP extensions: Mbstring, XML, INTL, GD
- PHP-ZIP is also required if you want the backup feature
- The
cacheandcontentdirectories must be writable - The web server must be configured to block external access to the config directory (the official documentation includes basic configuration examples for various web servers)
Installation
Installing from source:
- Download the latest release from GitHub Releases
- Upload the archive to your web server and extract it, either in the root directory or in a subdirectory (such as
htmly) - Open
https://your-domain/install.phpin a browser, adding the subdirectory path if you used one - Follow the installation wizard, then make sure
install.phphas been deleted, and delete it manually if it hasn't
Online installation: Download online-installer.php from the latest release, upload it to your server, open it in a browser, follow the prompts to finish the installation, and finally delete the installer file manually.
Headless mode: If you don't need to log in to the admin panel, you can simply rename config.ini.example to config.ini and delete install.php. It's recommended to also set site.url.
Once installation is complete, add /login to the end of your site's URL to reach the admin panel.
Notable Points
- There is an official demo of the front end (demo.htmly.com), and you can try the admin panel through the Softaculous demo
- There is an official documentation site (docs.htmly.com), though the documentation pages themselves note that the content needs updating
- Community discussion mainly takes place in GitHub Discussions
Discover more
Dotclear
Take control over your blog.
FlatPress
A lightweight, easy-to-set-up flat-file blogging engine.
Castopod
Podcast management hosting platform that includes the latest podcast 2.0 standards, an automated Fediverse feed, analytics, an embeddable player, and more.
Chyrp Lite
Extra-awesome, extra-lightweight blog engine.
Known
Collaborative social publishing platform.
PluXml
XML-based blog/CMS platform.