~toastal/purescript-blurhash

A PureScript implementation of BlurHash, a compact representation of a placeholder for an image

refs

trunk
browse  log 

clone

read-only
https://git.sr.ht/~toastal/purescript-blurhash
read/write
git@git.sr.ht:~toastal/purescript-blurhash

You can also use your local clone with git send-email.

A PureScript implementation of Wolt’s BlurHash, a compact representation of a placeholder for an image.

TODO: images

Installation

If/when Sourcehut support comes to the PureScript registry and this package gets upstreamed:

Via spago
$ spago install blurhash

Until then, it must by manually added to one’s {spago,packages}.dhall.

License

This project is licensed under Mozilla Public License Version 2.0 (MPL-2.0) — see the LICENSE file in this project for details.

Setup

Git

Hooks and config
$ git config --local include.path ../.gitconfig
$ git config --local core.hooksPath .githooks

Nix + Flakes

For dev shell
$ nix develop
For automatic shell via direnv
$ direnv allow
Caching via Cachix
$ cachix use toastal-purescript-blurhash

Not Nix

Requirements
package version

purs

~0.14.4

spago

^0.20.2

purs-tidy

latest

Although assume the flake.{nix,lock} as the source of truth.

Funding

If you want to make a small contribution to the maintanence of this & other projects