mirror of
https://github.com/adulau/mastodon-markdown-archive.git
synced 2024-11-21 17:37:06 +00:00
Update README and go.mod
This commit is contained in:
parent
f35420c1e4
commit
a0e57d2c56
3 changed files with 7 additions and 6 deletions
|
@ -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:
|
||||
|
|
5
go.mod
5
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
|
||||
|
|
2
go.sum
2
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=
|
||||
|
|
Loading…
Reference in a new issue