mdserve.go is meant to be a tiny webserver to quickly serve your markdown files in a webpage
Additionally if you have any sensitive notes you can use gpg to encrypt them.
- mdserve.go will automatically scan and decrypt gpg encrypted files
- mdserve.go looks for your gpg password in a file .secret.key
- Editing of markdown files live in web page
- Password protection of webpage also via .secret.key (username admin)
sudo apt install golang -y
sudo apt install gpg -y
go mod init markdown_server
go get github.com/gomarkdown/markdown
- Clone Repo
- Create file and add your password into .secret.key
- Serve with
go run mdserve.go
- Point your browser to http://localhost:8080
- For specific files such as howto.md use path http://localhost:8080/howto.md