transfer.sh/transfersh-web/index.html

366 lines
17 KiB
HTML
Raw Normal View History

2014-10-16 20:01:43 +02:00
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
include "includes/head.html"
2014-10-16 20:01:43 +02:00
2014-10-17 12:12:14 +02:00
<body>
2014-10-16 20:01:43 +02:00
<script>
2014-10-17 12:12:14 +02:00
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-40833733-1', 'transfer.sh');
ga('send', 'pageview');
2014-10-16 20:01:43 +02:00
</script>
2014-10-17 12:12:14 +02:00
include "includes/navigation.html"
2014-10-16 20:01:43 +02:00
<section id="home">
<div class="wrapper">
<h2>
2014-10-24 15:58:03 +02:00
Easy file sharing from the command line</h2>
2014-10-20 15:33:05 +02:00
<div class="row animated fadeInDown">
2014-10-24 09:58:59 +02:00
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
2014-10-24 13:28:04 +02:00
<div class="terminal-top">
</div>
2014-10-24 09:58:59 +02:00
<div id="terminal" class="terminal">
2014-10-24 15:09:32 +02:00
<code>
<span class="code-title"># Upload using cURL</span>
<br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt https://transfer.sh/66nb8/hello.txt
<br>
<br>
<span class="code-title"># Create an alias</span>
<br>$ transfer hello.txt
<br>##################################################### 100.0% https://transfer.sh/eibhM/hello.txt
2014-10-24 15:58:03 +02:00
</code>
2014-10-24 12:24:02 +02:00
</div>
<div id="web">
<code>
2014-10-24 15:09:32 +02:00
<br>
2014-10-24 12:24:02 +02:00
<span class="code-title"># Upload from web</span>
<br>Drag your files here, or <a class="browse" href="#"> click to browse.</a>
</code>
<input type="file" multiple="multiple" style='display: none;' />
2014-10-24 15:09:32 +02:00
<ul class='queue'>
2014-10-24 12:24:02 +02:00
<li>
</li>
</ul>
<div class='all-files'>
2014-10-24 13:28:04 +02:00
<br>
2014-10-24 15:09:32 +02:00
<div>
<span class="code-title"># Download all your files</span>
<br/>
<br/>
<a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
</div>
2014-10-24 12:24:02 +02:00
</div>
2014-10-16 20:01:43 +02:00
</div>
</div>
2014-10-24 09:58:59 +02:00
2014-10-24 15:09:32 +02:00
<div>
<a href="#features" class="btn-cta btn-home">learn more</i> </a>
</div>
2014-10-16 20:01:43 +02:00
</div>
</section>
2014-10-24 09:58:59 +02:00
2014-10-16 20:01:43 +02:00
<section id="features">
2014-10-20 11:15:41 +02:00
<div class="wrapper container">
2014-10-20 19:48:17 +02:00
<div class="row animated fadeInDown ">
2014-10-20 15:08:28 +02:00
<div class="col-md-3 col-xs-6">
2014-10-16 20:01:43 +02:00
<i class="icon-terminal"></i>
2014-10-17 12:12:14 +02:00
<h3>Made for use with shell</h3>
2014-10-16 20:01:43 +02:00
</div>
2014-10-20 11:15:41 +02:00
<div class="col-md-3 col-xs-6">
2014-10-16 20:01:43 +02:00
<i class="icon-link"></i>
2014-10-24 09:58:59 +02:00
<h3>Share files with a URL</h3>
2014-10-16 20:01:43 +02:00
</div>
2014-10-20 11:15:41 +02:00
<div class="col-md-3 col-xs-6">
2014-10-16 20:01:43 +02:00
<i class="icon-database"></i>
<h3>Upload up to 5 GB</h3>
</div>
2014-10-20 11:15:41 +02:00
<div class="col-md-3 col-xs-6">
2014-10-16 20:01:43 +02:00
<i class="icon-clock"></i>
2014-10-17 12:12:14 +02:00
<h3>Files stored for 14 days</h3>
2014-10-16 20:01:43 +02:00
</div>
</div>
2014-10-20 19:48:17 +02:00
<div class="row animated fadeInDown">
2014-10-20 11:15:41 +02:00
<div class="col-md-offset-3 col-md-3 col-xs-6">
2014-10-16 20:01:43 +02:00
<i class="icon-tag"></i>
<h3>For free</h3>
</div>
2014-10-20 11:15:41 +02:00
<div class="col-md-3 col-xs-6">
2014-10-16 20:01:43 +02:00
<i class="icon-lock"></i>
<h3>Encrypt your files</h3>
</div>
</div>
</div>
</section>
2014-10-17 13:30:34 +02:00
2014-10-16 20:01:43 +02:00
<section id="samples">
<div class="wrapper">
<h2>
2014-10-17 12:12:14 +02:00
Sample use cases
</h2>
2014-10-16 20:01:43 +02:00
<div class="row">
2014-10-20 11:15:41 +02:00
<div class="col-md-6 ">
2014-10-24 15:58:03 +02:00
<h3>How to upload</h3>
<div class="terminal-top">
</div>
<div class="terminal">
2014-10-24 15:09:32 +02:00
<code>
2014-10-24 15:58:03 +02:00
<span class="code-title"># Uploading is easy using curl</span>
<br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
2014-10-24 15:09:32 +02:00
<br>
<br>
<span class="code-title"># Download the file</span>
2014-10-24 15:58:03 +02:00
<br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
2014-10-24 15:09:32 +02:00
</code>
2014-10-24 13:28:04 +02:00
</div>
2014-10-16 20:01:43 +02:00
</div>
2014-10-20 11:15:41 +02:00
<div class="col-md-6 ">
<h3>Create an alias and add it to .bashrc or .zshrc</h3>
2014-10-24 15:58:03 +02:00
<div class="terminal-top">
</div>
<div class="terminal">
2014-10-24 15:09:32 +02:00
<code>
<span class="code-title"># Add this to .bashrc or its equivalent</span>
<br/>transfer() {
<br># write to output to tmpfile because of progress bar
2014-10-25 00:40:51 +02:00
<br>tmpfile=$( mktemp -t transferXXX ); curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
<br/>
<br/>alias transfer=transfer
<br/>
<br/>
2014-10-24 15:58:03 +02:00
<span class="code-title"># Now you can use transfer command</span>
2014-10-24 15:09:32 +02:00
<br>$ transfer hello.txt
</code>
2014-10-24 13:28:04 +02:00
</div>
2014-10-16 20:01:43 +02:00
</div>
</div>
2014-10-20 11:15:41 +02:00
2014-10-24 09:58:59 +02:00
<a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
2014-10-20 17:30:54 +02:00
2014-10-24 09:58:59 +02:00
<div class="collapse " id="coll">
2014-10-24 15:09:32 +02:00
<div class="row">
<div class="col-md-6 ">
2014-10-24 15:58:03 +02:00
<h3>Upload multiple files at once</h3>
<div class="terminal-top">
</div>
<div class="terminal">
2014-10-24 13:28:04 +02:00
<code>
2014-10-24 15:58:03 +02:00
<br>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
2014-10-24 13:28:04 +02:00
<br>
<br>
2014-10-24 15:58:03 +02:00
<span class="code-title"># Combining downloads as zip or tar archive</span>
<br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
<br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
2014-10-24 13:28:04 +02:00
</code>
2014-10-24 15:09:32 +02:00
</div>
2014-10-24 13:28:04 +02:00
2014-10-24 15:58:03 +02:00
2014-10-24 15:09:32 +02:00
</div>
<div class="col-md-6 ">
2014-10-24 15:58:03 +02:00
<h3>Encrypt your files before the transfer</h3>
<div class="terminal-top">
</div>
<div class="terminal">
2014-10-24 13:28:04 +02:00
<code>
<span class="code-title"># Encrypt files with password using gpg</span>
2014-10-24 15:58:03 +02:00
<br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
2014-10-24 15:09:32 +02:00
<br>
2014-10-24 13:28:04 +02:00
<br>
2014-10-24 15:58:03 +02:00
<span class="code-title"># Encrypt and upload</span>
<br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
2014-10-24 13:28:04 +02:00
</code>
2014-10-24 15:09:32 +02:00
</div>
2014-10-24 13:28:04 +02:00
</div>
2014-10-24 15:09:32 +02:00
</div>
2014-10-24 09:58:59 +02:00
<div class="row">
<div class="col-md-6">
2014-10-24 15:58:03 +02:00
<h3>Scan for malware</h3>
<div class="terminal-top">
</div>
<div class="terminal">
<code>
<span class="code-title"># Scan for malware or viruses using Clamav</span>
<br>$ wget http://www.eicar.org/download/eicar.com
<br>$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
<br>
<br>
2014-10-24 15:58:03 +02:00
<span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
<br>$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
2014-10-24 15:58:03 +02:00
<br>
</code>
</div>
2014-10-24 09:58:59 +02:00
</div>
<div class="col-md-6">
<h3>Backup mysql database, encrypt and transfer</h3>
<div class="terminal-top">
</div>
<div class="terminal">
<code>
<span class="code-title"># Backup, encrypt and transfer</span>
<br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3>Send email with transfer link (uses alias)</h3>
<div class="terminal-top">
</div>
<div class="terminal">
<code>
<span class="code-title"># Transfer and send email with link (uses alias)</span>
<br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
</code>
</div>
</div>
2014-10-24 09:58:59 +02:00
<div class="col-md-6">
2014-10-24 15:58:03 +02:00
<h3>Send us your awesome example</h3>
<div class="terminal-top">
</div>
<div class="terminal">
<code>
<span class="code-title"># Your awesome sample will be put here</span>
2014-10-24 15:58:03 +02:00
</code>
</div>
2014-10-24 09:58:59 +02:00
</div>
2014-10-20 11:15:41 +02:00
</div>
2014-10-24 09:58:59 +02:00
</div>
2014-10-20 11:15:41 +02:00
</div>
</section>
<section id="share">
<div class="wrapper">
<h2>Follow on GitHub</h2>
<br>
<br>
<iframe src="http://ghbtns.com/github-btn.html?user=dutchcoders&repo=transfer.sh&type=follow&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="300" height="50"></iframe>
<iframe src="http://ghbtns.com/github-btn.html?user=dutchcoders&repo=transfer.sh&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="200" height="50"></iframe>
</div>
</section>
2014-10-20 11:15:41 +02:00
<section id="reviews">
<div class="wrapper">
2014-10-16 20:01:43 +02:00
<div class="row">
2014-10-20 11:51:04 +02:00
<div class="col-md-8 col-md-offset-2 col-xs-12">
2014-10-20 15:08:28 +02:00
<blockquote class="twitter-tweet tweet-xl" lang="en">
2014-10-20 17:30:54 +02:00
<img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
<p><a href="https://twitter.com/dutchcoders">@dutchcoders</a> Thanks for transfer.sh. Just used it for a production purpose for a customer. So great, so easy, so https. :)</p>
<a href="https://twitter.com/FloifyDave/status/517383101425516544">
&mdash; Dave Sims (@FloifyDave)</a>
2014-10-20 11:51:04 +02:00
</blockquote>
</div>
</div>
<div class="row">
2014-10-20 11:15:41 +02:00
<div class="col-md-6 col-xs-12">
<blockquote class="twitter-tweet" lang="en">
2014-10-20 16:20:00 +02:00
<img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
2014-10-20 15:08:28 +02:00
<p><a href="https://twitter.com/dutchcoders">@dutchcoders</a> love transfer.sh! any change we can *pay* for a self-hosted version?</p><a href="https://twitter.com/kareemk/status/517029789191118849">&mdash; Kareem Kouddous (@kareemk) </a>
2014-10-20 11:15:41 +02:00
</blockquote>
</div>
<div class="col-md-6 col-xs-12">
<blockquote class="twitter-tweet" lang="en">
2014-10-20 17:30:54 +02:00
<img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
2014-10-20 15:08:28 +02:00
<p><a href="http://t.co/JomAmqWYEB">http://t.co/JomAmqWYEB</a> by <a href="https://twitter.com/dutchcoders">@dutchcoders</a> is pure awesomeness! any chance of source on github? :-)</p><a href="https://twitter.com/drakpz/status/517008058841829376">&mdash; PJ Spagnolatti (@drakpz)</a>
2014-10-20 11:15:41 +02:00
</blockquote>
</div>
</div>
<div class="row">
<div class="col-md-6 col-xs-12">
<blockquote class="twitter-tweet" lang="en">
2014-10-20 16:20:00 +02:00
<img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
2014-10-20 11:15:41 +02:00
<p>Love transfer.sh! Will be using it from now on! Thanks for the amazing service we can use from the CLI <a href="https://twitter.com/dutchcoders">@dutchcoders</a>
2014-10-20 15:08:28 +02:00
</p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
2014-10-20 11:15:41 +02:00
</blockquote>
2014-10-16 20:01:43 +02:00
</div>
2014-10-20 11:15:41 +02:00
<div class="col-md-6 col-xs-12">
<blockquote class="twitter-tweet" lang="en">
2014-10-20 17:30:54 +02:00
<img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
<p>transfer.sh is my latest fav service! Try simple command-line and web file sharing! <a href="https://t.co/FSrsb1JKJd">https://t.co/FSrsb1JKJd</a>&#10;Thanks <a href="https://twitter.com/dutchcoders">@dutchcoders</a> !</p> <a href="https://twitter.com/arvestad/status/519507976491499521">&mdash; Lars Arvestad (@arvestad)</a>
2014-10-20 11:15:41 +02:00
</blockquote>
2014-10-16 20:01:43 +02:00
</div>
</div>
</div>
</section>
2014-10-16 20:01:43 +02:00
<section id="share">
<div class="wrapper">
2014-10-17 12:12:14 +02:00
<h2>Share the love</h2>
2014-10-16 20:01:43 +02:00
<ul class="share-buttons">
<li>
<a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Ftransfer.sh&t=" target="_blank" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(document.URL) + '&t=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-facebook"></i>
</a>
</li>
<li>
<a href="https://twitter.com/intent/tweet?source=http%3A%2F%2Ftransfer.sh&text=:%20http%3A%2F%2Ftransfer.sh" target="_blank" title="Tweet" onclick="window.open('https://twitter.com/intent/tweet?text=' + encodeURIComponent(document.title) + ':%20' + encodeURIComponent(document.URL)); return false;"> <i class="icon-twitter"></i>
</li>
<li>
<a href="https://plus.google.com/share?url=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on Google+" onclick="window.open('https://plus.google.com/share?url=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-gplus"></i>
</a>
</li>
<li>
<a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Ftransfer.sh&title=&summary=&source=http%3A%2F%2Ftransfer.sh" target="_blank" title="Share on LinkedIn" onclick="window.open('http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(document.URL) + '&title=' + encodeURIComponent(document.title)); return false;"> <i class="icon-linkedin"></i>
</a>
</li>
</ul>
</div>
</section>
<section id="contact">
<div class="wrapper">
<i class="icon-mail"></i>
<h2>
2014-10-17 12:12:14 +02:00
Any questions?
</h2>
2014-10-16 20:01:43 +02:00
<a href="#" data-uv-trigger class="btn-cta">contact us</a>
</div>
</section>
<section id="tor">
<div class="wrapper">
<a href="https://torproject.com"><img src="images/tor.svg" alt=""></a><br/>
<a href="https://jxm5d6emw5rknovg.onion/">https://jxm5d6emw5rknovg.onion/</a>
</div>
</section>
include "includes/footer.html"
include "includes/js.html"
2014-10-16 20:01:43 +02:00
2014-10-17 12:12:14 +02:00
2014-10-16 20:01:43 +02:00
2014-10-22 14:39:44 +02:00
2014-10-16 20:01:43 +02:00
</body>
</html>