https://github.com/toddsundsted/host_meta
A Web Host Metadata (https://tools.ietf.org/html/rfc6415) client for Crystal.
https://github.com/toddsundsted/host_meta
crystal host-meta
Last synced: about 1 month ago
JSON representation
A Web Host Metadata (https://tools.ietf.org/html/rfc6415) client for Crystal.
- Host: GitHub
- URL: https://github.com/toddsundsted/host_meta
- Owner: toddsundsted
- License: mit
- Created: 2019-04-08T23:36:54.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T13:20:38.000Z (about 1 year ago)
- Last Synced: 2025-10-30T19:44:31.530Z (5 months ago)
- Topics: crystal, host-meta
- Language: Crystal
- Size: 45.9 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crystal - host_meta - A Web Host Metadata (https://tools.ietf.org/html/rfc6415) client (Third-party APIs)
README
# host_meta
[](https://github.com/toddsundsted/host_meta/releases)
[](https://github.com/toddsundsted/host_meta/actions)
[](https://toddsundsted.github.io/host_meta/)
A [Web Host Metadata](https://tools.ietf.org/html/rfc6415) client for
Crystal.
## Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
host_meta:
github: toddsundsted/host_meta
```
2. Run `shards install`
## Usage
```crystal
require "host_meta"
h = HostMeta.query("epiktistes.com") # => #
h.links("lrdd").first.template # => "https://epiktistes.com/.well-known/webfinger?resource={uri}"
```
## Contributors
- [Todd Sundsted](https://github.com/toddsundsted) - creator and maintainer