Home
The Blazing-Fast, Modern ASGI Python Web Framework
Build full-stack web apps and APIs with zero JavaScript. Pure Python, pure speed.
π Sponsors π
As of now we don't have any sponsors
Love JsWeb? Help us keep the project alive and growing! We're looking for sponsors to support ongoing development.
π Sponsor on GitHub π³ Donate on PayPal
β¨ Why JsWeb?
Modern Architecture
Built on ASGI for blazing-fast performance and true async support. Handle thousands of concurrent connections effortlessly.
Zero Configuration
- Automatic AJAX: Forms and navigation work like a Single Page Applicationβwithout writing JavaScript
- Built-in Admin Panel: Production-ready interface generated automatically from your models
- Automatic API Docs: OpenAPI 3.0.3 documentation generated at
/docsand/redoc
Developer First
- Simple Routing: Elegant decorator-based route definition
- Powerful CLI: Create projects, manage migrations, and run your server with simple commands
- Modular Blueprints: Organize code into reusable, maintainable components
- Full-Featured Forms: Validation, CSRF protection, and file uploads built-in
Production Ready
- Security Built-in: CSRF protection, secure sessions, password hashing
- Database Support: SQLAlchemy with Alembic migrations for any SQL database
- Jinja2 Templates: Powerful templating for dynamic HTML rendering
- Modular Design: Scale from single-file apps to enterprise applications
π Quick Start (30 seconds)
1. Install
2. Create Project
3. Run
That's it! Visit http://127.0.0.1:8000 and your app is live! π
π‘ See It In Action
views.py - Define your routes
from jsweb import Blueprint, render
views_bp = Blueprint('views')
@views_bp.route("/")
async def home(req):
return render(req, "welcome.html", {"user_name": "Guest"})
@views_bp.route("/api/status")
async def status(req):
return {"status": "online", "message": "Hello from JsWeb!"}
app.py - Wire it all together
from jsweb import JsWebApp
from views import views_bp
import config
app = JsWebApp(config=config)
app.register_blueprint(views_bp)
That's all you need for a working full-stack application!
π Key Features at a Glance
| Feature | Benefit |
|---|---|
| π ASGI Framework | Lightning-fast async I/O, handles thousands of requests |
| π Zero-Config AJAX | Forms and navigation work like SPAs, no JavaScript needed |
| ποΈ SQLAlchemy + Alembic | Powerful ORM with seamless migrations |
| π‘οΈ Security Built-in | CSRF, secure sessions, password hashing by default |
| βοΈ Auto Admin Panel | Production-ready data management interface |
| π§© Blueprints | Organize code into modular, reusable components |
| π¨ Jinja2 Templates | Powerful template engine with inheritance and macros |
| π Auto API Docs | OpenAPI documentation generated automatically |
| π οΈ Powerful CLI | Project scaffolding, server, migrations all in one |
| π± Responsive | Works beautifully on all devices |
π Next Steps
Ready to build your next amazing project?
π Get Started Guide π§ View Source Code π¬ Join Community
π Complete Documentation
Explore detailed guides and references:
- Getting Started - Installation, setup, and your first app
- Routing - URL mapping and HTTP methods
- Database - Models, queries, and migrations
- Templating - Jinja2 templates and filters
- Forms - Form handling and validation
- Blueprints - Modular application architecture
- Admin Panel - Data management interface
- CLI Reference - Command-line tools
π€ Community & Support
- GitHub: Jsweb-Tech/jsweb
- Discord: Join our community
- Issues: Report bugs or request features
- Discussions: Ask questions and share ideas
π License
JsWeb is licensed under the MIT License - free for personal and commercial use.