Update README and go.mod

This commit is contained in:
Gabriel Garrido 2024-05-11 19:30:38 +02:00
parent f35420c1e4
commit a0e57d2c56
3 changed files with 7 additions and 6 deletions

View file

@ -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). 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
``` ```
Usage of mastodon-markdown-archive: Usage of mastodon-markdown-archive:

5
go.mod
View file

@ -2,10 +2,7 @@ module git.garrido.io/gabriel/mastodon-markdown-archive
go 1.21.6 go 1.21.6
require ( require github.com/JohannesKaufmann/html-to-markdown v1.5.0
git.garrido.io/gabriel/mastodon-pesos v0.0.0-20240509083628-ce8cd99ce497
github.com/JohannesKaufmann/html-to-markdown v1.5.0
)
require ( require (
github.com/PuerkitoBio/goquery v1.8.1 // indirect github.com/PuerkitoBio/goquery v1.8.1 // indirect

2
go.sum
View file

@ -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 h1:cEAcqpxk0hUJOXEVGrgILGW76d1GpyGY7PCnAaWQyAI=
github.com/JohannesKaufmann/html-to-markdown v1.5.0/go.mod h1:QTO/aTyEDukulzu269jY0xiHeAGsNxmuUBo2Q0hPsK8= github.com/JohannesKaufmann/html-to-markdown v1.5.0/go.mod h1:QTO/aTyEDukulzu269jY0xiHeAGsNxmuUBo2Q0hPsK8=
github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM= github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM=