add actual words
This commit is contained in:
@@ -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 don’t
|
||||
get first uploaded to the third one and then downloaded to the second
|
||||
but somehow get uploaded and downloaded simultaneously.</p>
|
||||
<p>I’ll 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 don’t get first uploaded to the third one
|
||||
and then downloaded to the second but somehow get uploaded and downloaded
|
||||
simultaneously.
|
||||
</p>
|
||||
<p>
|
||||
I’ll 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 won’t be
|
||||
covering just yet cause I don’t really understand them and only make
|
||||
them by copy pasting basic templates 😐) it’s 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 won’t be covering just
|
||||
yet cause I don’t really understand them and only make them by copy pasting
|
||||
basic templates 😐) it’s 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 couldn’t 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 Croc’s 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 couldn’t 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 Croc’s 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>
|
||||
|
||||
Reference in New Issue
Block a user