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.
 
 
 

440 lines
21 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. include "includes/head.html"
  9. <body>
  10. <script>
  11. (function (i, s, o, g, r, a, m) {
  12. i['GoogleAnalyticsObject'] = r;
  13. i[r] = i[r] || function () {
  14. (i[r].q = i[r].q || []).push(arguments)
  15. }, i[r].l = 1 * new Date();
  16. a = s.createElement(o),
  17. m = s.getElementsByTagName(o)[0];
  18. a.async = 1;
  19. a.src = g;
  20. m.parentNode.insertBefore(a, m)
  21. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  22. ga('create', 'UA-40833733-1', 'transfer.sh');
  23. ga('send', 'pageview');
  24. </script>
  25. include "includes/navigation.html"
  26. <section id="home">
  27. <div class="wrapper">
  28. <h2 class="page-title">
  29. Easy file sharing from the command line</h2>
  30. <div class="row animated fadeInDown">
  31. <div id="from-terminal" class="box col-md-8 col-md-offset-2 col-xs-12">
  32. <div class="terminal-top">
  33. </div>
  34. <div id="terminal" class="terminal">
  35. <code>
  36. <span class="code-title"># Upload using cURL</span>
  37. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt https://transfer.sh/66nb8/hello.txt
  38. <br>
  39. <br>
  40. <span class="code-title"># Using the alias</span>
  41. <br>$ transfer hello.txt
  42. <br>###################################s################## 100.0% https://transfer.sh/eibhM/hello.txt
  43. </code>
  44. </div>
  45. <div id="web">
  46. <code>
  47. <br>
  48. <span class="code-title"># Upload from web</span>
  49. <br>Drag your files here, or <a class="browse" href="#"> click to browse. <br/></a>
  50. </code>
  51. <input type="file" multiple="multiple" style='display: none;' />
  52. <ul class='queue'>
  53. <li>
  54. </li>
  55. </ul>
  56. <div class='all-files'>
  57. <br>
  58. <div>
  59. <span class="code-title"># Download all your files</span>
  60. <br/>
  61. <br/>
  62. <a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. <div>
  68. <a href="#features" class="btn-cta btn-home">learn more</i> </a>
  69. </div>
  70. </div>
  71. </section>
  72. <section id="features">
  73. <div class="wrapper container">
  74. <div class="row animated fadeInDown ">
  75. <div class="col-md-3 col-xs-6">
  76. <i class="icon-terminal"></i>
  77. <h3>Made for use with shell</h3>
  78. </div>
  79. <div class="col-md-3 col-xs-6">
  80. <i class="icon-link"></i>
  81. <h3>Share files with a URL</h3>
  82. </div>
  83. <div class="col-md-3 col-xs-6">
  84. <i class="icon-database"></i>
  85. <h3>Upload up to 5 GB</h3>
  86. </div>
  87. <div class="col-md-3 col-xs-6">
  88. <i class="icon-clock"></i>
  89. <h3>Files stored for 14 days</h3>
  90. </div>
  91. </div>
  92. <div class="row animated fadeInDown">
  93. <div class="col-md-offset-3 col-md-3 col-xs-6">
  94. <i class="icon-tag"></i>
  95. <h3>For free</h3>
  96. </div>
  97. <div class="col-md-3 col-xs-6">
  98. <i class="icon-lock"></i>
  99. <h3>Encrypt your files</h3>
  100. </div>
  101. </div>
  102. </div>
  103. </section>
  104. <section id="share">
  105. <div class="wrapper">
  106. <h2 class="page-title">Preview your files in the browser!</h2>
  107. </div>
  108. </section>
  109. <section id="samples">
  110. <div class="wrapper">
  111. <h2 class="page-title">
  112. Sample use cases
  113. </h2>
  114. <div class="row">
  115. <div class="col-md-6 ">
  116. <h3>How to upload</h3>
  117. <div class="terminal-top">
  118. </div>
  119. <div class="terminal">
  120. <code>
  121. <span class="code-title"># Uploading is easy using curl</span>
  122. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  123. <br>https://transfer.sh/66nb8/hello.txt
  124. <br>
  125. <span class="code-title"># Download the file</span>
  126. <br>$ curl https://transfer.sh/66nb8/hello.txt -o hello.txt
  127. </code>
  128. </div>
  129. </div>
  130. <div class="col-md-6 ">
  131. <h3>Add an alias to .bashrc or .zshrc <a href='https://gist.github.com/nl5887/a511f172d3fb3cd0e42d'>[gist]</a></h3>
  132. <div class="terminal-top">
  133. </div>
  134. <div class="terminal">
  135. <code>
  136. <span class="code-title"># Add this to .bashrc or its equivalent</span>
  137. <br/>transfer() { if [ $# -eq 0 ]; then echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md"; return 1; fi <br/>tmpfile=$( mktemp -t transferXXX ); if tty -s; then basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g'); curl --progress-bar --upload-file "$1" "https://transfer.sh/$basefile" >> $tmpfile; else curl --progress-bar --upload-file "-" "https://transfer.sh/$1" >> $tmpfile ; fi; cat $tmpfile; rm -f $tmpfile; }
  138. <br/>
  139. <br/>
  140. <span class="code-title"># Now you can use transfer command</span>
  141. <br>$ transfer hello.txt
  142. </code>
  143. </div>
  144. </div>
  145. </div>
  146. <a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
  147. <div class="collapse " id="coll">
  148. <div class="row">
  149. <div class="col-md-6 ">
  150. <h3>Upload multiple files at once</h3>
  151. <div class="terminal-top">
  152. </div>
  153. <div class="terminal">
  154. <code>
  155. <br>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
  156. <br>
  157. <br>
  158. <span class="code-title"># Combining downloads as zip or tar archive</span>
  159. <br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
  160. <br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
  161. </code>
  162. </div>
  163. </div>
  164. <div class="col-md-6 ">
  165. <h3>Encrypt your files before the transfer</h3>
  166. <div class="terminal-top">
  167. </div>
  168. <div class="terminal">
  169. <code>
  170. <span class="code-title"># Encrypt files with password using gpg</span>
  171. <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
  172. <br>
  173. <br>
  174. <span class="code-title"># Download and decrypt</span>
  175. <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
  176. </code>
  177. </div>
  178. </div>
  179. </div>
  180. <div class="row">
  181. <div class="col-md-6">
  182. <h3>Scan for malware</h3>
  183. <div class="terminal-top">
  184. </div>
  185. <div class="terminal">
  186. <code>
  187. <span class="code-title"># Scan for malware or viruses using Clamav</span>
  188. <br>$ wget http://www.eicar.org/download/eicar.com
  189. <br>$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
  190. <br>
  191. <br>
  192. <span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
  193. <br>$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
  194. <br>
  195. </code>
  196. </div>
  197. </div>
  198. <div class="col-md-6">
  199. <h3>Backup mysql database, encrypt and transfer</h3>
  200. <div class="terminal-top">
  201. </div>
  202. <div class="terminal">
  203. <code>
  204. <span class="code-title"># Backup, encrypt and transfer</span>
  205. <br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
  206. </div>
  207. </div>
  208. </div>
  209. <div class="row">
  210. <div class="col-md-6">
  211. <h3>Send email with transfer link (uses alias)</h3>
  212. <div class="terminal-top">
  213. </div>
  214. <div class="terminal">
  215. <code>
  216. <span class="code-title"># Transfer and send email with link (uses alias)</span>
  217. <br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
  218. </code>
  219. </div>
  220. </div>
  221. <div class="col-md-6">
  222. <h3>Using <a href="https://keybase.io/">Keybase.io</a></h3>
  223. <div class="terminal-top">
  224. </div>
  225. <div class="terminal">
  226. <code>
  227. <span class="code-title"># Import keys from keybase</span>
  228. <br/>$ keybase track [them]
  229. <span class="code-title"># Encrypt for recipient(s)</span>
  230. <br/>$ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' https://transfer.sh/test.txt
  231. <span class="code-title"># Decrypt</span>
  232. <br/>$ curl https://transfer.sh/sqUFi/test.md |keybase decrypt
  233. </code>
  234. </div>
  235. </div>
  236. </div>
  237. <div class="row">
  238. <div class="col-md-6">
  239. <h3>wget uploads also supported</h3>
  240. <div class="terminal-top">
  241. </div>
  242. <div class="terminal">
  243. <code>
  244. <span class="code-title"># wget</span>
  245. <br/>$ wget --method PUT --body-file=/tmp/file.tar https://transfer.sh/file.tar -O - -nv
  246. </code>
  247. </div>
  248. </div>
  249. <div class="col-md-6">
  250. <h3>Transfer pound logs</h3>
  251. <div class="terminal-top">
  252. </div>
  253. <div class="terminal">
  254. <code>
  255. <span class="code-title"># grep syslog for pound and transfer</span>
  256. <br/>$ cat /var/log/syslog|grep pound|curl --upload-file - https://transfer.sh/pound.log
  257. </code>
  258. </div>
  259. </div>
  260. </div>
  261. <div class="row">
  262. <div class="col-md-6">
  263. <h3>Send us your awesome example</h3>
  264. <div class="terminal-top">
  265. </div>
  266. <div class="terminal">
  267. <code>
  268. <span class="code-title"># Your awesome sample will be put here</span>
  269. </code>
  270. </div>
  271. </div>
  272. </div>
  273. </div>
  274. </div>
  275. </section>
  276. <section id="share">
  277. <div class="wrapper">
  278. <h2 class="page-title">Follow on GitHub</h2>
  279. <br>
  280. <br>
  281. <iframe src="https://mdo.github.io/github-buttons/github-btn.html?user=dutchcoders&repo=transfer.sh&type=follow&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="250" height="50"></iframe>
  282. <iframe src="https://mdo.github.io/github-buttons/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>
  283. </div>
  284. </section>
  285. <section id="reviews">
  286. <div class="wrapper">
  287. <div class="row">
  288. <div class="col-md-8 col-md-offset-2 col-xs-12">
  289. <blockquote class="twitter-tweet tweet-xl" lang="en">
  290. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  291. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  292. </a>
  293. <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>
  294. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  295. &mdash; Dave Sims (@FloifyDave)</a>
  296. </blockquote>
  297. </div>
  298. </div>
  299. <div class="row">
  300. <div class="col-md-6 col-xs-12">
  301. <blockquote class="twitter-tweet" lang="en">
  302. <a href="https://twitter.com/kareemk/status/517029789191118849">
  303. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  304. </a>
  305. <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>
  306. </blockquote>
  307. </div>
  308. <div class="col-md-6 col-xs-12">
  309. <blockquote class="twitter-tweet" lang="en">
  310. <a href="https://twitter.com/drakpz/status/517008058841829376">
  311. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  312. </a>
  313. <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>
  314. </blockquote>
  315. </div>
  316. </div>
  317. <div class="row">
  318. <div class="col-md-6 col-xs-12">
  319. <blockquote class="twitter-tweet" lang="en">
  320. <a href="https://twitter.com/jacoblindgren11/status/516975006501203968">
  321. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  322. </a>
  323. <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>
  324. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  325. </blockquote>
  326. </div>
  327. <div class="col-md-6 col-xs-12">
  328. <blockquote class="twitter-tweet" lang="en">
  329. <a href="https://twitter.com/arvestad/status/519507976491499521">
  330. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  331. </a>
  332. <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>
  333. </blockquote>
  334. </div>
  335. </div>
  336. </div>
  337. </section>
  338. <section id="share">
  339. <div class="wrapper">
  340. <h2 class="page-title">Share the love</h2>
  341. <ul class="share-buttons">
  342. <li>
  343. <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>
  344. </a>
  345. </li>
  346. <li>
  347. <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>
  348. </li>
  349. <li>
  350. <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>
  351. </a>
  352. </li>
  353. <li>
  354. <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>
  355. </a>
  356. </li>
  357. </ul>
  358. </div>
  359. </section>
  360. <section id="contact">
  361. <div class="wrapper">
  362. <i class="icon-mail"></i>
  363. <h2 class="page-title">
  364. Any questions?
  365. </h2>
  366. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  367. </div>
  368. </section>
  369. <section id="thank-you">
  370. <div class="wrapper">
  371. <h2 class="page-title">
  372. Special thanks to </h2>
  373. <br>
  374. <div class="row">
  375. <div class="col-md-4 col-md-offset-2 col-xs-12">
  376. <a class="btn-cta" href="https://twitter.com/remco_verhoef"><i class="icon-twitter"></i> Remco Verhoef</a>
  377. </div>
  378. <div class="col-md-4 col-xs-12">
  379. <a class="btn-cta" href="http://twitter.com/uvisgrinfelds"><i class="icon-twitter"></i> Uvis Grinfelds</a>
  380. </div>
  381. </div>
  382. <h3>Want to be here? Support us!</h3>
  383. <div class="donate">
  384. <a href="bitcoin:164ybRMLbg1dhhWWiUkXtiNr7jUhMKdJqH" label="Bitcoin+Donation" style="word-wrap: break-word;">
  385. <img border="0" src=" /images/bitcoin.png" style="margin: 0 auto;;">
  386. </a>
  387. </div>
  388. </div>
  389. </section>
  390. <section id="tor">
  391. <div class="wrapper">
  392. <a href="https://www.torproject.org"><img src="images/tor.svg" alt="">
  393. </a>
  394. <br/>
  395. <a href="http://jxm5d6emw5rknovg.onion/">http://jxm5d6emw5rknovg.onion/</a>
  396. </div>
  397. </section>
  398. include "includes/footer.html"
  399. include "includes/js.html"
  400. </body>
  401. </html>