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: 26 days 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 (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T13:20:38.000Z (4 months ago)
- Last Synced: 2025-04-06T13:49:27.348Z (about 1 month ago)
- Topics: crystal, host-meta
- Language: Crystal
- Size: 45.9 KB
- Stars: 3
- Watchers: 2
- 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