https://github.com/toddsundsted/web_finger
A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal.
https://github.com/toddsundsted/web_finger
crystal webfinger
Last synced: 7 months ago
JSON representation
A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal.
- Host: GitHub
- URL: https://github.com/toddsundsted/web_finger
- Owner: toddsundsted
- License: mit
- Created: 2019-04-08T23:40:56.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T13:17:01.000Z (10 months ago)
- Last Synced: 2025-03-20T05:45:04.558Z (8 months ago)
- Topics: crystal, webfinger
- Language: Crystal
- Size: 81.1 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crystal - web_finger - A WebFinger (https://tools.ietf.org/html/rfc7033) client (Third-party APIs)
README
# web_finger
[](https://github.com/toddsundsted/web_finger/releases)
[](https://github.com/toddsundsted/web_finger/actions)
[](https://toddsundsted.github.io/web_finger/)
A [WebFinger](https://tools.ietf.org/html/rfc7033) client for Crystal.
## Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
web_finger:
github: toddsundsted/web_finger
```
2. Run `shards install`
## Usage
```crystal
require "web_finger"
w = WebFinger.query("acct:toddsundsted@epiktistes.com") # => #
w.link("http://webfinger.net/rel/profile-page").href # => "https://epiktistes.com/@toddsundsted"
```
## Contributors
- [Todd Sundsted](https://github.com/toddsundsted) - creator and maintainer