aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-03-29 21:05:33 -0600
committerMelody Horn <melody@boringcactus.com>2021-03-29 21:05:33 -0600
commit0cf9f29aea49b1f1501fcd4b139ec88d942f244c (patch)
tree59336e8a92d097fc40743385b298730923cf83a5 /templates
parent3fbdd8c97383df4a67c75a0cc9405d5349854e9b (diff)
downloadwhere-packaged-0cf9f29aea49b1f1501fcd4b139ec88d942f244c.tar.gz
where-packaged-0cf9f29aea49b1f1501fcd4b139ec88d942f244c.zip
put a bow on the damn thing
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html.jinja24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/index.html.jinja b/templates/index.html.jinja
new file mode 100644
index 0000000..94611ef
--- /dev/null
+++ b/templates/index.html.jinja
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Where Is This Packaged?</title>
+</head>
+<body>
+<h1>Where Is This Packaged?</h1>
+<p>A service to make SVG badges showing which package repositories offer something.</p>
+<p><strong>Poorly written, poorly tested, not production ready.</strong></p>
+<p>Only necessary because the existing service that does this <a href="https://twitter.com/QuinnyPig/status/1376357557191643141">is run by assholes</a>.</p>
+<h2>Usage</h2>
+<p><code>/badge/&lt;package&gt;.svg</code> will generate a badge for all the <a href="https://code.boringcactus.com/where-packaged/tree/repos">known</a> repositories that have a package with that name.</p>
+<p>
+ You can override with query string parameters.
+ For example, <a href="/badge/rust.svg?crates-io=&debian=rustc&ubuntu=rustc"><code>/badge/rust.svg?crates-io=&amp;debian=rustc&amp;ubuntu=rustc</code></a> looks for packages named "rust", but ignores crates.io and looks for "rustc" instead on Debian & Ubuntu.
+</p>
+<h2>Status</h2>
+<p>I don't know if I intend to finish this up and make it a more permanent service.</p>
+<h2>About</h2>
+<p>Written by <a href="https://www.boringcactus.com">boringcactus / Melody Horn</a>.</p>
+<p>Source code <a href="https://code.boringcactus.com/where-packaged/">available</a> under the <a href="https://github.com/me-shaon/GLWTPL">GLWTPL</a>.</p>
+</body>
+</html>