Files
packets/web/templates/index.html

151 lines
5.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Packets Custom Package Manager</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background: #fefefe;
color: #222;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 20px;
}
header h1 {
font-size: 2.2em;
color: #333;
}
header p {
font-size: 1.1em;
color: #555;
}
nav {
text-align: center;
margin: 15px 0;
}
nav a {
margin: 0 10px;
text-decoration: none;
color: #0066cc;
font-weight: bold;
}
main {
max-width: 900px;
margin: auto;
}
section {
margin-bottom: 30px;
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
}
h2 {
color: #222;
margin-bottom: 10px;
}
pre {
background: #f4f4f4;
padding: 10px;
border-radius: 5px;
overflow-x: auto;
}
hr {
border: none;
height: 1px;
background: linear-gradient(to right, transparent, #ccc, transparent);
margin: 20px 0;
}
@media (max-width: 600px) {
header h1 {
font-size: 1.8em;
}
nav a {
display: block;
margin: 5px 0;
}
}
</style>
</head>
<body>
<header>
<h1>📦 Packets</h1>
<p>Fast, lightweight and compatible</p>
</header>
<nav>
<a href="#download">Download</a>
<a href="/package">Packages</a>
<a href="/upload">Upload</a>
<a href="/account">Account</a>
</nav>
<hr>
<main>
<section id="overview">
<h2>Overview</h2>
<p> Packets is a lightweight and fast package manager for Linux, developed in Go. It allows you to install, remove, and update software in a simple, efficient, and secure way, using packages compressed in <code>.tar.zst</code> with metadata in <code>manifest.toml</code>. Additionally, it supports integration with Lua scripts for custom actions during installation and removal, and advanced features like local network (LAN) package discovery and remote synchronization via HTTP.</p>
</section>
<section id="features">
<h2>Key Features</h2>
<ul>
<li><strong>Lightweight & Fast</strong> Minimal resource usage, optimized for speed.</li>
<li><strong>Efficient Compression</strong> Uses <code>.tar.zst</code> format for smaller packages and faster transfers.</li>
<li><strong>Clear Metadata</strong> Each package contains a <code>manifest.toml</code> for versioning and dependency details.</li>
<li><strong>Lua Integration</strong> Execute custom scripts during install and removal.</li>
<li><strong>LAN & HTTP Support</strong> Discover packages in your local network or download remotely.</li>
<li><strong>Security</strong> All packages are verified with SHA-256 checksums.</li>
</ul>
</section>
<section id="why-use">
<h2>Why Use Packets?</h2>
<ul>
<li><strong>Open Source and Transparent</strong> Fully open on GitHub, allowing you to audit, modify, and contribute.</li>
<li><strong>Modern Design</strong> Written in Go with Lua hooks to enable flexible and safe package lifecycle scripts.</li>
<li><strong>Local Network Efficiency</strong> Peer-to-peer package discovery reduces bandwidth and speeds up installations.</li>
<li><strong>Security Focused</strong> SHA-256 validation and sandboxed Lua scripts keep your system safe.</li>
<li><strong>Customizable</strong> Easy to create and manage your own packages or community repositories.</li>
<li><strong>Light on Resources</strong> Perfect for minimal Linux setups or embedded devices.</li>
</ul>
</section>
<section id="contribute">
<h2>How to Contribute</h2>
<p>
Packets is an open project and welcomes contributions! Whether you want to:
</p>
<ul>
<li>Report issues or suggest new features</li>
<li>Submit pull requests with improvements or bug fixes</li>
<li>Create and share new packages</li>
<li>Help with documentation and translations</li>
<li>Test on different Linux distributions and hardware</li>
</ul>
<p>
Check the repository for contribution guidelines and start collaborating today.
</p>
</section>
<section id="github">
<h2>GitHub Repository</h2>
<p>
Find the source code, issues, documentation, and more at the official GitHub repository:
</p>
<a class="github-link" href="https://github.com/roboogg133/packets" target="_blank" rel="noopener noreferrer">
https://github.com/roboogg133/packets
</a>
</section>
</main>
</body>
</html>