{"repo":"Jaymon/bang","free":true,"listed":false,"github":"https://github.com/Jaymon/bang","clone":"git clone https://github.com/Jaymon/bang.git","description":"A markdown based static site generator","language":"Python","stars":14,"topics":["static-site-generator","static-site","html","blog","blog-engine","python","markdown"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"Bang A static site generator built in Python with support for things like sitemaps, Open Graph, RSS feeds, and Google Amp. Powers marcyes.com You run bang from the command line: $ bang --project-dir=... Documentation ------------------------------------------------------------------------------- Installation Use pip: pip install bangtext ------------------------------------------------------------------------------- 1 minute getting started First, install bang: $ pip install bangtext Make a new project: $ bang generate --project-dir= /bang-quickstart Then compile your new project: $ bang compile --project-dir= /bang-quickstart And start up the development server to take a look at your new project: $ bang serve --project-dir= /bang-quickstart Now, open a browser and load localhost:8000 to see your masterpiece, that's it! ------------------------------------------------------------------------------- Setup and Configuration A bang project will check each folder in the project directory for an page.md markdown file, if it finds one it will compile it to an index.html file. So, if you have this file structure in your project-dir : project-dir/ input/ foo/ page.md image.png bar/ page.md Would compile down to this file structure: project-dir/ output/ foo/ index.html image.png bar/ index.html So it would have urls like: http://host.tld/foo/ http://host.tld/bar/ Plugins You activate plugins by importing them into your project's bangfile. You can customize your project to your needs, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Jaymon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Jaymon/bang/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}