Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pbrisbin/gravatar
Compute gravatar urls for email addresses
https://github.com/pbrisbin/gravatar
Last synced: about 2 months ago
JSON representation
Compute gravatar urls for email addresses
- Host: GitHub
- URL: https://github.com/pbrisbin/gravatar
- Owner: pbrisbin
- License: mit
- Created: 2012-02-14T22:35:16.000Z (almost 13 years ago)
- Default Branch: main
- Last Pushed: 2022-03-31T17:41:17.000Z (over 2 years ago)
- Last Synced: 2024-11-06T00:40:04.256Z (about 2 months ago)
- Language: Haskell
- Homepage:
- Size: 39.1 KB
- Stars: 13
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Gravatar
[![CI](https://github.com/pbrisbin/gravatar/actions/workflows/ci.yml/badge.svg)](https://github.com/pbrisbin/gravatar/actions/workflows/ci.yml)
Generate Gravatar image URLs.
## Usage
```hs
gravatar def "[email protected]"
-- => https://www.gravatar.com/avatar/2be502055b6c21ff470730beead2a998
```For more information, see the [haddocks][].
[haddocks]: http://hackage.haskell.org/package/gravatar/docs/Network-Gravatar.html
## Developing & Tests
```
stack setup
stack build --pedantic --test
```## Historical Note
This is a clean-room implementation of [this][] existing package (I had no idea
it existed when I wrote this).[this]: http://hackage.haskell.org/package/gravatar-0.3
There's only a few small differences:
1. I have only one function and a required "options" argument which supports
everything the Gravatar API offers.
2. My `gravatar` operates on a `Text` valueThe older package hadn't been updated since 2008 and I was unable to reach Don
on the matter. Hopefully it's OK that I take over the module name.---
[CHANGELOG](./CHANGELOG.md) | [LICENSE](./LICENSE)