ghci-websockets: A websocket server that survives GHCi reloads

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

A websocket server that survives GHCi reloads - use your browser to visualise results from the REPL.


[Skip to ReadMe]

Properties

Versions0.0.1, 0.0.1, 0.0.2
Change logCHANGELOG.md
Dependenciesaeson, base (<=5), containers, foreign-store, text, websockets [details]
LicenseBSD-3-Clause
CopyrightCopyright (C) 2019 Jann Mueller
AuthorJann Müller
MaintainerJann Müller (j.mueller.11@alumni.ucl.ac.uk)
CategoryLanguage
Home pagehttps://github.com/j-mueller/ghci-websockets
Bug trackerhttps://github.com/j-mueller/ghci-websockets/issues
Source repositoryhead: git clone https://github.com/j-mueller/ghci-websockets
UploadedSun Jul 14 21:52:10 UTC 2019 by jfmueller

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for ghci-websockets-0.0.1

[back to package description]

ghci-websockets

With ghci-websockets you can send data from GHCi straight to the browser, using a websocket connection that survives GHCi reloads.

ghci-websockets.gif

Contents

The Ghci.Websockets module implements the actual websocket server, broadcasting JSON objects to all clients. Ghci.Websockets.Simple adds a custom message type for text, HTML, and plots on top of that.

Quickstart

Warning

This packages uses the foreign-store package internally, which is highly unstable. I wouldn't use ghci-websockets for anything other than GHCi.

License

BSD-3-Clause, see LICENSE

Contributions

Bug reports, pull requests etc. are welcome!