Skip to main content

Norite

Norite is a simple static website generator powered by Jinja2 as the templating engine.

Norite's main goal is to act as an easy to use rendering engine for people who like to design their own templates or want to have the option of building a custom structure for their websites. To achieve this goal norite exposes the entire content directory as a tree data-structure to the templates along with the rendered content, leaving it up to the template designer how to interpret and display this information.

Implemented Features:

  • Markdown to HTML render
  • Support for using toml or json files instead of markdown
  • Jinja2 based HTML templates
  • Support for embedding Jinja2 templates in markdown
  • Support for nested folders in website content
  • Support for custom templates for any subsection of the content folder
  • Co-located assets with content
  • Syntax highlighting
  • Sass compilation (via libsass or dart-sass)
  • Built-in development server with auto reload on file changes
  • Support for building custom RSS/Atom feeds and robots.txt using templates
  • Automatic sitemap.xml generation
  • Support for marking files/folders as drafts

Todo (Features I am working on or plan to implement):

  • Tests
  • Python based Plugins
  • Live reload in Javascript
  • Incremental builds
  • Link checker
  • More examples

Installation

Norite is in beta but the features listed above are fully functional. If you like what you see and want to give it a try, you can install using:

pip install norite

It will install the following additional packages: jinja2, markdown, toml, pygments and watchdog.

Alternatively, if you want to install it globally as a shell tool within an isolated python environment, install via pipx:

pipx install 'norite'

Documentation

Checkout the documentation for norite here: documentation

Inspiration

Norite is influenced by Zola's features and its way of organizing content, borrows a few concepts from Hugo, and takes inspiration from Pelican's and Mkdocs's internal implementations for a few things. I would happily recommend using any of these excellent SSGs!

License

MIT License: Copyright (c) 2022 - 2022 Arsh
License.txt

Release files for norite 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for norite 0.2.2
File Size Uploaded
norite-0.2.2.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for norite 0.2.2
File Interpreter ABI Platform
norite-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 26.5 kB

Release files / norite-0.2.2.tar.gz

Download URL norite-0.2.2.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f99a0f241faa9a34279b4b13125bdd71a73fcad1ea367b4ceb21bd83f31999f0
BLAKE2b-256 checksum
How to use checksums
f55faf7592c64077ad72d6fc5c20971101a875f60cdf809f38ffd1ea70715769
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / norite-0.2.2-py3-none-any.whl

Download URL norite-0.2.2-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1df299ef444173fd33f0e828330364cb8d1a1595a239889aec07d139a46d710
BLAKE2b-256 checksum
How to use checksums
83c63ea7f30f0b24db8c2774a124d8f651fde66b5e46901b08cac821aed34a04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page