Switch from PostgreSQL to SQLite (modernc.org/sqlite, pure Go) for simpler deployment on the MCP platform. Fix URL normalization to preserve query parameters so sites like YouTube deduplicate correctly. Add Dockerfile, Makefile, and MCP service definition. Add pg2sqlite migration tool. Support $PORT env var for MCP port assignment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
734 B
Smarty
30 lines
734 B
Smarty
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>kls</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta property="og:title" content="kls" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:url" content="https://kls.ai6ua.net/" />
|
|
<style>
|
|
* { font-size: large; }
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<h2>KLS</h2>
|
|
{{ if (ne .Short "") }}
|
|
<p>Short code: {{.Short}}</p>
|
|
{{ end }}
|
|
<form action="/" method="POST">
|
|
<input type="text" id="value" name="value" /><br />
|
|
<label for="strip">Strip query string</label>
|
|
<input type="checkbox" id="strip" name="strip">
|
|
<br />
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
</body>
|
|
</html>
|