shithub: masto9

Download patch

ref: 1d8fc9dd60d8c0ef4e672842c2805b6ba004245c
parent: 416e913d695eea696560b129c98cd3038efa103a
author: Julien Blanchard <jblanchard@makemusic.com>
date: Sun Mar 26 12:06:00 EDT 2023

Add README

--- /dev/null
+++ b/README.md
@@ -1,0 +1,12 @@
+# masto9
+
+## Token
+
+echo 'proto=pass service=mastodon server=instanceHostName pass=yourToken user=julienxx' > /mnt/factotum/ctl
+
+## Plumbing rules
+
+type	is text
+data	matches 'Favorite\[([0-9]+)\]'
+plumb	to toot_reply
+plumb	client window masto9 hostname fav $1 && read
--- a/masto9.c
+++ b/masto9.c
@@ -410,7 +410,7 @@
   sysfatal("usage: masto9 url");
 }
 
-//echo 'proto=pass service=mastodon server=fedi.9til.de pass=aStT5pM-8RThsxzlZ140YKFZLDmIXSbn4Y6cbIpntDg user=julienxx' > /mnt/factotum/ctl
+//echo 'proto=pass service=mastodon server=instanceHostName pass=yourToken user=julienxx' > /mnt/factotum/ctl
 void
 main(int argc, char**argv)
 {