Skip to content

A combination of programs that allows GPT to be your assistant.

License

Notifications You must be signed in to change notification settings

Sal0ID/Android-Intelligence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android-Intelligence

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.

Example of usage

Video

Requirements

Macrodroid (free or paid version)

Instructions

Termux

After installing termux give it all necessary permissions and let's continue:

  1. pkg install python
  2. apt install git
  3. 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

  • IMG_20240718_191906

  • Congratulations, to launch program:

  • python main.py

Macrodroid

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. IMG_20240712_132633 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. IMG_20240712_134224 Enable ANY button on the list, NAME IT and choose button setting IMG_20240712_134604 Add your button to the menu IMG_20240712_135045 IMG_20240712_135409 Go to macros menu -> click on Android-Intelligence macros -> tap on first trigger -> configure IMG_20240715_074408

Select your named tile

IMG_20240715_074502

Choose first option

IMG_20240715_074549 Then open configuration for the second trigger -> Generate new device id IMG_20240716_092157

Put your trigger link into trigger variable in python program. Launch the program and you are ready to go! 😃

About

A combination of programs that allows GPT to be your assistant.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages