~alcinnz/hurl

Haskell URL dispatch.
41ee21d2 — Adrian Cochrane 1 year, 5 months ago
Broaden base dependency bounds, fix readStrict regression.
270f437b — Adrian Cochrane 1 year, 8 months ago
Release hurl-xml v0.2.0.1 !
e9e75ceb — Adrian Cochrane 1 year, 8 months ago
Release HURL v2.3.0.1

refs

main
browse  log 

clone

read-only
https://git.argonaut-constellation.org/~alcinnz/hurl
read/write
git@git.argonaut-constellation.org:~alcinnz/hurl

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

#Haskell URL

Repository | Issue Tracker | Hackage

HURL resolves URLs to the Text or ByteString data they reference, alongside it's MIMEtype. It is capable of resolving data to the charset specified by the MIMEtype, and will convert any errors to response data.

It's main function is Data.Network.Fetch.fetchURL, which takes a "Session" initialized by Data.Network.Fetch.newSession.

#Supported URI schemes

HURL can resolve the following URL schemes:

Each of these protocols can individually be turned on or off at compiletime.

#Desired URI schemes

Integration of the following URL schemes would be appreciated:

  • ftp(s): - Outdated Haskell implementations exists.
  • magnet: - Outdated/incomplete Haskell implementation exists.
  • gopher: - Would want to pair with a Markdown-to-HTML parser to restore semantics lost in Rhapsode's conversion to audio.
  • xdg-icon: - Custom, looks up images according to icon-theme-spec
  • idsc:/mdsc: - being developed by @cwebber@octodon.social.
  • Dispatch to apps on Mac OS X, Windows, Android, and/or iOS.

Feel free to suggest more, point me towards the function(s) to call, or write the patch yourself! Please email these to opensource@openwork.nz.

#Contributing

Please send patches to our issue tracker by either:

Whichever you find most convenient.

If you'd prefer to not make your email address public please contact alcinnz@argonaut-constellation.org !