pad for things around the local network


local network
A local network as documentation tool.


Server
Log in
$ ssh username@complex.local

Server Users & groups
to add a user:
$ sudo adduser username

there is a group called "relearn", it has a extra reading rights on the server for the following folders:
    - /var/lib/prosody/
    - 
to add everyone to this group:
    $ for user in *; do sudo usermod -a -G relearn "$user"; done

to show all users on the server:



Etherpad
Etherpad-lite
We are using an Etherpad-lite installation, it is running on port :9001

Etherdump
by Michael Murtaugh, made for http://etherdump.constantvzw.org/
- git: https://gitlab.com/activearchives/etherdump



xmpp

Bots session



RMS bot
https://git.bleu255.com/rms/files.html
$ pip install argparse logging sleekxmpp pyasn1 pyasn1_modules
$ python rms.py -j username@domain.org -p entrepot -m room@muc.domain.org

relearn bot
https://gitlab.com/relearn/relearn2017 (soon)
$ pip install argparse logging sleekxmpp pyasn1 pyasn1_modules
Bot needs

to do
- install etherpad on complex
- connect bot to etherpad
- make pdf out of incoming message
- connect to printer (connect printer to the network)

sleekxmpp
For the bots we use the library SleepXMPP. 

Vocabulary

Questions

Role of the bots

update bot
  1. incoming message in xmpp
  2. pandoc is used to transform the markdown document into html, combined with a stylesheet
  3. then weasyprint is used to generate a PDF document https://wkhtmltopdf.org/usage/wkhtmltopdf.txt