mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-22 04:51:05 -05:00
71 lines
2.1 KiB
Plaintext
71 lines
2.1 KiB
Plaintext
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>GrepTweet</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="icon" href="/favicon.ico">
|
|
<meta name="description" content="Download and search your tweets - no password login required!" />
|
|
<link rel="apple-touch-icon-precomposed" href="http://a0.twimg.com/profile_images/1206037111/greptweet.png">
|
|
<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="/bootstrap/css/bootstrap-responsive.min.css">
|
|
<script>
|
|
function getCookie( oName ) {
|
|
var splitcookie = document.cookie.split( "; " ), x, cookiepair;
|
|
for( x = 0; x < splitcookie.length; x = x + 1 ) {
|
|
cookiepair = splitcookie[x].split( "=" );
|
|
if( cookiepair[0] === encodeURIComponent( oName ) ) {
|
|
if( cookiepair[1] ) {
|
|
return decodeURIComponent( cookiepair[1] );
|
|
} else {
|
|
return '';
|
|
}
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
user = getCookie("u");
|
|
if (user) { window.location.replace("/u/" + user); }
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<div class="content">
|
|
<div class="page-header">
|
|
<h1><a href="http://twitter.com/greptweet">@Greptweet</a> <small>you can search your tweets</small></h1>
|
|
</div>
|
|
|
|
<form name="f" action="create.cgi" method="get">
|
|
|
|
<div class="well">
|
|
|
|
<div class="clearfix">
|
|
<label for="username">Twitter username</label>
|
|
<div class="input">
|
|
<input class="xlarge" id="username" type="text" name="id" size="16" autocomplete="off" required placeholder="kaihendry">
|
|
</div>
|
|
</div>
|
|
|
|
<button class="btn btn-large btn-primary" id="b" onclick="submitPressed()">Fetch tweets</button>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<footer>
|
|
<p>Super-geeks please <a href="https://github.com/kaihendry/Greptweet">report issues and contribute on Github</a> :)</p>
|
|
<p>Active accounts: <!--#include virtual="active-users.txt" --></p>
|
|
<p>Version: <a href=https://github.com/kaihendry/Greptweet/commit/<!--#include virtual="version.txt" -->><!--#include virtual="version.txt" --></a></p>
|
|
<p>Backup: <code>rsync -rz --include "*/" --include "*.txt" --exclude "*" greptweet.com::greptweet .</code></p>
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|