Tools site: Markdown editor, JSON editor, 24-hour pastebin

Single FastAPI container with a registry-driven single-page front end, so
new tools are one module plus one registry entry. Runs as one container behind a reverse proxy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
neil 2026-11-01 23:32:22 -08:00
commit 9d910eb147
26 changed files with 2591 additions and 0 deletions

30
app/static/index.html Normal file
View file

@ -0,0 +1,30 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<title>Tools</title>
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="/assets/css/style.css">
<script type="module" src="/assets/js/app.js"></script>
</head>
<body>
<div class="shell">
<header class="topbar">
<button class="icon-btn menu-btn" id="menu-btn" aria-label="Menu" aria-expanded="false">☰</button>
<a href="/" class="brand"><span class="brand-mark">⌘</span> tools</a>
<span class="topbar-title" id="topbar-title"></span>
<span class="spacer"></span>
<button class="icon-btn" id="theme-btn" aria-label="Theme" title="Theme: auto"></button>
</header>
<nav class="sidebar" id="sidebar" aria-label="Tools">
<input type="search" id="nav-filter" class="nav-filter" placeholder="Find a tool… /" aria-label="Find a tool">
<div id="nav-list"></div>
</nav>
<div class="scrim" id="scrim"></div>
<main id="view" class="view"></main>
</div>
<div class="toasts" id="toasts" aria-live="polite"></div>
</body>
</html>