Skip to main content

Static web gallery generator

Project description

Mikula

Static image gallery generator inspired by Jekyll and JAlbum. Mikula is written in Python and supports uploads to AWS S3.

Motivation

I used JAlbum some time ago while it was free. With enough tweaking to the themes it produced acceptable results but I always wanted more flexibility in designing my albums. Jekyll inspired me to create my own gallery generator in Python, so here it is, welcome Mikula.

Name

Mikula is a Ukrainian version of name Nicholas.

Installation

Use pip

Getting Started with Mikula

Once you installed Mikula, clone a sample gallery from GitHub:

git clone https://github.com/RomanKosobrodov/mikula-sample-gallery

Navigate to the gallery directory

cd mikula-sample-gallery

Configure Mukula

mikula configure

If you have a AWS S3 account you can provide your access key id, access key and region. Otherwise, skip these settings.

Build sample gallery

Choose the output directory and run:

mikula build --output=<your-output-directory>

View it

Run the development server and check the results

mikula serve

Click on the link to open the gallery in your browser. To exit the server press Ctrl + C (or Command + C on Mac).

Deploy it

If you configured your AWS S3 credentials you can deploy your gallery to AWS S3. Choose a name for the bucket which is unique for AWS and run:

mikula deploy --bucket <your-bucket-name>

Check that everything is working as expected by opening your website. The url has the following format:

<your-bucket-name>.s3-website-<your-AWS-region>.amazonaws.com

Project details


Download files

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

Source Distribution

mikula-0.0.2.tar.gz (14.3 kB view hashes)

Uploaded Source

Built Distribution

mikula-0.0.2-py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 3

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