diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html.jinja | 24 |
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/<package>.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=&debian=rustc&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> |