Skip to content

ProjectLighthouseCAU/lighthouse-haskell

Repository files navigation

Project Lighthouse Client for Haskell

Build Docs

An API client for a light installation at the University of Kiel written in Haskell.

Facade

Running the Demo

To run the demo, first set the following environment variables

export LIGHTHOUSE_USER=[your username]
export LIGHTHOUSE_TOKEN=[your API token]

For this, you need a valid login at lighthouse.uni-kiel.de.

You can now render a demo image to the lighthouse by running

stack run -- lighthouse-demo/assets/haskell-icon-lighthouse.png

For a larger example, check out lighthouse-2048, an implementation of the game 2048 for the lighthouse.