{"id":20040781,"url":"https://github.com/vadimkantorov/minimapython","last_synced_at":"2026-05-12T15:35:14.587Z","repository":{"id":235264290,"uuid":"789461054","full_name":"vadimkantorov/minimapython","owner":"vadimkantorov","description":"Primer on single-file Python static site generator based on Jekyll's minima theme","archived":false,"fork":false,"pushed_at":"2024-05-09T14:20:07.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T19:21:16.463Z","etag":null,"topics":["jekyll","python","statis-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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vadimkantorov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-20T16:03:27.000Z","updated_at":"2024-05-09T14:20:11.000Z","dependencies_parsed_at":"2024-05-07T19:26:42.141Z","dependency_job_id":"d3acbf96-cbb9-47df-81e4-03ee1444d1c7","html_url":"https://github.com/vadimkantorov/minimapython","commit_stats":null,"previous_names":["vadimkantorov/minimapython"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimkantorov%2Fminimapython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimkantorov%2Fminimapython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimkantorov%2Fminimapython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadimkantorov%2Fminimapython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vadimkantorov","download_url":"https://codeload.github.com/vadimkantorov/minimapython/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241470363,"owners_count":19968041,"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":["jekyll","python","statis-site-generator"],"created_at":"2024-11-13T10:43:48.958Z","updated_at":"2026-05-12T15:35:09.532Z","avatar_url":"https://github.com/vadimkantorov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Adapted [minima theme](https://github.com/jekyll/minima) for generating HTML pages with a single-file Python script. This script includes the required CSS and HTML templates (compiled [minima theme](https://github.com/jekyll/minima)'s CSS is taken from https://github.com/vadimkantorov/minimacss). You can modify the templates inline or extract them to a directory and modify the extracted template files. \n\n# Usage\n```shell\n# extract all CSS and HTML templates to _snippets dir\npython minimapython.py --snippets-dir ./_snippets\n\npython minimapython.py -o test.html -i test.txt -c context.json --layout home\n\n# Generate full site from sitemap.xml\npython minimapython.py -c _config.json --sitemap-path sitemap.xml -o _site --baseurl /minimapythond --siteurl https://vadimkantorov.github.io\n\n# Generate full site page-by-page\nmkdir -p ./_site\npython minimapython.py -c _config.json --sitemap-path sitemap.xml -i index.md                                 -o _site/index.html\npython minimapython.py -c _config.json --sitemap-path sitemap.xml -i about.md                                 -o _site/about.html\n\npython minimapython.py -c _config.json --sitemap-path sitemap.xml -i _posts/2016-05-19-super-short-article.md -o _site/blog/2016-05-19-super-short-article.html\npython minimapython.py -c _config.json --sitemap-path sitemap.xml -i _posts/2016-05-20-my-example-post.md     -o _site/blog/2016-05-20-my-example-post.html\npython minimapython.py -c _config.json --sitemap-path sitemap.xml -i _posts/2016-05-20-super-long-article.md  -o _site/blog/2016-05-20-super-long-article.html\npython minimapython.py -c _config.json --sitemap-path sitemap.xml -i _posts/2016-05-20-this-post-demonstrates-poscontent-styles.md -o ./_site/blog/2016-05-20-this-post-demonstrates-post-content-styles.html\npython minimapython.py -c _config.json --sitemap-path sitemap.xml -i _posts/2016-05-20-welcome-to-jekyll.md   -o _site/blog/2016-05-20-welcome-to-jekyll.html\ncp\n```\n\nExample inspired by [jekyll/minima@demo-site](https://github.com/jekyll/minima/tree/demo-site) is in branch [vadimkantorov/minimapython@demo-site](../../tree/demo-site) and auto-deployed to GitHub Pages at https://vadimkantorov.github.io/minimapython/ . Compare to https://jekyll.github.io/minima/ and also check out https://vadimkantorov.github.io/minimapython/sitemap.xml .\n\n\u003e [!NOTE]\n\u003e When deploying to GitHub Pages, do not forget to set `GitHub Actions` as GitHub Pages source in your repo [`Settings -\u003e Pages -\u003e Build and deployment -\u003e Source`](https://github.com/vadimkantorov/minimapython/settings/pages). Also do not forget to configure or disable branch protection rule (`No restriction`) in [`Settings -\u003e Environments -\u003e github-pages -\u003e Deployment branches and tags`](https://github.com/vadimkantorov/minimapython/settings/environments/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadimkantorov%2Fminimapython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvadimkantorov%2Fminimapython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadimkantorov%2Fminimapython/lists"}