The Web Framework
for the Everyman.
Python web apps, without the ceremony. Co-locate your logic and your output. Ship a functional tool before the shift ends.
@route('/orders/overdue')
{$
# Python logic lives right here, no controller file
orders = db['default'].query(
"SELECT client, days_open, total "
"FROM orders WHERE closed = 0 "
"ORDER BY days_open DESC"
)
$}
<h1>Overdue Orders</h1>
{% for o in orders %}
<div class="row">
<span>{{ o.client }}</span>
<span class="days">{{ o.days_open }}d</span>
<span>${{ "{:,.0f}".format(o.total) }}</span>
</div>
{% endfor %}
Zero-Ceremony Routing
Write your logic exactly where it renders. A decorator, a Python block, and HTML. No jumping between controller files and view templates. If it's a .stpl file, it works.
Built for the Database
Parameterized queries out of the box. SQLite for development, one config change to switch to PostgreSQL, MySQL, or MSSQL. Describe tables in a Python schema file and Scribe writes the SQL migration. No ORM between you and your data.
HTMX-Ready
@no_layout returns bare HTML fragments for HTMX partials. @sse enables Server-Sent Events with yield. Reactive UIs without a JavaScript framework or build step.
New in v2.2
Release notes →Schema files
Describe tables in schemas/schema_default.py. scribe schema diff compares them with the live database, and scribe schema apply writes and runs the migration. Changes that could lose data are flagged for review.
Standalone executables
scribe-build compiles a project into one binary with precompiled routes and secrets stripped out. Hand someone a tool without shipping your source or a Python install.
Per-connection migrations
Each database in scribe.json decides whether Scribe may change it, with migrations and auto_migrate. scribe db status shows what's pending.
Cleaner new projects
scribe new now creates a minimal project with nothing to delete. scribe new --demo gives you the starter app with tasks, login, and registration. New @csrf_exempt decorator for API endpoints.
Get started
Full install guide →Install
tar -xzf scribe-*.tar.gz
./install.sh
Create & run
scribe new myapp
cd myapp
scribe dev
Add --demo for a starter app with tasks, login, and registration.
A browser IDE. Built in.
Run scribe ide alongside your dev server to get a Monaco-powered editor, live app preview, a database browser, and a schema panel — all at localhost:5001. No extension, no separate tool.
Prefabs
View all →Drop-in feature packages and UI components. Copy the files listed, follow the README, and ship a working feature without starting from scratch.
Modules
Full-feature packages — Python helpers, route snippets, migrations, and CSS. No dependencies beyond what each README lists.
Admin Settings · LDAP Auth
Browse Modules →Templates
Copy-paste UI components with live demos and source viewers. Vanilla JS, no build step, no framework lock-in.
Modal Dialog · Sortable Table · Rich Form
Browse Templates →