A combination of programs that allows GPT to be your Assistant for your everyday life. GPT has context and will answer any of your questions.
Macrodroid (free or paid version)
After installing termux give it all necessary permissions and let's continue:
pkg install python
apt install git
- IMPORTANT COMMAND, NOT OPTIONAL fixes bug when installing openai python library source
_file="$(find $PREFIX/lib/python3.11 -name "_sysconfigdata*.py")"
rm -rf $PREFIX/lib/python3.11/__pycache__
cp $_file "$_file".backup
sed -i 's|-fno-openmp-implicit-rpath||g' "$_file"
- Change current directory to
cd /storage/emulated/0/
- Clone github repository
git clone https://github.com/Sal0ID/Android-Intelligence
-
Install requests library
-
pip install requests
-
Install OpenAI python library.
-
THIS MAY TAKE UP TO 30 MINUTES
-
pip install openai
-
Then
cd Android-Intelligence
-
nano main.py
-
Put in your OpenAI api key here
openai.api_key = ""
-
After completing macrodroid instructions insert link to second trigger here
-
trigger = "" # Link to macrodroid trigger
-
Congratulations, to launch program:
-
python main.py
After installing macrodroid you should go to templates page and search for Android-Intelligence without the whitespace at the end, or else it would not find it. After finding macro, click on it and add it to your library in the right bottom corner. Then go to home page and find quick tile settings. Enable ANY button on the list, NAME IT and choose button setting Add your button to the menu Go to macros menu -> click on Android-Intelligence macros -> tap on first trigger -> configure
Then open configuration for the second trigger -> Generate new device id
Put your trigger link into trigger
variable in python program.
Launch the program and you are ready to go! 😃