Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reiver/go-fedifinger
Package fedifinger provides tools for working with the WebFinger protocol as it is used by the Fediverse, for the Go programming language.
https://github.com/reiver/go-fedifinger
activitypub activitystreams decentralized-social fediverse social-media social-web webfinger
Last synced: about 6 hours ago
JSON representation
Package fedifinger provides tools for working with the WebFinger protocol as it is used by the Fediverse, for the Go programming language.
- Host: GitHub
- URL: https://github.com/reiver/go-fedifinger
- Owner: reiver
- License: mit
- Created: 2025-02-06T12:36:11.000Z (2 days ago)
- Default Branch: master
- Last Pushed: 2025-02-06T12:48:36.000Z (2 days ago)
- Last Synced: 2025-02-06T13:44:25.813Z (2 days ago)
- Topics: activitypub, activitystreams, decentralized-social, fediverse, social-media, social-web, webfinger
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-fedifinger
Package **fedifinger** provides tools for working with the **WebFinger** protocol as it is used by the **Fediverse**, for the Go programming language.
## Documention
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-fedifinger
[![GoDoc](https://godoc.org/github.com/reiver/go-fedifinger?status.svg)](https://godoc.org/github.com/reiver/go-fedifinger)
## Examples
To resolve a **Fediverse-ID** to an HTTPS URL, do something similar to:
```golang
import "github.com/reiver/go-fedifinger"// ...
url, err := fedifinger.Resolve("@[email protected]")
```To get the activity-JSON for a **Fediverse-ID**, do something similar to:
```golang
import "github.com/reiver/go-fedifinger"// ...
bytes, err := fedifinger.Get("@[email protected]")
```## Import
To import package **fedifinger** use `import` code like the follownig:
```
import "github.com/reiver/go-fedifinger"
```## Installation
To install package **fedifinger** do the following:
```
GOPROXY=direct go get github.com/reiver/go-fedifinger
```## Author
Package **fedifinger** was written by [Charles Iliya Krempeaux](http://reiver.link)