Skip to content

archnotwindows/poweroffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Poweroffer


Repo Size Issues Pull requests


Forks Stars

With this simple python program you will be able to not procrastinate during the day in some sort of website (like Youtube) that you can choose! so try it out!!

Getting Started

WARNING!! to make this software work you must use a debian based linux distro and the Firefox web browser

0 - Install Python on your machine. Version 3.10 or higher is required!

1 - Clone the repository on your machine.

2 - Put the poweroffer extracted folder in the Desktop

3 - Rename the folder in to poweroffer

4 - Install tkinter with these commands

  sudo apt-get install python3-tk 
  pip install tk

5 - Install os,json and time ( but probably these libraries are already installed on your system)

6 - become a root user ( with " su " command and continue to do all the operations with root)

7 - Install lz4.block with this command pip install lz4

8 - open a terminal emulator and write

  crontab -e

*NOTE:if is your first time you may have to choose witch editor you wanna use

9 - write at the end of the file this string " * * * * * /bin/bash /home/your-username/Desktop/poweroffer/executable.sh "

10 - close the editor and save the changes

11 - search for this file "recovery.jsonlz4" and copy it's path

12 - edit the main.py file and scroll down until the line 48

Istantanea_2022-07-21_14-07-03

13 - replace the selected area with the path you have copied

14 - replace int the path at the lines 39,46 and 66 the word "your-username" with your username

15 - exit from the root user and login to your everyday user

16 - open a terminal and run the index.py file using

    python3 index.py

17 - enjoy my program! :)

License

This project is licensed under either of:

Contact

gmail github twitter stackoverflow

Releases

No releases published

Packages

No packages published

Languages