Name Date Size #Lines LOC

..--

public/H25-Apr-2025-1816

src/H25-Apr-2025-2,3702,155

test/H25-Apr-2025-2323

.dockerignoreH A D25-Apr-202557 87

.env.developmentH A D25-Apr-202521 21

.env.productionH A D25-Apr-202520 21

.eslintignoreH A D25-Apr-202534 11

.eslintrc.jsonH A D25-Apr-2025316 2121

.gitignoreH A D25-Apr-2025314 3428

.prettierrc.jsH A D25-Apr-202574 65

DockerfileH A D25-Apr-2025557 2521

README.mdH A D25-Apr-2025963 3526

babel.config.jsH A D25-Apr-202566 43

build_zip.bashH A D25-Apr-2025295 86

jest.config.jsH A D25-Apr-2025108 76

ota_interface.pyH A D25-Apr-202511.5 KiB310287

package-lock.jsonH A D25-Apr-20251.2 MiB33,27333,272

package.jsonH A D25-Apr-20252 KiB8382

target_lib.pyH A D25-Apr-20256.6 KiB183164

test_ota_interface.pyH A D25-Apr-202513.9 KiB330297

test_suite.pyH A D25-Apr-2025566 1815

test_target_lib.pyH A D25-Apr-20257.3 KiB193168

vue.config.jsH A D25-Apr-2025173 1311

web_server.pyH A D25-Apr-20258.1 KiB207178

README.md

1# OTAGUI
2
3## Introduction
4OTAGUI is a web interface for ota_from_target_files. Currently, it can only run locally.
5
6OTAGUI use VUE.js as a frontend and python as a backend interface to ota_from_target_files.
7
8## Usage
9First, download the AOSP codebase and set up the environment variable in the root directory:
10```
11source build/envsetup.sh
12lunch 17
13```
14In this case we use `lunch 17` as an example (aosp-x86_64-cf), you can choose whatever suitable for you.
15
16Then, in this directory, please use `npm build` to install the dependencies.
17
18Create a `target` directory to store the target files and a `output` directory
19to store the output files:
20```
21mkdir target
22mkdir output
23```
24
25Finally, run the python http-server and vue.js server:
26```
27python3 web_server.py &
28npm run serve
29```
30### Run with Docker
31
321. Build the image `docker build -t zhangxp1998/test .`
33
342. Run: `docker run -it -p 8000:8000 -v target:/app/target -v output:/app/output zhangxp1998/test:latest`
35