A super lightweight and simple CMS, built for the modern web and simplicity
Find a file
2023-01-07 11:08:27 -08:00
.github Don't include dev packages in the preview build 2023-01-07 11:08:27 -08:00
src Update readme.md 2023-01-07 20:34:19 +03:00
.gitignore These need to be generated, so ignoring them. 2023-01-07 13:26:05 +03:00
composer.json Adjusting Tailwind config 2023-01-07 13:44:03 +03:00
composer.lock Add PHPStan 2023-01-06 18:25:28 -08:00
package-lock.json Pushing the Tailwind theme 2023-01-07 13:18:16 +03:00
package.json Pushing the Tailwind theme 2023-01-07 13:18:16 +03:00
phpstan.neon Add PHPStan 2023-01-06 18:25:28 -08:00
readme.md Update readme.md 2023-01-07 20:33:32 +03:00
tailwind.config.js This comment no longer applies 2023-01-07 16:59:01 +03:00

AntCMS

PHPStan

A tiny and fast CMS system for static websites.

What is AntCMS

AntCMS is a lightweight CMS system designed for simplicity, speed, and small size. It is a flat-file CMS, meaning it lacks advanced features but benefits from improved speed and reduced complexity.

How fast is AntCMS?

AntCMS is extremely fast, thanks to its simple backend and caching. It can render and deliver pages to end users in milliseconds.

How does it work?

AntCMS is very straightforward to use. First, you need a template in HTML with special elements for AntCMS. Then, you write your content using markdown, a popular way to format plain text documents. AntCMS converts the markdown to HTML, integrates it into the template, and sends it to the viewer. Even without caching, this process is quick, but AntCMS also has caching capabilities to further improve rendering times.

Themeing with AntCMS

AntCMS stores its themes under /Themes. Each theme is extremely simple, just a simple page layout template. A theme may also have a /Themes/Example/Assets folder, these files can be accessed directly from the server. Files stored in any other location will be inaccessible otherwise. For example, this is what the default theme folder structure looks like:

  • /Themes
    • /Default
      • /Templates
        • default_layout.html

Changing the theme is easy, simply edit config.yaml and set the activeTheme to match the folder name of your custom theme.