Skip to content

Tytan-Codes/Better-Day-5

Repository files navigation

Better Day 5

How to install:

You can install it by going to my ko-fi page, it is 100% free but you can donate whatever you want when you download it.

Install:

curl -o ready.sh -L https://github.com/Tytan-Codes/Better-Day-5/raw/main/ready.sh && bash ready.sh

Make sure that when you run ready.sh to update, you are not in the same directory as better-day-5 Then:

cd better-day-5
python3 main.py

Updating:

update.py

*** DO NOT GET RID OF THE ready.sh THAT IS NEEDED TO UPDATE THE SCRIPT ***

Configuration:

You need to read the EULA and the other thing. IF YOU WANT TO USE THE CHATGPT STUFF. PUT YOUR API KEY IN THE CONFIG WHERE IT SAYS IT SHOULD BE.

Usage:

This script can do many things here a list:

  • search certain websites
  • run system commands
  • git clone
  • chatGPT functionns

No python

If you don't have python installed, you can still use the script! Heres how:

#macos
source nopython/bin/activate
#powershell
nopython/bin/activate.ps1
#cmd
nopython/bin/activate.bat

Common Errors:

Traceback (most recent call last):
  File "C:\Users\Administrator\code\Better-Day-5\main.py", line 22, in <module>
    subprocess.check_output(['git', 'diff', '--exit-code', script_path])
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This means that you have to install git. FileNotFoundError: [WinError 2] The system cannot find the file specified

ko-fi