Skip to content

jam-computing/ivy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IVY

Zig backend for tree

Warning

Ivy is still currently in active development
Some features may not work properly

Dependencies

Build and run

zig build -Doptimize=ReleaseFast && ./zig-out/bin/ivy

User requirements

Ivy

  • Get songs GET api/song/get JSON

  • Play song GET api/song/play JSON

  • Get songs meta GET api/song/meta JSON

  • Create song POST api/song/create JSON

  • Play beat POST api/beat/play JSON

  • Create tree POST api/tree/create JSON

  • Get trees GET api/tree/get JSON

  • Get tree metadata GET api/tree/meta JSON

  • Receive Config File GET api/config JSON

  • Send Config File POST api/config JSON

  • Make sure all mem is freed

  • Currently Playing GET api/current JSON

  • Play GET api/play JSON

  • Pause GET api/pause JSON

Holly

  • Store songs and tree
  • WebAPI
  • Play selected song on lights
  • Receieve new songs
  • Display one beat
  • Configuration file

Song Json Example

{
    "id": "int",
    "name": "string",
    "author": "string",
    "beats": [
        [ "rgba": "string" ]
    ]
}

Song Creation Request Example

{
    "name": "string",
    "author": "string",
    "beats": [ [ "rgba": "string" ] ]
}

Song Play Request Example

{
    "id": "int"
}

Tree Json Example

{
    "id": "int",
    "name": "string",
    "points": [ { "x": "int", "y": "int", "z": "int" } ]
}

Create Database

create user 'beech'@'localhost' identified by 'password';
grant all privileges on *.* to 'beech'@'localhost' with grant option;
flush privileges;
create database beech;

About

Backend to control ws218x leds remotely

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages