nobsdelivr/templates/index.html

85 lines
2.6 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>nobsdelivr</title>
<link
href="npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
/>
<style>
body {
background-color: #f8f9fa;
}
.hero {
background: gray;
color: white;
padding: 100px 0;
}
.hero h1 {
font-size: 3.5rem;
}
.hero p {
font-size: 1.25rem;
}
.example-code {
background-color: #e9ecef;
padding: 15px;
border-radius: 5px;
font-family: monospace;
}
</style>
</head>
<body>
<header class="hero text-center">
<div class="container">
<h1 class="display-4">Welcome to nobsdelivr</h1>
<p class="lead">
nobsdelivr is a simple proxy to cdn.jsdelivr.net. Use it to proxy your
requests to the CDN.
</p>
</div>
</header>
<main class="container text-center my-5">
<p class="lead">
To use the proxy, simply replace
<code>https://cdn.jsdelivr.net/</code> with <code>{{ domain }}</code> in
the URL.
</p>
<p>Example:</p>
<div class="example-code">
<code>{{ domain }}npm/bootstrap@5.1.3/dist/css/bootstrap.min.css</code>
</div>
</main>
<footer class="text-center py-4">
<div class="container">
<h2>Privacy / Disclaimer</h2>
<p>
noBSdelivr is a privacy-focused service. It does not track you or log
any data. It creates a fully separate connection to jsdelivr for
each request, so jsdelivr does not see your IP address or any other
information about you.
</p>
<p>
Please note that we cannot guarantee that files served through this
proxy do not contain tracking or other privacy-invading code, or that
they do not cause your browser to connect to third-party servers. The
best way to protect your users' privacy is to host all files on your
own server.
</p>
<p>
The service is open-source and you can view the source code on
<a href="https://git.private.coffee/privatecoffee/nobsdelivr"
>Private.coffee Git</a
>.
</p>
<p>Brought to you by <a href="https://private.coffee">Private.coffee</a></p>
</div>
</footer>
<script src="npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>