Java and JS code(Demo)
Git in local is used.
The code will soon be online in a software forge.
License MIT but ethical, I think