Skip to main content

Drupan is a flexible static site generator helping you to create blogs, single page applications or traditional websites.

Project description

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.

Quickstart

Install drupan, clone the example site (see links section) repository and run drupan config.yaml –serve in the cloned directory.

Noteworthy Features

  • 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

Usage

You can install drupan via pip. To generate your site you just run drupan ~path/to/config.yaml.

Supported command line switches

  • nodeploy do not deploy the generated site

  • serve runs a development server on port 9000

  • deploy deploy your output directory without generation

Readers

  • filesystem reads content from files with a YAML header

Writers

  • filesystem writes the generated site to a directory

Deployment

  • s3cf deploy your site to AWS S3 and optionally invalidate changed files on AWS CloudFront using both

  • gitsub commits the changes to git and pushes to a remote server

  • s3sub uploads your site to AWS S3 using the AWS CLI package

Plugins

  • blank generates empty Entity instances with a given layout. This can be used to generate index or archive pages

  • markdown converts entity content from markdown to HTML

  • tags support for tags which are added to a posts meta information

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drupan-2.2.0.tar.gz (12.6 kB view details)

Uploaded Source

File details

Details for the file drupan-2.2.0.tar.gz.

File metadata

  • Download URL: drupan-2.2.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for drupan-2.2.0.tar.gz
Algorithm Hash digest
SHA256 355a91000f8c53706991c38c2177e2a5d9cc7e8769668312f61f10e593a9d6f2
MD5 8fa7f7f8586026ffa9c004b8e2a9fa60
BLAKE2b-256 a87cda369cc3301f5504c55c98cd3a43aaaf52807522f8398f475c43a18b8dc4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page