{"id":26470219,"url":"https://github.com/zerasul/blask","last_synced_at":"2025-03-19T18:36:37.919Z","repository":{"id":30073291,"uuid":"123652894","full_name":"zerasul/blask","owner":"zerasul","description":"Blog Engine based on Flask","archived":false,"fork":false,"pushed_at":"2024-01-01T12:21:09.000Z","size":621,"stargazers_count":41,"open_issues_count":30,"forks_count":28,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-16T03:17:03.822Z","etag":null,"topics":["blog","blog-engine","flask","hacktoberfest","python","site-generator"],"latest_commit_sha":null,"homepage":"https://getblask.com/","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/zerasul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://buymeacoff.ee/zerasul"]}},"created_at":"2018-03-03T02:44:57.000Z","updated_at":"2024-08-09T12:51:42.000Z","dependencies_parsed_at":"2023-10-01T17:26:03.255Z","dependency_job_id":"5e101d4e-8a25-4de1-b2fe-8030baa413e3","html_url":"https://github.com/zerasul/blask","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerasul%2Fblask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerasul%2Fblask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerasul%2Fblask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerasul%2Fblask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerasul","download_url":"https://codeload.github.com/zerasul/blask/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244485829,"owners_count":20460553,"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":["blog","blog-engine","flask","hacktoberfest","python","site-generator"],"created_at":"2025-03-19T18:36:37.245Z","updated_at":"2025-03-19T18:36:37.914Z","avatar_url":"https://github.com/zerasul.png","language":"Python","funding_links":["https://buymeacoff.ee/zerasul","https://buymeacoffee.com/zerasul"],"categories":[],"sub_categories":[],"readme":"# BLASK\n\n[![blask Build](https://github.com/zerasul/blask/actions/workflows/ci.yml/badge.svg)](https://github.com/zerasul/blask/actions/workflows/ci.yml) [![Coverage Status](https://coveralls.io/repos/github/zerasul/blask/badge.svg?branch=master)](https://coveralls.io/github/zerasul/blask?branch=master) [![sonarcloud-quality-gate](https://sonarcloud.io/api/project_badges/measure?project=blask-project-key\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=blask-project-key)[![PyPI version](https://badge.fury.io/py/Blask.svg)](https://badge.fury.io/py/Blask) [![Total Downloads](https://pepy.tech/badge/blask)](https://pepy.tech/project/blask) [![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/zerasul/blask/0.2.3?color=green\u0026logo=docker)](https://hub.docker.com/r/zerasul/blask) \u003cspan class=\"badge-buymeacoffee\"\u003e\u003ca href=\"https://buymeacoffee.com/zerasul\" title=\"Donate to this project using Buy Me A Coffee\"\u003e\u003cimg src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /\u003e\u003c/a\u003e\u003c/span\u003e\n\nBlask is a blogging engine based on [Flask](http://flask.pocoo.org/). Blask uses Markdown syntax to create and render\nthe contents of blog posts.\n\nBlask uses the Jinja2 template engine to render the web templates.\n\nTo install Blask, use ```pip```:\n\n```pip install blask```\n\nor download the source code:\n\n```git clone https://github.com/zerasul/blask/```\n\nAfter downloading you need to create a ```settings.py``` file:\n\n```python\ntemplateDir = \"templates\"\npostDir = \"posts\"\ndefaultLayout = \"template.html\"\nstaticDir = \"static\"\ntitle = \"Blask | A Simple Blog Engine Based on Flask\"\nerrors= { 404: \"404\"}\n```\n\nYou can also use an environment variable to set the settings:\n\n```bash\n   export BLASK_SETTINGS=settings\n```\n\nTo Run Blask, use the following Code:\n\n```python\n    from blask import BlaskApp\n    import settings\n\n    if __name__ == '__main__':\n        b = BlaskApp(templateDir=settings.templateDir, postDir=settings.postDir\n                  , defaultLayout=settings.defaultLayout,\n              staticDir=settings.staticDir, title=settings.title, errors={404:'404'})\n        b.run()\n```\n\nYou can use the Blask Command Line Tool to run the site:\n\n```bash\n   blaskcli run --port 4444 #sets the port to 4444\n```\n\nFor more information, see the [Blask web page](http://getblask.com/). Also, you can subscribe to our [Mailing List](https://www.freelists.org/archive/blask_mail_list).\n\n\n---\n\nYou can see the [Code of Participation](https://www.mozilla.org/en-US/about/governance/policies/participation/) of this project.\n\nBlask is Open Source under the [GPL 3.0](LICENSE) License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerasul%2Fblask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerasul%2Fblask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerasul%2Fblask/lists"}