A simple and powerful content-driven static site generator.
Cecil is a CLI application that merges plain text files (written in Markdown), images and Twig templates to generate a static website.
πDocumentation Β· π»Demo Β· πIssues tracker Β· π¬Discussions
Read the Quick Start documentation page.
Create and deploy a blog site:
- No database, no server, no dependency: performance and security
- Your pages are stored in Markdown flat files with a YAML front matter
- Powered by Twig, a flexible template engine, with themes support
- Pagination, sitemap, redirections, robots.txt, taxonomies, RSS are generated automatically
- Handles and optimizes assets for you
- Download one file and run it
- Easy to deploy
Download cecil.phar
from your browser or from your terminal:
curl -LO https://github.com/Cecilapp/Cecil/releases/latest/download/cecil.phar
Important
PHP 8.1+ is required.
- Get help:
php cecil.phar help
- Create a new website:
php cecil.phar new:site
- Preview your website:
php cecil.phar serve
See Contributing.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
npx all-contributors add
npx all-contributors generate
Build the cecil.phar
binary with Box:
# Install Box globally
composer global require humbug/box
# Add Box to your PATH
export PATH=~/.composer/vendor/bin:$PATH
# Build the phar file
composer build
# Check the phar file
php dist/cecil.phar about
Build the API documentation with phpDocumentor:
# Install phpDocumentor globally
curl -Lo phpdoc https://phpdoc.org/phpDocumentor.phar
# Build the API documentation
php phpdoc
Β Β Β Β Β Β Β Β
Β Β Β Β Β Β Β Β
Cecil is a free software distributed under the terms of the MIT license.
Cecil Β© Arnaud Ligny
Logo Β© CΓ©cile Ricordeau