diff --git a/README.md b/README.md index 3493667..bbf84da 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,12 @@ If a post has images, the post is created as a Hugo [page bundle](https://gohugo I use this tool to create an [archive of my Mastodon posts](https://garrido.io/microblog/), which I then syndicate to my own site following [PESOS](https://indieweb.org/PESOS). +## Install + +[Go](https://go.dev/doc/install) is required for installation. + +You can clone this repo and run `go build main.go` in the repository's directory, or you can run `go install git.garrido.io/gabriel/mastodon-markdown-archive@latest` to install a binary of the latest version. + ## Usage ``` Usage of mastodon-markdown-archive: diff --git a/go.mod b/go.mod index 43c606f..2a90982 100644 --- a/go.mod +++ b/go.mod @@ -2,10 +2,7 @@ module git.garrido.io/gabriel/mastodon-markdown-archive go 1.21.6 -require ( - git.garrido.io/gabriel/mastodon-pesos v0.0.0-20240509083628-ce8cd99ce497 - github.com/JohannesKaufmann/html-to-markdown v1.5.0 -) +require github.com/JohannesKaufmann/html-to-markdown v1.5.0 require ( github.com/PuerkitoBio/goquery v1.8.1 // indirect diff --git a/go.sum b/go.sum index 4c10e02..72f9dbb 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -git.garrido.io/gabriel/mastodon-pesos v0.0.0-20240509083628-ce8cd99ce497 h1:a03PrbowfyEzn7LPyhayBUxNm/q2OsDch7aRMGEm9TE= -git.garrido.io/gabriel/mastodon-pesos v0.0.0-20240509083628-ce8cd99ce497/go.mod h1:zfOCfHvq332clJWQo+OYacxL838gKW/kozow0f5AIx0= github.com/JohannesKaufmann/html-to-markdown v1.5.0 h1:cEAcqpxk0hUJOXEVGrgILGW76d1GpyGY7PCnAaWQyAI= github.com/JohannesKaufmann/html-to-markdown v1.5.0/go.mod h1:QTO/aTyEDukulzu269jY0xiHeAGsNxmuUBo2Q0hPsK8= github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM=