You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

438 lines
20 KiB

  1. <!doctype html>
  2. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]><!-->
  6. <html class="no-js">
  7. <!--<![endif]-->
  8. <head>
  9. <meta charset="utf-8">
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11. <title>transfer.sh - Easy and fast file sharing from the command-line.</title>
  12. <meta name="description" content="Easy and fast file sharing from the command-line.">
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  14. <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  15. <link rel="stylesheet" href="styles/main.css">
  16. <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
  17. <link href='//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
  18. <script src="scripts/vendor/modernizr.js"></script>
  19. </head>
  20. <body>
  21. <script>
  22. (function(i, s, o, g, r, a, m) {
  23. i['GoogleAnalyticsObject'] = r;
  24. i[r] = i[r] || function() {
  25. (i[r].q = i[r].q || []).push(arguments)
  26. }, i[r].l = 1 * new Date();
  27. a = s.createElement(o),
  28. m = s.getElementsByTagName(o)[0];
  29. a.async = 1;
  30. a.src = g;
  31. m.parentNode.insertBefore(a, m)
  32. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  33. ga('create', 'UA-40833733-1', 'transfer.sh');
  34. ga('send', 'pageview');
  35. </script>
  36. <div id="navigation">
  37. <div class="wrapper">
  38. <a href="/">
  39. <h1>transfer.sh</h1>
  40. </a>
  41. <ul class="hidden-xs">
  42. <li><a href="/">home</a>
  43. </li>
  44. <li><a href="/#samples">sample use cases</a>
  45. </li>
  46. <li><a href="/#contact">contact us</a>
  47. </li>
  48. </ul>
  49. </div>
  50. </div>
  51. <section id="home">
  52. <div class="wrapper">
  53. <h2>
  54. Easy file sharing from the command line</h2>
  55. <div class="row animated fadeInDown">
  56. <div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
  57. <div class="terminal-top">
  58. </div>
  59. <div id="terminal" class="terminal">
  60. <code>
  61. <span class="code-title"># Upload using cURL</span>
  62. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt https://transfer.sh/66nb8/hello.txt
  63. <br>
  64. <br>
  65. <span class="code-title"># Create an alias</span>
  66. <br>$ transfer hello.txt
  67. <br>##################################################### 100.0% https://transfer.sh/eibhM/hello.txt
  68. </code>
  69. </div>
  70. <div id="web">
  71. <code>
  72. <br>
  73. <span class="code-title"># Upload from web</span>
  74. <br>Drag your files here, or <a class="browse" href="#"> click to browse.</a>
  75. </code>
  76. <input type="file" multiple="multiple" style='display: none;' />
  77. <ul class='queue'>
  78. <li>
  79. </li>
  80. </ul>
  81. <div class='all-files'>
  82. <br>
  83. <div>
  84. <span class="code-title"># Download all your files</span>
  85. <br/>
  86. <br/>
  87. <a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. <div>
  93. <a href="#features" class="btn-cta btn-home">learn more</i> </a>
  94. </div>
  95. </div>
  96. </section>
  97. <section id="features">
  98. <div class="wrapper container">
  99. <div class="row animated fadeInDown ">
  100. <div class="col-md-3 col-xs-6">
  101. <i class="icon-terminal"></i>
  102. <h3>Made for use with shell</h3>
  103. </div>
  104. <div class="col-md-3 col-xs-6">
  105. <i class="icon-link"></i>
  106. <h3>Share files with a URL</h3>
  107. </div>
  108. <div class="col-md-3 col-xs-6">
  109. <i class="icon-database"></i>
  110. <h3>Upload up to 5 GB</h3>
  111. </div>
  112. <div class="col-md-3 col-xs-6">
  113. <i class="icon-clock"></i>
  114. <h3>Files stored for 14 days</h3>
  115. </div>
  116. </div>
  117. <div class="row animated fadeInDown">
  118. <div class="col-md-offset-3 col-md-3 col-xs-6">
  119. <i class="icon-tag"></i>
  120. <h3>For free</h3>
  121. </div>
  122. <div class="col-md-3 col-xs-6">
  123. <i class="icon-lock"></i>
  124. <h3>Encrypt your files</h3>
  125. </div>
  126. </div>
  127. </div>
  128. </section>
  129. <section id="samples">
  130. <div class="wrapper">
  131. <h2>
  132. Sample use cases
  133. </h2>
  134. <div class="row">
  135. <div class="col-md-6 ">
  136. <h3>How to upload</h3>
  137. <div class="terminal-top">
  138. </div>
  139. <div class="terminal">
  140. <code>
  141. <span class="code-title"># Uploading is easy using curl</span>
  142. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  143. <br>
  144. <br>
  145. <span class="code-title"># Download the file</span>
  146. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  147. </code>
  148. </div>
  149. </div>
  150. <div class="col-md-6 ">
  151. <h3>Create an alias and add it to .bashrc or .zshrc</h3>
  152. <div class="terminal-top">
  153. </div>
  154. <div class="terminal">
  155. <code>
  156. <span class="code-title"># Add this to .bashrc or its equivalent</span>
  157. <br/>transfer() {
  158. <br># write to output to tmpfile because of progress bar
  159. <br>tmpfile=$( mktemp -t transferXXX ); curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; }
  160. <br/>
  161. <br/>alias transfer=transfer
  162. <br/>
  163. <br/>
  164. <span class="code-title"># Now you can use transfer command</span>
  165. <br>$ transfer hello.txt
  166. </code>
  167. </div>
  168. </div>
  169. </div>
  170. <a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
  171. <div class="collapse " id="coll">
  172. <div class="row">
  173. <div class="col-md-6 ">
  174. <h3>Upload multiple files at once</h3>
  175. <div class="terminal-top">
  176. </div>
  177. <div class="terminal">
  178. <code>
  179. <br>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
  180. <br>
  181. <br>
  182. <span class="code-title"># Combining downloads as zip or tar archive</span>
  183. <br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
  184. <br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
  185. </code>
  186. </div>
  187. </div>
  188. <div class="col-md-6 ">
  189. <h3>Encrypt your files before the transfer</h3>
  190. <div class="terminal-top">
  191. </div>
  192. <div class="terminal">
  193. <code>
  194. <span class="code-title"># Encrypt files with password using gpg</span>
  195. <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
  196. <br>
  197. <br>
  198. <span class="code-title"># Encrypt and upload</span>
  199. <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
  200. </code>
  201. </div>
  202. </div>
  203. </div>
  204. <div class="row">
  205. <div class="col-md-6">
  206. <h3>Scan for malware</h3>
  207. <div class="terminal-top">
  208. </div>
  209. <div class="terminal">
  210. <code>
  211. <span class="code-title"># Scan for malware or viruses using Clamav</span>
  212. <br>$ wget http://www.eicar.org/download/eicar.com
  213. <br>$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
  214. <br>
  215. <br>
  216. <span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
  217. <br>$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
  218. <br>
  219. </code>
  220. </div>
  221. </div>
  222. <div class="col-md-6">
  223. <h3>Backup mysql database, encrypt and transfer</h3>
  224. <div class="terminal-top">
  225. </div>
  226. <div class="terminal">
  227. <code>
  228. <span class="code-title"># Backup, encrypt and transfer</span>
  229. <br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
  230. </div>
  231. </div>
  232. </div>
  233. <div class="row">
  234. <div class="col-md-6">
  235. <h3>Send email with transfer link (uses alias)</h3>
  236. <div class="terminal-top">
  237. </div>
  238. <div class="terminal">
  239. <code>
  240. <span class="code-title"># Transfer and send email with link (uses alias)</span>
  241. <br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
  242. </code>
  243. </div>
  244. </div>
  245. <div class="col-md-6">
  246. <h3>Send us your awesome example</h3>
  247. <div class="terminal-top">
  248. </div>
  249. <div class="terminal">
  250. <code>
  251. <span class="code-title"># Your awesome sample will be put here</span>
  252. </code>
  253. </div>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. </section>
  259. <section id="share">
  260. <div class="wrapper">
  261. <h2>Follow on GitHub</h2>
  262. <br>
  263. <br>
  264. <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>
  265. <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>
  266. </div>
  267. </section>
  268. <section id="reviews">
  269. <div class="wrapper">
  270. <div class="row">
  271. <div class="col-md-8 col-md-offset-2 col-xs-12">
  272. <blockquote class="twitter-tweet tweet-xl" lang="en">
  273. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  274. <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>
  275. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  276. &mdash; Dave Sims (@FloifyDave)</a>
  277. </blockquote>
  278. </div>
  279. </div>
  280. <div class="row">
  281. <div class="col-md-6 col-xs-12">
  282. <blockquote class="twitter-tweet" lang="en">
  283. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  284. <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>
  285. </blockquote>
  286. </div>
  287. <div class="col-md-6 col-xs-12">
  288. <blockquote class="twitter-tweet" lang="en">
  289. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  290. <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>
  291. </blockquote>
  292. </div>
  293. </div>
  294. <div class="row">
  295. <div class="col-md-6 col-xs-12">
  296. <blockquote class="twitter-tweet" lang="en">
  297. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  298. <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>
  299. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  300. </blockquote>
  301. </div>
  302. <div class="col-md-6 col-xs-12">
  303. <blockquote class="twitter-tweet" lang="en">
  304. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  305. <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>
  306. </blockquote>
  307. </div>
  308. </div>
  309. </div>
  310. </section>
  311. <section id="share">
  312. <div class="wrapper">
  313. <h2>Share the love</h2>
  314. <ul class="share-buttons">
  315. <li>
  316. <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>
  317. </a>
  318. </li>
  319. <li>
  320. <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>
  321. </li>
  322. <li>
  323. <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>
  324. </a>
  325. </li>
  326. <li>
  327. <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>
  328. </a>
  329. </li>
  330. </ul>
  331. </div>
  332. </section>
  333. <section id="contact">
  334. <div class="wrapper">
  335. <i class="icon-mail"></i>
  336. <h2>
  337. Any questions?
  338. </h2>
  339. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  340. </div>
  341. </section>
  342. <section id="tor">
  343. <div class="wrapper">
  344. <a href="https://torproject.com"><img src="images/tor.svg" alt=""></a><br/>
  345. <a href="https://jxm5d6emw5rknovg.onion/">https://jxm5d6emw5rknovg.onion/</a>
  346. </div>
  347. </section>
  348. <footer>
  349. <div class="wrapper">
  350. <img src="images/Logo-orange.png" alt="Founded in Holland">
  351. <p>Made with <i class="icon-heart"></i> by <a href="http://dutchcoders.io/" title="Dutch Coders">Dutch Coders</a>
  352. </p>
  353. </div>
  354. </footer>
  355. <a href="https://github.com/dutchcoders/transfer.sh/">
  356. <img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
  357. </a>
  358. <script>
  359. (function() {
  360. var uv = document.createElement('script');
  361. uv.type = 'text/javascript';
  362. uv.async = true;
  363. uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
  364. var s = document.getElementsByTagName('script')[0];
  365. s.parentNode.insertBefore(uv, s)
  366. })()
  367. </script>
  368. <!--[if lt IE 7]>
  369. <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
  370. <![endif]-->
  371. <script>
  372. (function(b, o, i, l, e, r) {
  373. b.GoogleAnalyticsObject = l;
  374. b[l] || (b[l] =
  375. function() {
  376. (b[l].q = b[l].q || []).push(arguments)
  377. });
  378. b[l].l = +new Date;
  379. e = o.createElement(i);
  380. r = o.getElementsByTagName(i)[0];
  381. e.src = '//www.google-analytics.com/analytics.js';
  382. r.parentNode.insertBefore(e, r)
  383. }(window, document, 'script', 'ga'));
  384. ga('create', 'UA-40833733-1', 'transfer.sh');
  385. ga('send', 'pageview');
  386. </script>
  387. <script src="scripts/main.js"></script>
  388. </body>
  389. </html>