add actual words

This commit is contained in:
2024-12-26 21:46:01 +02:00
parent 09e64254c9
commit 2a87adfd63
11 changed files with 480 additions and 347 deletions

View File

@@ -31,52 +31,65 @@
<body>
<section>
<blockquote>
<p>DATE: Sun 12 Sep 2021 00:53 By: konsthol@pm.me</p>
<p>DATE: Sun 12 Sep 2021 00:53 By: konsthol@pm.me</p>
</blockquote>
<h1 id="awesome-file-sharing-tool">Awesome file sharing tool</h1>
<p>Croc is one of the best easy to use file sharing cli tools I came
across and only recently discovered how easy it can be to self host your
own relay.</p>
<p>Croc as far as I understand needs an intermediary to staple as it
says the connection between two computers. If I grasp the concept
correctly if two computers can both connect to a third one then a
connection between them can be established. The files sent over dont
get first uploaded to the third one and then downloaded to the second
but somehow get uploaded and downloaded simultaneously.</p>
<p>Ill have to further read about that but in short if you have a
computer like a server with a static ip that is easily accessible from
the internet then because of the great job the author did you can host a
relay simply by typing the command</p>
<p>
Croc is one of the best easy to use file sharing cli tools I came across and
only recently discovered how easy it can be to self host your own relay.
</p>
<p>
Croc as far as I understand needs an intermediary to staple as it says the
connection between two computers. If I grasp the concept correctly if two
computers can both connect to a third one then a connection between them can
be established. The files sent over dont get first uploaded to the third one
and then downloaded to the second but somehow get uploaded and downloaded
simultaneously.
</p>
<p>
Ill have to further read about that but in short if you have a computer like
a server with a static ip that is easily accessible from the internet then
because of the great job the author did you can host a relay simply by typing
the command
</p>
<blockquote>
<p>croc relay</p>
<p>croc relay</p>
</blockquote>
<p>which will by default use the ports 9009-9013 but you can specify
your own with the ports arguement like</p>
<p>
which will by default use the ports 9009-9013 but you can specify your own
with the ports arguement like
</p>
<blockquote>
<p>croc relay ports 1111,1112</p>
<p>croc relay ports 1111,1112</p>
</blockquote>
<p>Then if you make that into a systemd service (which I wont be
covering just yet cause I dont really understand them and only make
them by copy pasting basic templates 😐) its basically a set and forget
kind of thing and you can now send files to anyone in any operating
system by using croc by typing</p>
<p>
Then if you make that into a systemd service (which I wont be covering just
yet cause I dont really understand them and only make them by copy pasting
basic templates 😐) its basically a set and forget kind of thing and you can
now send files to anyone in any operating system by using croc by typing
</p>
<blockquote>
<p>croc relay “your.domain:9009” send [file]</p>
<p>croc relay “your.domain:9009” send [file]</p>
</blockquote>
<p>and the recipient can download it by typing</p>
<blockquote>
<p>croc relay “your.domain:9009” [code]</p>
<p>croc relay “your.domain:9009” [code]</p>
</blockquote>
<p>This is super useful cause there was a time when the public instance
was down and I couldnt send files when it was just so easy to not be
dependent on the public instance in the first place.</p>
<p>You should definetely read more about it on Crocs github page and
set up your own relay asap 😎</p>
<p><a
href="https://github.com/schollz/croc">https://github.com/schollz/croc</a></p>
<p>
This is super useful cause there was a time when the public instance was down
and I couldnt send files when it was just so easy to not be dependent on the
public instance in the first place.
</p>
<p>
You should definetely read more about it on Crocs github page and set up your
own relay asap 😎
</p>
<p>
<a href="https://github.com/schollz/croc">https://github.com/schollz/croc</a>
</p>
<p><a href="..">..</a></p>
<footer>
<a id="gemyo" href="gemini://konsthol.eu/"><img src="/images/best_viewed_on_gemini.png" /></a>
<a id="gemyo" href="gemini://konsthol.eu/"><img src="/images/best_viewed_on_gemini.png" /><br /></a>
</footer>
</section>