Skip to content

ProjectLighthouseCAU/lighthouse-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

925956e · Mar 25, 2024

History

91 Commits
Nov 17, 2023
Nov 17, 2023
Nov 17, 2023
Jan 31, 2022
Feb 1, 2022
Feb 14, 2020
Nov 17, 2023
Feb 14, 2020
Mar 25, 2024
Mar 25, 2024

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.