Leia parental control is a tool to monitor children time on the internet.
This GIT repository contains the source of the Google Chrome Extension and the source of the Web Application.
Feel free to download and update either or both.
Prior to building LeiaParentalControl you should have installed:
-
the Chrome browser
-
nodejs
nodejs website Version 6.9.1 was used when writing this.
This is what I use, this is optionnal, if you're more confortable with something else it is alright with me.
-
visual studio code
The extension is written in HTML, CSS and typescript. To compile Typescript run the tsc compiler from the extension folder:
cd extension
npm install
npm run tsc
This is it. By default the tsc compiler will continue compiling in watch mode.
In chrome navigate to [chrome://extensions/] Click the button Load unpacked extension... Select the "extension" folder in the root of this repository.
The site is written in HTML, CSS and typescript. To compile Typescript run the tsc compiler from the site folder:
cd site
npm install
npm run serve
This is it. By default the tsc compiler will continue compiling in watch mode.
To run a local webserver
cd site
chmod +x serve
./serve
http://localhost:8080/webpack-dev-server/index.html http://localhost:8080/index.html
Please tell me if I missed something in these instructions.