Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

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