initial commit
This commit is contained in:
commit
0365528405
7 changed files with 1096 additions and 0 deletions
65
templates/home.html
Normal file
65
templates/home.html
Normal file
|
@ -0,0 +1,65 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>cra.tw - A link shortener for crates.io</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: monospace;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.muted {
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
@media (min-width: 800px) {
|
||||
body {
|
||||
max-width: 600px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<pre>
|
||||
d8P
|
||||
d888888P
|
||||
d8888b 88bd88b d888b8b ?88' ?88 d8P d8P
|
||||
d8P' `P 88P' `d8P' ?88 88P d88 d8P' d8P'
|
||||
88b d88 88b ,88b 88b ?8b ,88b ,88'
|
||||
`?888P'd88' `?88P'`88b `?8b `?888P'888P'
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
cra.tw -- a link shortener for <a href="https://crates.io">crates.io</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
i refer to npm packages a lot, and i've always found
|
||||
npm.im, a url shortener so that you can type npm.im/mypackage instead of
|
||||
npmjs.com/package/hello, very useful. the same thing goes for crates.io,
|
||||
which is unwieldy to type, and i can never remember whether it's crates.io/crate or
|
||||
crates.io/crates (it's the latter)
|
||||
</p>
|
||||
|
||||
<p>cra.tw is very simple, the following will redirect:</p>
|
||||
|
||||
<p>
|
||||
<a href="https://cra.tw/serde">cra.tw/serde</a> ---> <a href="https://crates.io/crates/serde">crates.io/crates/serde</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
i hope it's useful to some other people as well!!
|
||||
</p>
|
||||
|
||||
<p>
|
||||
if you have any suggestions or bug reports, the source repo is on <a href="https://codeberg.org/shadows_withal/cra.tw">codeberg</a>.
|
||||
</p>
|
||||
|
||||
<p class="muted">
|
||||
running cra.tw {{cargo_version}}
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue