github.com/toddsundsted/host_meta
0.2.4 / published Jan 7, 2025 / repository
A Web Host Metadata (https://tools.ietf.org/html/rfc6415) client for Crystal.
host_meta
A Web Host Metadata client for Crystal.
Installation
- Add the dependency to your
shard.yml:
dependencies:
host_meta:
github: toddsundsted/host_meta
- Run
shards install
Usage
require "host_meta"
h = HostMeta.query("epiktistes.com") # => #<HostMeta::Result:0x10e99...>
h.links("lrdd").first.template # => "https://epiktistes.com/.well-known/webfinger?resource={uri}"
Contributors
- Todd Sundsted - creator and maintainer
API
- HostMeta
A Web Host Metadata client for Crystal.