<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.guncadindex.com/index.php?action=history&amp;feed=atom&amp;title=GunCAD_Mirror</id>
	<title>GunCAD Mirror - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.guncadindex.com/index.php?action=history&amp;feed=atom&amp;title=GunCAD_Mirror"/>
	<link rel="alternate" type="text/html" href="https://wiki.guncadindex.com/index.php?title=GunCAD_Mirror&amp;action=history"/>
	<updated>2026-06-06T03:20:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.guncadindex.com/index.php?title=GunCAD_Mirror&amp;diff=106&amp;oldid=prev</id>
		<title>Theshittinator: Created page with &quot;The GunCAD Mirror logo &#039;&#039;&#039;GunCAD Mirror&#039;&#039;&#039; is a seedbox application that you can run to mirror all content on the GunCAD Index over the LBRY network. It lets you contribute resiliency in the event that Odysee becomes unavailable.  You can find it on GitLab: https://gitlab.com/guncad-index/mirror; See [https://gitlab.com/guncad-index/mirror the README in the repository] for details on deployment and configuration.  Note: t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.guncadindex.com/index.php?title=GunCAD_Mirror&amp;diff=106&amp;oldid=prev"/>
		<updated>2025-12-20T19:22:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/File:GunCAD_Mirror_Logo.png&quot; title=&quot;File:GunCAD Mirror Logo.png&quot;&gt;thumb|The GunCAD Mirror logo&lt;/a&gt; &amp;#039;&amp;#039;&amp;#039;GunCAD Mirror&amp;#039;&amp;#039;&amp;#039; is a seedbox application that you can run to mirror all content on the &lt;a href=&quot;/index.php/GunCAD_Index&quot; title=&quot;GunCAD Index&quot;&gt;GunCAD Index&lt;/a&gt; over the &lt;a href=&quot;/index.php/LBRY&quot; title=&quot;LBRY&quot;&gt;LBRY&lt;/a&gt; network. It lets you contribute resiliency in the event that &lt;a href=&quot;/index.php/Odysee&quot; title=&quot;Odysee&quot;&gt;Odysee&lt;/a&gt; becomes unavailable.  You can find it on GitLab: https://gitlab.com/guncad-index/mirror; See [https://gitlab.com/guncad-index/mirror the README in the repository] for details on deployment and configuration.  Note: t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:GunCAD Mirror Logo.png|thumb|The GunCAD Mirror logo]]&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;GunCAD Mirror&amp;#039;&amp;#039;&amp;#039; is a seedbox application that you can run to mirror all content on the [[GunCAD Index]] over the [[LBRY]] network. It lets you contribute resiliency in the event that [[Odysee]] becomes unavailable.&lt;br /&gt;
&lt;br /&gt;
You can find it on GitLab: https://gitlab.com/guncad-index/mirror; See [https://gitlab.com/guncad-index/mirror the README in the repository] for details on deployment and configuration.&lt;br /&gt;
&lt;br /&gt;
Note: this documentation will reference some of the inner workings of LBRY, and may contain a lot of jargon.&lt;br /&gt;
&lt;br /&gt;
= What is it, exactly? =&lt;br /&gt;
&lt;br /&gt;
== The short version ==&lt;br /&gt;
GunCAD Mirror is &amp;#039;&amp;#039;&amp;#039;a seedbox&amp;#039;&amp;#039;&amp;#039;. You download a bunch of shit based on what the Index knows is available and seed it back up to anyone [[Accessing Content over LBRY|downloading via &amp;#039;&amp;#039;&amp;#039;LBRY Desktop&amp;#039;&amp;#039;&amp;#039;]] or &amp;#039;&amp;#039;&amp;#039;lbrynet&amp;#039;&amp;#039;&amp;#039; (i.e. other GunCAD Mirror instances). You will need at least as much space as is listed on the frontpage of the website.&lt;br /&gt;
&lt;br /&gt;
== The longer version ==&lt;br /&gt;
GunCAD Mirror is an application that:&lt;br /&gt;
&lt;br /&gt;
* Reaches out to the API of a remote GunCAD Index instance;&lt;br /&gt;
* Parses all releases (or a subset if your configured API URL has search query parameters);&lt;br /&gt;
* Instructs a local [https://github.com/lbryio/lbry-sdk lbrynet] instance to fetch the files; and&lt;br /&gt;
* Depending on certain configuration variables, can construct these files for offline browsing and offer a simple web dashboard&lt;br /&gt;
&lt;br /&gt;
= Functionality =&lt;br /&gt;
&lt;br /&gt;
== Assembling Files ==&lt;br /&gt;
If &amp;lt;code&amp;gt;MIRROR_ASSEMBLE_FILES&amp;lt;/code&amp;gt; is set, GunCAD Mirror will take the blobs it downloads and patch them up into usable files. This lets you maintain a personal usable archive in addition to seeding the content back up.&lt;br /&gt;
&lt;br /&gt;
The drawback is that this is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; how lbrynet likes to store objects, so it&amp;#039;s 100% redundant data. Thus, &amp;#039;&amp;#039;&amp;#039;turning this feature on doubles your disk usage&amp;#039;&amp;#039;&amp;#039;(*).&lt;br /&gt;
&lt;br /&gt;
(It doesn&amp;#039;t strictly double your disk usage -- there are factors that influence how efficient blob storage is, so it&amp;#039;ll be slightly more or less than that -- but it may as well be)&lt;br /&gt;
&lt;br /&gt;
== LBRY-Only Fallback Mode ==&lt;br /&gt;
In the event that the GunCAD Index can&amp;#039;t be accessed, GunCAD Mirror will recognize the situation and fall back to scouring the blockchain itself for GunCAD content. One of the following two conditions must bet met for this to trigger:&lt;br /&gt;
&lt;br /&gt;
* We encountered an error (timeout, name resolution failure, whatever) from &amp;lt;code&amp;gt;requests&amp;lt;/code&amp;gt; when we attempted to query the API endpoint specified in &amp;lt;code&amp;gt;MIRROR_API_ENDPOINT&amp;lt;/code&amp;gt;; or&lt;br /&gt;
* Our query succeeded, but the API returned no releases (we interpret this as website malfunction)&lt;br /&gt;
&lt;br /&gt;
In the event this happens, Mirror will perform a channel claim search for any channels that have a specific set of tags (like &amp;lt;code&amp;gt;guncad&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fosscad&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;3d2a&amp;lt;/code&amp;gt;, etc.) and mirror all of their releases that aren&amp;#039;t images or videos.&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s not perfect -- and no fallback solution will be -- but it works well. This should catch &amp;#039;&amp;#039;most&amp;#039;&amp;#039; creators that have wound up on the Index.&lt;br /&gt;
&lt;br /&gt;
= FAQ =&lt;br /&gt;
See [https://gitlab.com/guncad-index/mirror the README in the repository] for answers frequently-asked questions.&lt;br /&gt;
[[Category:GunCAD Index]]&lt;/div&gt;</summary>
		<author><name>Theshittinator</name></author>
	</entry>
</feed>