Giter Site home page Giter Site logo

time-control's Introduction

About

Time Control is a software designed for parents who want to manage their children's computer usage time. It consists of a client that runs on your computer and a server that runs on your child's computer.

Prerequisites

Currently, the server can only run on Windows, but you can still use the client on other platforms.

Installation

On your computer

  • Download and extract the client web application.

On your child's computer

  1. Download the server executable.
  2. Move it to C:\Windows\System32.
  3. Create a basic task in Task Scheduler to start the program when the user logs in.
  4. Open the task properties and check "Run with highest privileges".
  5. Move to the tab "Conditions" and uncheck "Start the task only if the computer is on AC power".
  6. Move to the tab "Settings" and uncheck "Stop the task if it runs longer than 3 days".
  7. Finally, click on the button "OK" to save the changes.
  8. Log out and then log in to start the service.

Usage

To configure your child's computer usage time, your computer must be connected to the same network of your child's computer. This is only necessary in the first setup or when you need to make changes.

  1. On your computer, open the file Time_Control.exe from the extracted folder.
  2. If you aren't on Windows, start an HTTP server and open the URL in your browser.
  3. In the app, type the IP Address of your child's computer on your local network and connect.

Now, let's clarify some aspects that might not be clear.

Downtime and Daily limit

You must use the 24-hour format for both, as in the following examples:

  • If you want a downtime between 10 pm and 8 am, use 22:00 - 08:00.
  • If you want a daily limit of 2 hours and 30 minutes, use 02:30.

Other

  • Wireless Network Name: This allows the server to automatically connect to your Wi-Fi in order to sync the system time.
  • Update Interval: The interval of execution of the main loop in milliseconds.
  • Lock Interval: The interval of execution of the lock function in milliseconds.

Automatic system time sync

This will avoid unwanted behavior when your child's computer time is incorrect and will prevent them to change the time to continue using the computer.

Build

Before starting the build process, ensure that you have the following requirements installed on your computer:

Now, download this repository as a zip file, extract it, and follow these steps:

Client

  1. In the project folder, open the terminal and run the commands:
npm install
npm run build
cd client
pyinstaller start_http-server.py --onefile --name=Time_Control --icon=../public/app-logo.ico
  1. Create a new folder in a location of your choice (e.g., your desktop).
  2. Move the generated executable from the client/dist folder and the contents of the dist folder to the newly created folder.

Server

  1. In the project folder, open the terminal and run the commands:
cd server
npm install
npm run build
  1. Move the file server.exe to a location of your choice.

time-control's People

Contributors

kelio-mv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.