Drupan is a flexible static site generator helping you to create blogs, single page applications or traditional websites. While being opinionated the plugin system allows you to extend it with any functionality you desire.
Install drupan, clone this example site
repository and run drupan config.yaml --serve in the cloned directory.
- deployment your site using git or directly to AWS S3 and AWS CloudFront
- fast page generation
- Jinja2 with custom template tags and filters
- powerful plugin system
You can install drupan via pip. To generate your site you just run
drupan ~path/to/config.yaml.
Supported command line switches
nodeploydo not deploy the generated siteserveruns a development server on port 9000deploydeploy your output directory without generation
filesystemreads content from files with a YAML header
filesystemwrites the generated site to a directory
s3cfdeploy your site to AWS S3 and optionally invalidate changed files on AWS CloudFront using botogitsubcommits the changes to git and pushes to a remote servers3subuploads your site to AWS S3 using the AWS CLI package
blankgenerates empty Entity instances with a given layout. This can be used to generate index or archive pagesmarkdownconverts entity content from markdown to HTMLtagssupport for tags which are added to a posts meta information