{"id":21455716,"url":"https://github.com/fastily/jinja2html","last_synced_at":"2025-07-15T00:30:40.621Z","repository":{"id":41274773,"uuid":"231188744","full_name":"fastily/jinja2html","owner":"fastily","description":"⛩️ Static site development with jinja2 made easy","archived":false,"fork":false,"pushed_at":"2024-08-23T09:55:23.000Z","size":103,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-18T22:27:32.276Z","etag":null,"topics":["jinja2","livereload","python","static-site-generator"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastily.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-01T07:43:01.000Z","updated_at":"2024-08-23T09:55:27.000Z","dependencies_parsed_at":"2023-12-06T23:24:22.002Z","dependency_job_id":"4dd9e674-a91e-4ba5-968a-ef80c5a84b09","html_url":"https://github.com/fastily/jinja2html","commit_stats":{"total_commits":51,"total_committers":1,"mean_commits":51.0,"dds":0.0,"last_synced_commit":"61fa277a12fbe5ea7e5a0fd92b1ff7037f936021"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastily%2Fjinja2html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastily%2Fjinja2html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastily%2Fjinja2html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastily%2Fjinja2html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastily","download_url":"https://codeload.github.com/fastily/jinja2html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226002995,"owners_count":17558157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jinja2","livereload","python","static-site-generator"],"created_at":"2024-11-23T05:13:11.936Z","updated_at":"2024-11-23T05:13:12.609Z","avatar_url":"https://github.com/fastily.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jinja2html\n[![Build Status](https://github.com/fastily/jinja2html/workflows/build/badge.svg)](#)\n[![Python 3.11+](https://upload.wikimedia.org/wikipedia/commons/6/62/Blue_Python_3.11%2B_Shield_Badge.svg)](https://www.python.org)\n[![License: GPL v3](https://upload.wikimedia.org/wikipedia/commons/8/86/GPL_v3_Blue_Badge.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)\n\njinja2html takes your jinja2 templates and outputs HTML.\n\nMore importantly, it supports developer-friendly live reloading so that you can create that masterpiece of a static website without ripping your hair out.\n\n### Why jinja2html?\n\nBlogging frameworks are a *dime a dozen*.  But what if you don't want to write a blog?  What if you wanted to make a static landing page, but without all that client-heavy nonsense like React/Vue/Angular/etc?  \n\nThat's where jinja2html comes in.\n\nNo fancy bells and whistles, no bull$hit, just your bold artistic vision + jinja2html.\n\n## Install\n```bash\npip install jinja2html\n```\n\nThis installs the CLI command, `jinja2html`, which can be used to generate html or start the local development server.\n\n## Usage\n```\nusage: __main__.py [-h] [-d] [-p port] [-i input_dir] [-o output_dir] [-t template_dir] [--debug] [--ignore ignored_dir [ignored_dir ...]]\n\nRender jinja2 templates as html/css/js\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -d                    enable development mode (live-reload)\n  -p port               serve website on this port\n  -i input_dir          The input directory (contianing jinja templates) to use. Defaults to the current working directory.\n  -o output_dir         The output directory to write website output files to. Defaults to ./out\n  -t template_dir       Shared templates directory (relative path only, this must be a subfolder of the input directory). Defaults to templates\n  --debug               Enables debug level logging\n  --ignore ignored_dir [ignored_dir ...]\n                        directories to ignore\n```\n\n#### Examples\n```bash\n# generate html files for use in prod\njinja2html\n\n# run in dev mode, in the current directory\njinja2html -d\n\n# generate html files for use in prod and ignore folders Foo/ and Bar/\njinja2html -d --ignore Foo/ Bar/\n\n# run in dev mode, on port 8080 and ignore folder hello/world/\njinja2html -d -p 8080 --ignore hello/world/\n```\n\nSee [here](tests/resources/sample_project/) for an example project\n\n## Scope\njinja2html is designed for small and simple static websites.  If you're trying to do something big and complex, then you should stick with the tooling of a conventional front-end framework.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastily%2Fjinja2html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastily%2Fjinja2html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastily%2Fjinja2html/lists"}