updated grunt to copy 404 files
@ -136,7 +136,7 @@ module.exports = function (grunt) {
|
||||
}
|
||||
},
|
||||
useminPrepare: {
|
||||
html: '<%= yeoman.app %>/index.html',
|
||||
html: '<%= yeoman.app %>/*.html',
|
||||
options: {
|
||||
dest: '<%= yeoman.dist %>'
|
||||
}
|
||||
@ -211,6 +211,7 @@ module.exports = function (grunt) {
|
||||
'fonts/{,*/}*.*',
|
||||
'.htaccess',
|
||||
'index.txt',
|
||||
'404.txt',
|
||||
'images/{,*/}*.{webp,gif}'
|
||||
]
|
||||
}]
|
||||
|
@ -1 +1 @@
|
||||
|
||||
404. Not found
|
||||
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 7.5 KiB |
BIN
transfersh-server/static/images/reviews/dave.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
transfersh-server/static/images/reviews/jacob.jpg
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
transfersh-server/static/images/reviews/kareem.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
transfersh-server/static/images/reviews/lars.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
transfersh-server/static/images/reviews/pg.jpeg
Normal file
After Width: | Height: | Size: 29 KiB |
@ -16,20 +16,29 @@
|
||||
<link rel="stylesheet" href="styles/main.css">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:300" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:300,400" rel="stylesheet" type="text/css">
|
||||
|
||||
<script src="scripts/vendor/modernizr.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script>
|
||||
(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)
|
||||
(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');
|
||||
</script>
|
||||
|
||||
<div id="navigation">
|
||||
<div class="wrapper">
|
||||
<h1>transfer.sh</h1>
|
||||
@ -42,22 +51,21 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<section id="home">
|
||||
<div class="wrapper">
|
||||
<h2>
|
||||
Upload and share your files
|
||||
Easy file sharing from the command line
|
||||
</h2>
|
||||
|
||||
<div class="row">
|
||||
<div id="from-terminal" class="box">
|
||||
<h3>Easy sharing from the command-line</h3>
|
||||
<div class="row animated fadeInDown">
|
||||
<div id="from-terminal" class="box col-md-6 col-xs-12">
|
||||
<h3>Share from terminal</h3>
|
||||
<div id="terminal">
|
||||
<p style="white-space:pre"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="from-web" class="">
|
||||
<h3>From web</h3>
|
||||
<div id="from-web" class="col-md-6 col-xs-12">
|
||||
<h3>Share from web</h3>
|
||||
|
||||
<div id="web">
|
||||
<a class="browse" href="#">
|
||||
@ -69,8 +77,9 @@
|
||||
<li>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="span8 all-files" style="margin: 0; opacity: 0">
|
||||
download all files link <a class="download-zip" href="#">zip</a> <a class="download-tar" href="#">tar.gz</a>
|
||||
<div class="all-files">
|
||||
<h4>Download your files:</h4>
|
||||
<a class="download-zip btn-cta" href="#">zip</a> <a class="download-tar btn-cta" href="#">tar.gz</a>
|
||||
</div>
|
||||
<div>
|
||||
</div>
|
||||
@ -78,43 +87,45 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<br>
|
||||
<br>
|
||||
<a href="#features" class="btn-cta">learn more </a>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div></section>
|
||||
|
||||
<section id="features">
|
||||
<div class="wrapper">
|
||||
<div class="wrapper container">
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-xs-3">
|
||||
<div class="col-md-3 col-xs-6">
|
||||
<i class="icon-terminal"></i>
|
||||
<h3>Made for us with shell</h3>
|
||||
<h3>Made for use with shell</h3>
|
||||
</div>
|
||||
<div class="col-md-3 col-xs-3">
|
||||
<div class="col-md-3 col-xs-6">
|
||||
<i class="icon-link"></i>
|
||||
<h3>Share files just with a URL</h3>
|
||||
<h3>Share files with a URL</h3>
|
||||
</div>
|
||||
<div class="col-md-3 col-xs-3">
|
||||
<div class="col-md-3 col-xs-6">
|
||||
<i class="icon-database"></i>
|
||||
<h3>Upload up to 5 GB</h3>
|
||||
</div>
|
||||
<div class="col-md-3 col-xs-3">
|
||||
<div class="col-md-3 col-xs-6">
|
||||
<i class="icon-clock"></i>
|
||||
<h3>Files are stored for 14 days</h3>
|
||||
<h3>Files stored for 14 days</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-offset-3 col-md-3 col-xs-3">
|
||||
<div class="col-md-offset-3 col-md-3 col-xs-6">
|
||||
<i class="icon-tag"></i>
|
||||
<h3>For free</h3>
|
||||
|
||||
</div>
|
||||
<div class="col-md-3 col-xs-3">
|
||||
<div class="col-md-3 col-xs-6">
|
||||
<i class="icon-lock"></i>
|
||||
|
||||
<h3>Encrypt your files</h3>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@ -136,32 +147,35 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h3>Make an alias</h3>
|
||||
<h4>Create an alias, and add it to .bashrc for faster use</h4>
|
||||
<code>$ transfer() {
|
||||
# write to output to tmpfile because of progress bar
|
||||
tmpfile=$( mktemp -t transfer )
|
||||
curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile;
|
||||
cat $tmpfile;
|
||||
rm -f $tmpfile;
|
||||
}
|
||||
|
||||
alias transfer=transfer</code>
|
||||
<h4>Now you can just use <strong>transfer</strong> command</h4>
|
||||
<h4>Create an alias, and add it to .bashrc for faster use</h4>
|
||||
<code>$ transfer() { # write to output to tmpfile because of progress bar tmpfile=$( mktemp -t transfer ) curl --progress-bar --upload-file $1 https://transfer.sh/$(basename $1) >> $tmpfile; cat $tmpfile; rm -f $tmpfile; } alias transfer=transfer</code>
|
||||
<h4>Now you can just use
|
||||
<strong>transfer</strong>command</h4>
|
||||
<code>$transfer hello.txt</code>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<a class="btn-cta" data-target="#coll" data-toggle="collapse">More examples</a>
|
||||
|
||||
<div class="collapse" id="coll">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h3>Transfer multiple files</h3>
|
||||
<h4>Upload multiple files at once
|
||||
</h4>
|
||||
<code>$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://transfer.sh/</code>
|
||||
|
||||
<h4>Combining downloads as zip or tar archive</h4>
|
||||
<code>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).tar.gz</code>
|
||||
<br>
|
||||
|
||||
<code>$ curl https://transfer.sh/(15HKz/hello.txt,15HKz/hello.txt).zip</code>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h3>Encrypt your files before the transfer</h3>
|
||||
@ -172,6 +186,64 @@ alias transfer=transfer</code>
|
||||
<code>$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="reviews">
|
||||
<div class="wrapper">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-8 col-md-offset-2 col-xs-12">
|
||||
<blockquote class="twitter-tweet tweet-xl" lang="en">
|
||||
<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> Thanks <a href="https://twitter.com/dutchcoders">@dutchcoders</a> !</p> <a href="https://twitter.com/arvestad/status/519507976491499521">— Lars Arvestad (@arvestad)</a>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6 col-xs-12">
|
||||
|
||||
<blockquote class="twitter-tweet" lang="en">
|
||||
<img class="twitter-profile" src="images/reviews/kareem.jpg" alt="">
|
||||
<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">— Kareem Kouddous (@kareemk) </a>
|
||||
</blockquote>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-12">
|
||||
<blockquote class="twitter-tweet" lang="en">
|
||||
<img class="twitter-profile" src="images/reviews/pg.jpeg" alt="">
|
||||
<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">— PJ Spagnolatti (@drakpz)</a>
|
||||
</blockquote>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6 col-xs-12">
|
||||
<blockquote class="twitter-tweet" lang="en">
|
||||
<img class="twitter-profile" src="images/reviews/jacob.jpg" alt="">
|
||||
<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>
|
||||
</p><a href="https://twitter.com/jacoblindgren11/status/516975006501203968">— Jacob Lindgren (@jacoblindgren11) </a>
|
||||
</blockquote>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-12">
|
||||
<blockquote class="twitter-tweet" lang="en">
|
||||
<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">
|
||||
— Dave Sims (@FloifyDave)</a>
|
||||
</blockquote>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -219,12 +291,22 @@ alias transfer=transfer</code>
|
||||
<a href="https://github.com/dutchcoders/transfer.sh/">
|
||||
<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">
|
||||
</a>
|
||||
|
||||
<script>
|
||||
(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()
|
||||
(function() {
|
||||
var uv = document.createElement('script');
|
||||
uv.type = 'text/javascript';
|
||||
uv.async = true;
|
||||
uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(uv, s)
|
||||
})()
|
||||
</script>
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<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>
|
||||
<![endif]-->
|
||||
|
||||
<script>
|
||||
(function(b, o, i, l, e, r) {
|
||||
b.GoogleAnalyticsObject = l;
|
||||
|
1
transfersh-web/404.txt
Normal file
@ -0,0 +1 @@
|
||||
404. Not found
|