github.com/toddsundsted/host_meta

A Web Host Metadata (https://tools.ietf.org/html/rfc6415) client for Crystal.

3 stars
0 dependents
License: MIT

Nothing has been indexed for 0.1.1 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  host_meta:
    github: toddsundsted/host_meta
    version: ~> 0.1.1

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.1.1. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

host_meta

GitHub Release Build Status Documentation

A Web Host Metadata client for Crystal.

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  host_meta:
    github: toddsundsted/host_meta
  1. 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