iamsdas / elm-chorus

A web interface for Kodi/XBMC written in Elm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elm-chorus

demo

a web interface for Kodi written in Elm for GSoC 2020
based on chorus2 by jez500

Code layout

Inside the src directory you'll find:

src

Colors.elm - palette for user interface
Components - all ui elements

  • DialogBox
  • Frame
  • Header
  • LeftSidebar
  • RightSidebar
  • PlayerRow
  • VerticalNav
  • Video

Helper.elm
Main.elm
Method.elm
Pages - holds all elm-spa pages
Request.elm - partial wrapper, unused for now because it's incomplete
Shared.elm - Shared model, this is where all the action handling happens
Spa - holds all elm-spa generated stuff
WSDecoder.elm - all decoders and custom types

Developing elm chorus

To develop elm-chorus, you must have the following:

For MacOS, Windows, Linux

  • Kodi application
  • Chrome/Chromium, Firefox
  • Elm
  • NPM

To run it:

  1. start Kodi
  2. git clone https://github.com/xbmc/elm-chorus.git
  3. cd elm-chorus/
  4. npm start

and point your browser to localhost:8000 by default or whatever port Node tells you

About

A web interface for Kodi/XBMC written in Elm

License:GNU General Public License v2.0


Languages

Language:Elm 98.7%Language:CSS 0.7%Language:JavaScript 0.5%Language:HTML 0.1%