選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.html 20 KiB

9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
9年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  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>##################################################### 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="samples">
  105. <div class="wrapper">
  106. <h2 class="page-title">
  107. Sample use cases
  108. </h2>
  109. <div class="row">
  110. <div class="col-md-6 ">
  111. <h3>How to upload</h3>
  112. <div class="terminal-top">
  113. </div>
  114. <div class="terminal">
  115. <code>
  116. <span class="code-title"># Uploading is easy using curl</span>
  117. <br>$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt
  118. <br>https://transfer.sh/66nb8/hello.txt
  119. <br>
  120. <span class="code-title"># Download the file</span>
  121. <br>$ curl https://transfer.sh/66nb8/hello.txt -o hello.txt
  122. </code>
  123. </div>
  124. </div>
  125. <div class="col-md-6 ">
  126. <h3>Create an alias and add it to .bashrc or .zshrc <a href='https://gist.github.com/nl5887/a511f172d3fb3cd0e42d'>[gist]</a></h3>
  127. <div class="terminal-top">
  128. </div>
  129. <div class="terminal">
  130. <code>
  131. <span class="code-title"># Add this to .bashrc or its equivalent</span>
  132. <br/>transfer() {
  133. <br/> if [ $# -eq 0 ]; then
  134. <br/> echo "No arguments specified. Usage:"
  135. <br/> echo "$ transfer /tmp/test.md"
  136. <br/> echo "$ cat /tmp/test.md | transfer test.md"
  137. <br/> return 1
  138. <br/> fi
  139. <br/>
  140. <br/> # write to output to tmpfile because of progress bar
  141. <br/> tmpfile=$( mktemp -t transferXXX );
  142. <br/>
  143. <br/> if tty -s; then
  144. <br/> basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g');
  145. <br/> curl --progress-bar --upload-file "$1" "https://transfer.sh/$basefile" >> $tmpfile;
  146. <br/> else
  147. <br/> curl --progress-bar --upload-file "-" "https://transfer.sh/$1"
  148. <br/> fi
  149. <br/>
  150. <br/> cat $tmpfile; rm -f $tmpfile;
  151. <br/>}
  152. <br/>
  153. <br/>alias transfer=transfer
  154. <br/>
  155. <br/>
  156. <span class="code-title"># Now you can use transfer command</span>
  157. <br>$ transfer hello.txt
  158. </code>
  159. </div>
  160. </div>
  161. </div>
  162. <a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
  163. <div class="collapse " id="coll">
  164. <div class="row">
  165. <div class="col-md-6 ">
  166. <h3>Upload multiple files at once</h3>
  167. <div class="terminal-top">
  168. </div>
  169. <div class="terminal">
  170. <code>
  171. <br>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/
  172. <br>
  173. <br>
  174. <span class="code-title"># Combining downloads as zip or tar archive</span>
  175. <br>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz
  176. <br/>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip
  177. </code>
  178. </div>
  179. </div>
  180. <div class="col-md-6 ">
  181. <h3>Encrypt your files before the transfer</h3>
  182. <div class="terminal-top">
  183. </div>
  184. <div class="terminal">
  185. <code>
  186. <span class="code-title"># Encrypt files with password using gpg</span>
  187. <br>$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
  188. <br>
  189. <br>
  190. <span class="code-title"># Encrypt and upload</span>
  191. <br>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
  192. </code>
  193. </div>
  194. </div>
  195. </div>
  196. <div class="row">
  197. <div class="col-md-6">
  198. <h3>Scan for malware</h3>
  199. <div class="terminal-top">
  200. </div>
  201. <div class="terminal">
  202. <code>
  203. <span class="code-title"># Scan for malware or viruses using Clamav</span>
  204. <br>$ wget http://www.eicar.org/download/eicar.com
  205. <br>$ curl -X PUT --upload-file ./eicar.com https://transfer.sh/eicar.com/scan
  206. <br>
  207. <br>
  208. <span class="code-title"># Upload malware to VirusTotal, get a permalink in return</span>
  209. <br>$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
  210. <br>
  211. </code>
  212. </div>
  213. </div>
  214. <div class="col-md-6">
  215. <h3>Backup mysql database, encrypt and transfer</h3>
  216. <div class="terminal-top">
  217. </div>
  218. <div class="terminal">
  219. <code>
  220. <span class="code-title"># Backup, encrypt and transfer</span>
  221. <br/>$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt</code>
  222. </div>
  223. </div>
  224. </div>
  225. <div class="row">
  226. <div class="col-md-6">
  227. <h3>Send email with transfer link (uses alias)</h3>
  228. <div class="terminal-top">
  229. </div>
  230. <div class="terminal">
  231. <code>
  232. <span class="code-title"># Transfer and send email with link (uses alias)</span>
  233. <br/>$ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com
  234. </code>
  235. </div>
  236. </div>
  237. <div class="col-md-6">
  238. <h3>Using <a href="https://keybase.io/">Keybase.io</a></h3>
  239. <div class="terminal-top">
  240. </div>
  241. <div class="terminal">
  242. <code>
  243. <span class="code-title"># Import keys from keybase</span>
  244. <br/>$ keybase track [them]
  245. <span class="code-title"># Encrypt for recipient(s)</span>
  246. <br/>$ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' https://transfer.sh/test.txt
  247. <span class="code-title"># Decrypt</span>
  248. <br/>$ curl https://transfer.sh/sqUFi/test.md |keybase decrypt
  249. </code>
  250. </div>
  251. </div>
  252. </div>
  253. <div class="row">
  254. <div class="col-md-6">
  255. <h3>Send us your awesome example</h3>
  256. <div class="terminal-top">
  257. </div>
  258. <div class="terminal">
  259. <code>
  260. <span class="code-title"># Your awesome sample will be put here</span>
  261. </code>
  262. </div>
  263. </div>
  264. </div>
  265. </div>
  266. </div>
  267. </section>
  268. <section id="share">
  269. <div class="wrapper">
  270. <h2 class="page-title">Follow on GitHub</h2>
  271. <br>
  272. <br>
  273. <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>
  274. <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>
  275. </div>
  276. </section>
  277. <section id="reviews">
  278. <div class="wrapper">
  279. <div class="row">
  280. <div class="col-md-8 col-md-offset-2 col-xs-12">
  281. <blockquote class="twitter-tweet tweet-xl" lang="en">
  282. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  283. <img class="twitter-profile" src="images/reviews/dave.jpg" alt="">
  284. </a>
  285. <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>
  286. <a href="https://twitter.com/FloifyDave/status/517383101425516544">
  287. &mdash; Dave Sims (@FloifyDave)</a>
  288. </blockquote>
  289. </div>
  290. </div>
  291. <div class="row">
  292. <div class="col-md-6 col-xs-12">
  293. <blockquote class="twitter-tweet" lang="en">
  294. <a href="https://twitter.com/kareemk/status/517029789191118849">
  295. <img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
  296. </a>
  297. <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>
  298. </blockquote>
  299. </div>
  300. <div class="col-md-6 col-xs-12">
  301. <blockquote class="twitter-tweet" lang="en">
  302. <a href="https://twitter.com/drakpz/status/517008058841829376">
  303. <img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
  304. </a>
  305. <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>
  306. </blockquote>
  307. </div>
  308. </div>
  309. <div class="row">
  310. <div class="col-md-6 col-xs-12">
  311. <blockquote class="twitter-tweet" lang="en">
  312. <a href="https://twitter.com/jacoblindgren11/status/516975006501203968">
  313. <img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
  314. </a>
  315. <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>
  316. </p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">&mdash; Jacob Lindgren (@jacoblindgren11) </a>
  317. </blockquote>
  318. </div>
  319. <div class="col-md-6 col-xs-12">
  320. <blockquote class="twitter-tweet" lang="en">
  321. <a href="https://twitter.com/arvestad/status/519507976491499521">
  322. <img class="twitter-profile" src="images/reviews/lars.jpg" alt="">
  323. </a>
  324. <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>
  325. </blockquote>
  326. </div>
  327. </div>
  328. </div>
  329. </section>
  330. <section id="share">
  331. <div class="wrapper">
  332. <h2 class="page-title">Share the love</h2>
  333. <ul class="share-buttons">
  334. <li>
  335. <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>
  336. </a>
  337. </li>
  338. <li>
  339. <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>
  340. </li>
  341. <li>
  342. <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>
  343. </a>
  344. </li>
  345. <li>
  346. <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>
  347. </a>
  348. </li>
  349. </ul>
  350. </div>
  351. </section>
  352. <section id="contact">
  353. <div class="wrapper">
  354. <i class="icon-mail"></i>
  355. <h2 class="page-title">
  356. Any questions?
  357. </h2>
  358. <a href="#" data-uv-trigger class="btn-cta">contact us</a>
  359. </div>
  360. </section>
  361. <section id="tor">
  362. <div class="wrapper">
  363. <a href="https://torproject.com"><img src="images/tor.svg" alt=""></a><br/>
  364. <a href="http://jxm5d6emw5rknovg.onion/">http://jxm5d6emw5rknovg.onion/</a>
  365. </div>
  366. </section>
  367. include "includes/footer.html"
  368. include "includes/js.html"
  369. </body>
  370. </html>