Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
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"
errors= { 404: "404"}
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, errors={404:'404'})
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
FAQs
A simple Blog engine using Flask and Markdown.
We found that blask demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.