mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-22 04:51:05 -05:00
Tidy fetch URL
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
DirectoryIndex index.shtml index.html
|
DirectoryIndex index.shtml index.html
|
||||||
AddType text/cache-manifest .appcache
|
AddType text/cache-manifest .appcache
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteRule ^f/(.*)$ /create.cgi?id=$1 [L,QSA]
|
||||||
|
|||||||
11
README.md
11
README.md
@@ -17,9 +17,18 @@
|
|||||||
* Won't work on protected accounts (duh!)
|
* Won't work on protected accounts (duh!)
|
||||||
* No @mentions or DMs from other accounts
|
* No @mentions or DMs from other accounts
|
||||||
|
|
||||||
|
# API
|
||||||
|
|
||||||
|
Fetch your tweets manually by accessing the URL:
|
||||||
|
|
||||||
|
http://greptweet.com/f/TWITTER_USERNAME
|
||||||
|
|
||||||
|
Last 4 tweets:
|
||||||
|
|
||||||
|
curl -s http://greptweet/u/webconverger/tweets.txt | head -n4
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
* Redesign [client to be offline first](http://natalian.org/archives/2012/07/16/navigator.onLine/)
|
|
||||||
* Nail these [bugs](https://github.com/kaihendry/Greptweet/issues?state=open)
|
* Nail these [bugs](https://github.com/kaihendry/Greptweet/issues?state=open)
|
||||||
|
|
||||||
# Shell script feedback on the Web works by disabling Apache's mod_deflate !
|
# Shell script feedback on the Web works by disabling Apache's mod_deflate !
|
||||||
|
|||||||
2
main.js
2
main.js
@@ -54,7 +54,7 @@ $(document).ready(function() {
|
|||||||
$("input[type=text]").focus();
|
$("input[type=text]").focus();
|
||||||
|
|
||||||
footer = '<p><a href="' + NAME + '.txt" class="btn primary"><i class="icon-download"></i> Download</a>';
|
footer = '<p><a href="' + NAME + '.txt" class="btn primary"><i class="icon-download"></i> Download</a>';
|
||||||
footer += '<a href="' + "/create.cgi?id=" + NAME + '" class="btn"><i class="icon-refresh"></i> Update</a></p>';
|
footer += '<a href="' + "/f/" + NAME + '" class="btn"><i class="icon-refresh"></i> Update</a></p>';
|
||||||
$("#source").html(footer);
|
$("#source").html(footer);
|
||||||
document.title = "Greptweet " + NAME;
|
document.title = "Greptweet " + NAME;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user