Examples
Every example is a single app.pyweb file in the repository, and every one is
driven in a real browser by the test suite. Each page shows the source, where the compiler placed each name, and the
JavaScript it generated.
Teamboard (SaaS) needs server
Teams with invitations and roles, tenant Models with migrations, forms, lists that update live in every tab, a background job, a webhook, API tokens and an admin; installable.
examples/saas/app.pywebCounter live demo
Signals, a computed value and a bound number input.
examples/counter/app.pywebTodos live demo
Components, list mutation, filters and keyed lists, with rows that animate in and out.
examples/todo/app.pywebUI kit and motion live demo
Dialogs, menus, pickers, toasts, a data table and charts from pyweb.ui, plus staggered, layout, drag and shared-element animations.
examples/ui/app.pywebBlog needs server
A Model, server functions, route parameters, 404s and validation errors.
examples/blog/app.pywebAccounts needs server
Your own registration, password hashing, sessions and protected pages.
examples/auth/app.pywebChat rooms needs server
Route parameters, shared server state and live updates with publish() and subscribe().
examples/chat/app.pywebShowcase needs server
Reactive state, derived values and a server-backed search on one page.
examples/showcase/app.pywebPlant shop needs server
A layout, client-side navigation, typed query parameters, page titles and a 404 page.
examples/site/app.pywebSales dashboard needs server
Live queries, counters that count up, the kit's bar chart and a Chart.js chart from npm, updating in every open window.
examples/dashboard/app.pywebAI chat needs server
Streaming replies with a Stop button and Markdown, from Anthropic, an OpenAI-compatible server or a demo model.
examples/ai-chat/app.pywebNotes (desktop) needs server
A Markdown notes app for pyweb desktop: its own window, data in the user's folder, and export through the system's Save dialog.
examples/desktop/app.pyweb