Add a README - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) changeset 51892ddc6fe734cdb206ed9062e036a318a0574b
(DIR) parent f61649d0d312c8b7dce4a4842f74a945238f8889
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Mon, 17 Dec 2018 23:55:12
Add a README
Diffstat:
mastodon/README | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
---
diff -r f61649d0d312 -r 51892ddc6fe7 mastodon/README
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mastodon/README Mon Dec 17 23:55:12 2018 +0100
@@ -0,0 +1,31 @@
+mastodon DCGI is a shell script that scrape mastodon instances.
+
+Given a mastodon URL of user timeline or a single toot it display
+them, adding HTTP links if the toot contain anchors.
+
+To use it just add `[1|...]' entries in a .gph file, e.g. for @ed1conf:
+
+ t@ed1conf
+ [1|@ed1conf|/cgi/mastodon/mastodon.dcgi?https://bsd.network/@ed1conf|server|port]
+
+Here a corresponding "screenshot" of sacc displaying it:
+
+ | |
+ | | Mastodon
+ | |
+ | Dir + ed(1) conference @ed1conf Sep 01, 2018, 20:44
+ | | A little command-line listening for your weekend.
+ | |
+ | |
+ | Dir + ed(1) conference @ed1conf Dec 17, 2018, 12:49
+ | | edvent calendar, day 17
+ | |
+ | | To modify a range of lines using a filter such as pig(6), use a
+ | | temp-file:
+ | |
+ | | 3,5w > tmpfile
+ | | 5r !pig < tmpfile
+ | | 3,5d
+ | | !rm tmpfile
+ | |
+ | [...]