refactor: split workspace and delivery layout

This commit is contained in:
2026-03-19 13:00:40 +08:00
parent f12b3d5ecd
commit 74e50a2b30
83 changed files with 592 additions and 896 deletions
+16 -71
View File
@@ -1,85 +1,30 @@
# Mobile Models
# MobileModels Workspace
[![issues](https://img.shields.io/github/issues/KHwang9883/MobileModels?color=green)](https://github.com/KHwang9883/MobileModels/issues)
[![prs](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/KHwang9883/MobileModels/pulls)
[![stars](https://img.shields.io/github/stars/KHwang9883/MobileModels.svg?color=yellow)](https://github.com/KHwang9883/MobileModels)
[![forks](https://img.shields.io/github/forks/KHwang9883/MobileModels.svg?color=orange)](https://github.com/KHwang9883/MobileModels)
[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)
This repository is organized into two layers:
Collecting device names, models and internal codenames.
- `workspace/`
- source workspace
- upstream raw data, notes, and historical files
- `delivery/`
- delivery artifact
- a ready-to-run Docker Compose project with web UI, MySQL schema, and docs
[Issue submission](https://github.com/KHwang9883/MobileModels/issues) and [Pull Requests](https://github.com/KHwang9883/MobileModels/pulls) are welcomed if you find mistakes.
## Usage
## Web UI
The project ships with device query and data management pages and now runs through `docker compose`:
Run from the delivery directory:
```bash
cd delivery
docker compose up --build -d
```
Open:
Entry pages:
- `http://127.0.0.1:8123/web/device_query.html`
- `http://127.0.0.1:8123/web/brand_management.html`
- `http://127.0.0.1:8123/web/device_query.html?view=docs`
MySQL is started together with the stack:
More delivery details:
- host: `127.0.0.1`
- port: `3306`
- database: `mobilemodels`
- reader user: `mobilemodels_reader`
If you want custom MySQL credentials, copy `.env.example` to `.env` before startup.
Raw source data, rebuilt indexes, and MySQL seed files are persisted in Docker volumes instead of being written back to the local workspace at runtime.
More details: [web/README.md](web/README.md)
Unlisted brands usually not include international models.
| Name | Brand | Range |
| :-: | :-: | :-: |
| [apple_all_en](brands/apple_all_en.md) | Apple | iPhone, iPad, iPod touch, Apple Watch, Apple TV and Apple Vision |
| [asus_en](brands/asus_en.md) | ASUS | ROG Phone, Zenfone |
| [blackshark_en](brands/blackshark_en.md) | Black Shark | All models |
| [google](brands/google.md) | Google | Google Pixel phones, tablets & watch |
| [honor_global_en](brands/honor_global_en.md) | HONOR | All international models |
| [huawei_global_en](brands/huawei_global_en.md) | HUAWEI | HUAWEI Mate, Pura, nova & Y series, MediaPad & MatePad series |
| [meizu_en](brands/meizu_en.md) | Meizu | All models |
| [mitv_global_en](brands/mitv_global_en.md) | Xiaomi | All international/Indian Xiaomi & Redmi TV models (excluding Chinese models) |
| [nothing](brands/nothing.md) | Nothing | All models |
| [oneplus_en](brands/oneplus_en.md) | OnePlus | All models |
| [oppo_global_en](brands/oppo_global_en.md) | OPPO | International models since 2018 |
| [samsung_global_en](brands/samsung_global_en.md) | Samsung | International models since 2019 |
| [sony](brands/sony.md) | Sony | All models since 2015 |
| [realme_global_en](brands/realme_global_en.md) | realme | All international models |
| [vivo_global_en](brands/vivo_global_en.md) | vivo | International models since 2019 |
| [xiaomi_en](xiaomi_en.md) | Xiaomi | Xiaomi/Redmi/POCO phones & tablets |
## Changelog
[CHANGELOG_en.md](CHANGELOG_en.md)
## References
- [TENAA](http://zd.taf.org.cn)
- [CQCCMS](http://webdata.cqccms.com.cn/webdata/query/CCCCerti.do)
- [MIIT](https://ythzxfw.miit.gov.cn/resultQuery)
- [China Telecom Tianyi Devices](http://surfing.tydevice.com/)
- [Google Play Supported Devices](http://storage.googleapis.com/play_public/supported_devices.html)
- [Wi-Fi Alliance](https://www.wi-fi.org)
- [Bluetooth Launch Studio](https://launchstudio.bluetooth.com/Listings/Search)
- [Xiaomi Firmware Updater](https://xiaomifirmwareupdater.com/)
- [Huawei Open Source Release Center](https://consumer.huawei.com/en/opensource/)
- [ReaMEIZU](https://reameizu.com/)
- [The Apple Wiki](https://theapplewiki.com/)
- [ipsw.me](https://ipsw.me)
- [XDA Developers](https://www.xda-developers.com)
- [Huawei Firmware Database](https://pro-teammt.ru/en/online-firmware-database-ru/)
- [XSMS IMEI Database](http://xsms.com.ua/phone/imei/all/1)
- [Android Dumps](https://dumps.tadiphone.dev/dumps)
- [Lenovo Android タブレット一覧](https://idomizu.dev/archives/20150)
## License
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
- [delivery/README.md](delivery/README.md)
- [delivery/docs/README.md](delivery/docs/README.md)