Tool to create a wiki page from a HedgeDoc
Find a file
2024-11-22 07:59:39 +01:00
.github/workflows Update Go version in workflow 2023-11-12 11:59:11 +01:00
cmd/seilfahrt add message id 2024-11-21 18:50:52 +01:00
config Add posibility to send mails when new protocoll is created 2024-11-20 20:57:09 +01:00
init Add posibility to send mails when new protocoll is created 2024-11-20 20:57:09 +01:00
internal/htmltemplates Update htmltemplates.go 2024-10-09 21:09:01 +02:00
.gitignore Add posibility to send mails when new protocoll is created 2024-11-20 20:57:09 +01:00
go.mod add message id 2024-11-21 18:50:52 +01:00
go.sum add message id 2024-11-21 18:50:52 +01:00
LICENSE Initial commit 2022-03-02 20:26:32 +01:00
README.md Add posibility to send mails when new protocoll is created 2024-11-20 20:57:09 +01:00

seilfahrt

Tool to create a wiki page from a HedgeDoc

Prerequisites

You must have pandoc installed and in your PATH variable for this to work! Also you must have a access_token, access_secret, consumer_token and consumer_secret for your wiki.

Usage

Create a config file with your access tokens and wiki settings and put it next to the executable. Afterwards simply execute the executable with the -pad command line flag and append the url of the Hedgedoc pad.

Alternativley you can also run it with the -web option which launches a Webserver where you can enter the pads in an edit.

Command Line Parameters

Parameter Description Default Value
pad The URL of the hedgedoc pad.
c The path to the config file ./config.toml
h If active prints all command line args
web Starts a webserver for interactive use false
port Defines the port the webserver runs on 8080

Install as a Service

In the init folder you'll find a example systemd file. It asumes that the seilfahrt binary is in /usr/local/bin and the config file is in /etc/seilfahrt Copy the seilfahrt.service into the /etc/systemd/system folder Then reload the services with sudo systemctl daemon-reload Then enable seilfahrt with sudo systemctl enable seilfahrt.service Then start seilfahrt with sudo systemctl start seilfahrt.service