Tool to create a wiki page from a HedgeDoc
  • Go 85.6%
  • Shell 14.4%
Find a file
Philipp Neumann 0bb7da6490
All checks were successful
/ Release (push) Successful in 3m13s
Enhanced release files
2026-04-16 15:52:54 +02:00
.forgejo/workflows Enhanced release files 2026-04-16 15:52:54 +02: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 New workflow for forgejo with goreleaser 2026-04-16 11:20:28 +02:00
internal/htmltemplates Update htmltemplates.go 2024-10-09 21:09:01 +02:00
scripts New workflow for forgejo with goreleaser 2026-04-16 11:20:28 +02:00
.gitignore New workflow for forgejo with goreleaser 2026-04-16 11:20:28 +02:00
.goreleaser.yaml Enhanced release files 2026-04-16 15:52:54 +02: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