Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple Blog engine using Flask and Markdown.

Project description

BLASK

Build Status Coverage Status sonarcloud-quality-gatePyPI version Downloads

Blask is a blogging engine based on Flask. Blask uses Markdown syntax to create and render the contents of blog posts.

Blask uses the Jinja2 template engine to render the web templates.

To install Blask, use pip:

pip install blask

or download the source code:

git clone https://github.com/zerasul/blask/

Later, you need to create a settings.py file:

templateDir = "templates"
postDir = "posts"
defaultLayout = "template.html"
staticDir = "static"
title = "Blask | A Simple Blog Engine Based on Flask"

For last, to Run Blask, use the next Code:

    from Blask import BlaskApp
    import settings

    if __name__ == '__main__':
        b = BlaskApp(templateDir=settings.templateDir, postDir=settings.postDir
                  , defaultLayout=settings.defaultLayout,
              staticDir=settings.staticDir, title=settings.title)
        b.run()

Also, you can use a environment variable to set the settings:

   export BLASK_SETTINGS=settings

You can use the Blask Command Line Tool to run the site:

   blaskcli run --port 4444 #sets the port to 4444

For more information, see the Blask web page. Also, you can subscribe to our Mailing List.


You can see the Code of Participation of this project.

Blask is Open Source under the GPL 3.0 License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Blask, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size Blask-0.1.2.tar.gz (8.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page