Sem descrição

Matthew Jorgensen 705761fd37 Add template notes há 5 anos atrás
.gitignore 5860703077 Add .gitignore há 5 anos atrás
LICENSE 2b10790408 Add LICENSE há 5 anos atrás
README.md 705761fd37 Add template notes há 5 anos atrás
config.go 0896966aaf In the beginning there were feeds... há 5 anos atrás
go.mod 1a7fc07023 Make Go Module há 5 anos atrás
go.sum 1a7fc07023 Make Go Module há 5 anos atrás
gof.go dcfa2bc6a8 Add template support and use "LastUpdated" há 5 anos atrás
gof.yaml.example 0896966aaf In the beginning there were feeds... há 5 anos atrás

README.md

gof

gof is a command-line utility to post RSS/Atom feeds to the fediverse. It has first-class support for Pleroma, and thus should support Mastodon, too...

gof is for "go feediverse", "go fediverse", "go fedi", or really whatever you want. gof is a port of feediverse written in Go.

gof supports multiple feeds and multiple accounts.

usage

The first time you use gof, it'll ask you about your Pleroma instance. You'll need an access token as well. The configuration will be saved in ./gof.yaml, unless you specify otherwise:

gof

Once gof is configured, you might want to add it to your crontab:

*/30 * * * * /path/to/gof

post format

You can specify how the message looks. The variables you have to work with are URL, Title, and Summary. You don't have to use all variables.

An example template:

template: '{{.Title}}: {{.URL}}'

If you want the message to include line breaks, use YAML's multiline syntax:

template: |-
  {{.Title}}

  {{.URL}}

resources

Additional documentation can be found in gof's wiki.

Discussion and patches are welcome and should be directed to my public inbox for now: ~mjorgensen/public-inbox@lists.sr.ht. Please use --subject-prefix PATCH gof for clarity when sending patches.

Bugs, issues, planning, and tasks can all be found at the tracker: ~mjorgensen/gof