
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
A CLI tool for Flaskion โ a lightweight MVC micro-framework built on Flask
Flaskion is a lightweight MVC micro-framework for Flask, providing developers with a structured foundation for scalable, maintainable applications. Inspired by Laravel, Flaskion introduces clean architecture, modular scaffolding, and a developer-first CLI to streamline your Flask workflow.
โ
MVC Architecture โ Clean separation of controllers
, models
, and templates
โ
Built-in CLI โ Scaffold full resources, controllers, models, and authentication with ease
โ
Web & API Routing โ Clean route structure split between HTML and JSON endpoints
โ
DB Choice at Setup โ Use SQLite, MySQL, or Postgres with built-in .env
generation
โ
Flask-Migrate Ready โ Migrations are set up and ready to run on first build
โ
Authentication Scaffolding โ Generate full auth (login/register/logout/dashboard) with one command
flaskion/
โโโ app/
โ โโโ __init__.py # Application factory
โ โโโ routes/ # Web + API routes
โ โ โโโ web_routes.py
โ โ โโโ api_routes.py
โ โโโ controllers/ # View logic
โ โโโ models/ # SQLAlchemy models
โ โโโ schemas/ # Marshmallow schemas
โ โโโ templates/ # Jinja2 templates
โ โโโ static/ # CSS, JS, images
โ โโโ config.py # App configuration
โโโ migrations/ # Auto-generated with Flask-Migrate
โโโ run.py # Entry point
โโโ requirements.txt # Dependencies
โโโ .env.example # Example environment file
โโโ README.md # This doc
pipx install flaskion-cli
# or
pip install flaskion-cli
flaskion make:new myproject --db=sqlite # Or --db=mysql / --db=postgres
cd myproject
source venv/bin/activate
Command | Description |
---|---|
flaskion make:new <name> | Create a new project scaffold |
flaskion make:model | Create a SQLAlchemy model |
flaskion make:schema | Create a Marshmallow schema |
flaskion make:controller | Create a controller with CRUD methods |
flaskion make:resource | Generate model + controller + schema + routes |
flaskion make:auth | Generate full login/register/logout system |
Add
--api
tomake:resource
for API route generation instead of web views.
Flaskion separates routes for HTML views and API endpoints:
app/routes/web_routes.py
app/routes/api_routes.py
Both are registered in app/__init__.py
:
from app.routes.api_routes import api_routes
from app.routes.web_routes import web_routes
def register_routes(app):
app.register_blueprint(api_routes)
app.register_blueprint(web_routes)
Flaskion uses Flask-Migrate out of the box:
flask db init
flask db migrate -m "Initial"
flask db upgrade
Generate full login/register/logout and dashboard flow:
flaskion make:auth
templates/auth/
/login
, /register
, /dashboard
, and /logout
flask run
Then visit: http://127.0.0.1:5000
Coming soon at: https://flaskion.dev (in progress)
FAQs
A CLI tool for Flaskion โ a lightweight MVC micro-framework built on Flask
We found that flaskion-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 1 open source maintainer 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.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.