Skip to content

toddsundsted/host_meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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