+
Skip to content

Cecilapp/Cecil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cecil's logo, created by Cécile Ricordeau

A simple and powerful content-driven static site generator.

Latest stable version License

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

Cecil CLI animated demo

Continuous Integration status Release status Documentation status
Scrutinizer score Codacy badge Coverage score StyleCI status SymfonyInsight badge

Quick Start

Read the Quick Start documentation page.

Create and deploy a blog site:
Deploy to Netlify Deploy with Vercel

Features

  • 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

Installation

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.

Usage

  • Get help: php cecil.phar help
  • Create a new website: php cecil.phar new:site
  • Preview your website: php cecil.phar serve

Contributing

See Contributing.

Thanks goes to these wonderful people (emoji key):

Arnaud Ligny
Arnaud Ligny

🐛 📖 🤔 🚧 📣 💬 👀 🌍 📢
Frank Taillandier
Frank Taillandier

📖 🤔 📣 🌍 🧑‍🏫
Martin Szulecki
Martin Szulecki

🐛 💻 🤔
Matthieu Vion
Matthieu Vion

🐛 💻
Chun-Sheng, Li
Chun-Sheng, Li

💻 🛡️
Benjamin Hirsch
Benjamin Hirsch

🐛 💻
Pete Favelle
Pete Favelle

🐛 💻 🤔
Gert de Pagter
Gert de Pagter

🐛 🚇
Joe Vallender
Joe Vallender

🐛
Jawira Portugal
Jawira Portugal

🐛
Yufan You
Yufan You

🛡️
Mathieu Santostefano
Mathieu Santostefano

📖 🐛
Max
Max

📖
Progi1984
Progi1984

💻 🤔
Franck Matsos
Franck Matsos

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

npx all-contributors add
npx all-contributors generate

Development

Build binary

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 API documentation

Build the API documentation with phpDocumentor:

# Install phpDocumentor globally
curl -Lo phpdoc https://phpdoc.org/phpDocumentor.phar
# Build the API documentation
php phpdoc

Sponsors

studio cecilliestudio cecillie        NetlifyNetlify        

License

Cecil is a free software distributed under the terms of the MIT license.

Cecil © Arnaud Ligny
Logo © Cécile Ricordeau

About

A simple and powerful content-driven static site generator.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors 21

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载