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
---
README
---
1 mastodon DCGI is a shell script that scrape mastodon instances.
2
3 Given a mastodon URL of user timeline or a single toot it display
4 them, adding HTTP links if the toot contain anchors.
5
6 To use it just add `[1|...]' entries in a .gph file, e.g. for @ed1conf:
7
8 t@ed1conf
9 [1|@ed1conf|/cgi/mastodon/mastodon.dcgi?https://bsd.network/@ed1conf|server|port]
10
11 Here a corresponding "screenshot" of sacc displaying it:
12
13 | |
14 | | Mastodon
15 | |
16 | Dir + ed(1) conference @ed1conf Sep 01, 2018, 20:44
17 | | A little command-line listening for your weekend.
18 | |
19 | |
20 | Dir + ed(1) conference @ed1conf Dec 17, 2018, 12:49
21 | | edvent calendar, day 17
22 | |
23 | | To modify a range of lines using a filter such as pig(6), use a
24 | | temp-file:
25 | |
26 | | 3,5w > tmpfile
27 | | 5r !pig < tmpfile
28 | | 3,5d
29 | | !rm tmpfile
30 | |
31 | [...]