Skip to content
프로젝트

MikeBirdTech/open-interpreter-termux

GitHub에서 보기

소개

Instructions for installing Open Interpreter on your Android device.

프로그래밍 언어 및 런타임

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Open Interpreter on Android

Follow these instructions for installing Open Interpreter on your Android device. Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. This is where Open Interpreter will be installed and interacted with.


Installation

Note: This takes a long time

Update packages and sources

yes | pkg update

Install required packages

yes | pkg install termux-api python-pip cmake ninja patchelf build-essential matplotlib rust binutils libzmq

Allow storage permissions for termux after running:

termux-setup-storage

Note: Android will ask you to grant permission after the first time which causes the command to not succeed initially

So run the same command again and say 'Yes'

termux-setup-storage

Install open interpreter

pip install open-interpreter

Set your OpenAI API key:

export OPENAI_API_KEY=<apikey>

Start Open Interpreter

interpreter
  • ...
  • Profit

Note, OS mode is not currently supported on Android


Considerations

Updating config.yaml

When running interpreter --config a config.yaml may be created in ~/Downloads. This is not the config file used by Open Interpreter. This is due to how Android/Termux handles opening files.

In order to update your Open Interpreter config file, you need to edit the one located in /data/data/com.termux/files/home/.config/Open Interpreter/

You may get an error saying that Termux cannot use external applications. You need to update the termux.properties file. You can use any text editor, here are the steps for nano:

  • nano /.termux/termux.properties
  • uncomment allow-external-apps property
  • save file

Exiting the Chat

In order to exit the chat, you need to press control + c. In some instances, this will halt the current process Open Interpreter is running but will not exit the interactive chat. Pressing control + c a second time will exit the chat.


Example Uses

Check out these posts for examples of how Open Interpreter can be used on your Android

관련 프로젝트 살펴보기

불러오는 중…