Modify intro, 2.0

This commit is contained in:
Jeffrey Serio 2024-11-21 01:41:19 -06:00
parent 61b692455c
commit e98aeaf0e8

16
main.go
View File

@ -914,7 +914,7 @@ func getTemplateContent(name string) string {
<html>
<head>
<title>hyperreal's Mirror of Anna's Archive</title>
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
<link rel="icon" type="image/x-icon" href="https://files.hyperreal.coffee/images/archive.svg">
<link rel="stylesheet" href="https://files.hyperreal.coffee/css/aa.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@ -936,9 +936,15 @@ func getTemplateContent(name string) string {
<section class="header">
<h1 class="title">hyperreal's Mirror of Anna's Archive</h1>
</section>
<p><strong>This is a mirror of the <a href="https://annas-archive.org/torrents">Anna's Archive torrent page</a></strong>. We strive to keep everything as up-to-date as possible, however, we are not affiliated with Anna's Archive and this list is maintained privately.</p>
<p>This torrent list is the ultimate unified list of releases by Annas Archive, Library Genesis, Sci-Hub, and others. By seeding these torrents, you help preserve humanitys knowledge and culture. These torrents represent the vast majority of human knowledge that can be mirrored in bulk.</p>
<p>These torrents are not meant for downloading individual books. They are meant for long-term preservation. With these torrents you can set up a full mirror of Annas Archive, using their <a href="https://software.annas-archive.se/AnnaArchivist/annas-archive">source code</a> and metadata (which can be <a href="https://software.annas-archive.se/AnnaArchivist/annas-archive/-/blob/main/data-imports/README.md">generated</a> or <a href="https://annas-archive.org/torrents#aa_derived_mirror_metadata">downloaded</a> as ElasticSearch and MariaDB databases). We scrape the <a href="https://annas-archive.org/dyn/torrents.json">full torrent list</a> from Anna's Archive every 24 hours. We also have full lists of torrents, as JSON, available <a href="/json">here</a>.</p>
<p><strong>This is an unofficial mirror of the <a href="https://annas-archive.org/torrents">Anna's Archive torrent page</a></strong>. I'm not affiliated with Anna's Archive. This list is maintained privately. I am but a humble digital archivist.</p>
<p>This site is a modified fork of the <a href="https://github.com/teamcoltra/AnnasTorrentMirror">aa.i4.mom's archive torrent mirror</a>.</p>
<p>Below is a quote from the original page on <a href="https://annas-archive.org/torrents">Anna's Archive torrent page</a>:</p>
<blockquote>
<p>This torrent list is the "ultimate unified list" of releases by Anna's Archive, Library Genesis, Sci-Hub, and others. By seeding these torrents, you help preserve humanity's knowledge and culture. These torrents represent the vast majority of human knowledge that can be mirrored in bulk.</p>
<p>These torrents are not meant for downloading individual books. They are meant for <strong>long-term preservation</strong>. With these torrents you can set up a full mirror of Anna's Archive, using our source code and metadata (which can be generated or downloaded as ElasticSearch and MariaDB databases). We also have full lists of torrents, as JSON.</p>
</blockquote>
<canvas id="seederStatsChart" width="800" height="400"></canvas>
<script>
async function fetchData() {
@ -1029,6 +1035,8 @@ func getTemplateContent(name string) string {
createChart();
</script>
<h2>Generate a Torrent List</h2>
<p>Want to help out with the seeding? You can generate a torrent list of torrents to seed based on size and type preferences. The generated list will be in the format of your choice (XML, TXT, or JSON), and will try to include torrents that currently need the most seeders (i.e. the ones with the fewest seeders).</p>
<form action="/generate-torrent-list" method="POST" target="_blank">
<div class="row">
<div class="four columns">