0.0.1-b • Published 10 years ago
matrix-appservice-micropub v0.0.1-b
Micropub AS
Transform any Matrix client into a Micropub client instantly.
Pre-requisites
- You need to have a home server installed and running.
Setup
- Copy
config.sample.yamland edit the URL and token fields. The tokens can be anything you want. - Generate a registration file by typing
node app -c your.config.file.yaml --generate-registration - Make your home server aware of the registration file (setting
app_service_config_filesinhomeserver.yamlto the path of the registration file, remember it's a list so use["file/path.yaml"]) - Restart your home server.
- Run the application service:
node app -c your.config.file.yaml
Usage
- Invite
@micropub:yourdomainto a room. It will automatically join. - Type
!indieauth http://yourdomain.com- it will return an OAuth URL for you to click. - Login via IndieAuth.
- The bot will let you know that you've authorised.
- Send any message into the room.
- It will be transformed into a micropub
entryand sent to your specified micropub endpoint.