Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 6 years ago)
- Default Branch: main
- Last Pushed: 2021-07-17T13:30:32.000Z (over 3 years ago)
- Last Synced: 2024-10-12T19:41:24.356Z (3 months ago)
- Topics: crystal, host-meta
- Language: Crystal
- Size: 43.9 KB
- Stars: 3
- Watchers: 3
- 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
[![GitHub Release](https://img.shields.io/github/release/toddsundsted/host_meta.svg)](https://github.com/toddsundsted/host_meta/releases)
[![Build Status](https://github.com/toddsundsted/host_meta/actions/workflows/ci.yml/badge.svg)](https://github.com/toddsundsted/host_meta/actions)
[![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](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