A Unix-style Python web framework: filesystem routing, flat files, messages and cron, with CGI's simplicity at modern speed.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-web.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-web.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-web.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Dan Quellhorst Replace multipart parser with stdlib-only implementation eb957a2 9 months, 2 weeks ago History
base.html · 685 bytes · 26 lines
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>{% block title %}dbbasic-web{% endblock %}</title>
7 <link rel="stylesheet" href="/css/app.css">
8</head>
9<body>
10 <header>
11 <h1>dbbasic-web</h1>
12 <nav>
13 <a href="/">Home</a>
14 <a href="/hello">API Example</a>
15 <a href="/user">Users</a>
16 </nav>
17 </header>
18 <main>
19 {% block content %}{% endblock %}
20 </main>
21 <footer>
22 <p>Powered by dbbasic-web - Unix-philosophy web framework</p>
23 </footer>
24 <script src="/js/app.js"></script>
25</body>
26</html>