Complete Auth System
Flask-Security with 2FA, WebAuthn, OAuth (Google & GitHub), and role-based access control.
- Two-factor authentication
- Social login ready
- Session protection
Enferno is a modern Flask framework built for AI-assisted development. Combine intelligent patterns, Vue 3, and battle-tested security to launch your SaaS faster than ever.
From authentication to background tasks, Enferno handles the infrastructure so you can focus on building your product.
Flask-Security with 2FA, WebAuthn, OAuth (Google & GitHub), and role-based access control.
Modern frontend with no build step required. Material Design components work directly in the browser.
Smart Cursor Rules and contextual guides help AI assistants understand your codebase.
Celery integration with Redis for reliable async processing. Handle emails, jobs, and scheduled tasks.
Python 3.11+, SQLAlchemy 2.x, Celery for background tasks, and uv for fast package management.
One-command deployment with Docker Compose. Includes PostgreSQL, Redis, Nginx, and Celery workers.
No complex configuration. Just clone, setup, and start building.
One script configures everything including virtual environment and secure keys.
git clone git@github.com:level09/enferno.git
cd enferno
./setup.sh
Create tables and admin user with a single command.
uv run flask create-db
uv run flask install
Start developing locally or deploy with Docker.
# Development
uv run flask run
# Production
docker compose up --build
Enferno uses modern Flask patterns that are easy to understand and extend.
# enferno/portal/views.py
from flask import Blueprint, render_template
from flask_security import auth_required
portal = Blueprint('portal', __name__)
@portal.route('/dashboard')
@auth_required()
def dashboard():
return render_template('portal/dashboard.html')
// Uses ${} delimiters to avoid Jinja conflicts
const app = Vue.createApp({
delimiters: ['${', '}'],
data() {
return { items: [] }
},
methods: {
async loadItems() {
const res = await axios.get('/api/items')
this.items = res.data
}
}
})
Factory pattern, blueprint organization, and SQLAlchemy 2.x throughout.
Every component chosen for reliability and developer experience.
Build your SaaS without limits.
Not necessarily. Enferno works great with vanilla JavaScript too. Vue 3 + Vuetify are included for those who want a rich component library, but you can use any frontend approach.
Absolutely. MIT license gives you complete freedom to build and sell commercial applications without any restrictions or attribution requirements.
Enferno includes smart Cursor Rules, consistent patterns, and contextual guides that help AI assistants like Claude and GPT understand your codebase structure. This makes pair-programming with AI significantly more effective.
Enferno provides production-ready defaults: authentication with OAuth, background tasks with Celery, Docker deployment, and a modern Vue 3 frontend. It's the boilerplate you'd build anyway, already battle-tested.