Obraz (Russian: Образ). IPA: /ˈobrəs/ n.

  1. Image, the result of applying a function to an argument
  2. A static blog-aware site generator in Python mostly compatible with Jekyll

Why?

There are many static site generators. Why choose Obraz?

Python
Written in Python
< 800
Single source file less than 800 lines of code
Jekyll
Mostly compatible with a popular Jekyll

News (feed)

2022-05-23

Obraz 0.9.5 Released

This is a bugfix release.

What's new:

  • Fixed too broad exclude_patterns in the default config that affected copying *.svg files
2022-05-05

Obraz 0.9.3 Released

2022-04-10

Obraz 0.9.2 Released

2014-02-14

Obraz 0.9 Released

2012-12-19

Obraz 0.3 Released

Archive...

Plugins

Plugins allow extending the site generation process via user-defined processing functions.

Featured plugins:

See other available plugins in the plugins documentation.

Development

The source code is available on GitHub:

$ git clone https://github.com/vlasovskikh/obraz.git

Bug reports, feature requests, and contributions are welcome!

Quickstart

Let's create a statically generated blog!

  1. Install Obraz from the Python package index:

    $ pip install obraz
    
  2. Create a new blog in the my-blog directory:

    $ obraz new my-blog
    
  3. Generate your site using Obraz:

    $ cd my-blog
    $ obraz serve

    and check the results in the browser by visiting https://localhost:8000/.

    You've got your first Obraz blog up and running! Now it's time to play with the design and customize things.

Documentation

Obraz is mostly compatible with Jekyll 1.4. Since most parts of the Jekyll documentation are valid for Obraz too, Obraz doesn't have its own documentation.

However, there are several differences from Jekyll you should be aware of.

See also the source code of sites that use Obraz for examples of using RSS feeds, Markdown pages, tags, custom URLs, etc.

Videos