This repository is a complete rewrite of the TVPC script, written by Pieter Kokx many, many years ago. Because the old script was written in PHP5.6 with some Javascript and contained several memory leaks, it was decided to fully rewrite the code behind it. This new version is written in Typescript.
- Clone this repository.
- Install all packages in both the frontend as well as the backend folder with
npm install
- Set the environment variables in
backend/.env
. - Run
npm run watch
in a terminal in the backend folder. - While in the frontend folder,
compile the Typescript files with
tsc
. When you want to debug the code in your browser, runtsc --sourceMap
. - Open index.html.