The FAFO Matrix Bot
				
			
		| .gitignore | ||
| fafomo.go | ||
| go.mod | ||
| go.sum | ||
| presence.go | ||
| README.md | ||
| streaming.go | ||
fafomo
The FAFO Matrix Box Amalgam.
Needs a username/password - ask leah or q3k. Use with -matrix_username and -matrix_password_file flags.
Made up of two modules: presence and streaming. Can be run separately on separate machines.
Presence
Spams the presence room (currently, the 'Local' room) with updates from at.lab.fa-fo.de. Needs -presence_matrix_room and -presence_backend_url to be set.
Currently running on conway.i.fa-fo.de.
Stream
Reads messages posted in the 'Stream' room, and calls /home/u/speak.sh on every message with the text to be spoken as an argument. Needs -stream_matrix_room to be set (to the internal Matrix room ID).
Running on demand on the streambox.