Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/toddsundsted/web_finger

A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal.
https://github.com/toddsundsted/web_finger

crystal webfinger

Last synced: 11 days ago
JSON representation

A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal.

Awesome Lists containing this project

README

        

# web_finger

[![GitHub Release](https://img.shields.io/github/release/toddsundsted/web_finger.svg)](https://github.com/toddsundsted/web_finger/releases)
[![Build Status](https://github.com/toddsundsted/web_finger/actions/workflows/ci.yml/badge.svg)](https://github.com/toddsundsted/web_finger/actions)
[![Documentation](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://toddsundsted.github.io/web_finger/)

A [WebFinger](https://tools.ietf.org/html/rfc7033) client for Crystal.

## Installation

1. Add the dependency to your `shard.yml`:

```yaml
dependencies:
web_finger:
github: toddsundsted/web_finger
```

2. Run `shards install`

## Usage

```crystal
require "web_finger"

w = WebFinger.query("acct:[email protected]") # => #
w.link("http://webfinger.net/rel/profile-page").href # => "https://epiktistes.com/@toddsundsted"
```

## Contributors

- [Todd Sundsted](https://github.com/toddsundsted) - creator and maintainer