1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 07:20:00 +03:00

initial web rssh stage 1

This commit is contained in:
Anton Afanasyeu
2026-06-03 06:50:57 +02:00
parent bd339ee90c
commit f818ec4f0c
52 changed files with 2173 additions and 10 deletions

View File

@@ -4,6 +4,8 @@ _Date: 2026-06-02 — **merged document**: initial proposal (rev. 1) + infra rev
---
---
## Table of contents
<!-- toc -->

View File

@@ -8,6 +8,8 @@ Last updated: 2026-05-23. Use this document for **feature freeze**, **alpha buil
---
---
## Table of contents
<!-- toc -->

View File

@@ -4,6 +4,8 @@ Manual QA on **two devices** on the same WiFi. Goal: stable show path without
---
---
## Table of contents
<!-- toc -->

View File

@@ -9,6 +9,8 @@ Research and recommendations for **movie cast** vs **video cast** quality enhanc
---
---
## Table of contents
<!-- toc -->

View File

@@ -2,6 +2,8 @@
---
---
## Table of contents
<!-- toc -->

View File

@@ -4,6 +4,8 @@ Ads, in-app purchases, and Play Store helpers are **disabled for normal users**.
---
---
## Table of contents
<!-- toc -->

View File

@@ -2,6 +2,8 @@
---
---
## Table of contents
<!-- toc -->

View File

@@ -15,6 +15,8 @@ This document defines how we develop, integrate, release, and hotfix. **Cursor a
---
---
## Table of contents
<!-- toc -->

View File

@@ -4,6 +4,8 @@ _Date: 2026-06-02_
---
---
## Table of contents
<!-- toc -->

View File

@@ -15,6 +15,8 @@
---
---
## Table of contents
<!-- toc -->

View File

@@ -4,6 +4,8 @@ Triage **real device crashes** vs **synthetic / bulk test traffic** when exposin
---
---
## Table of contents
<!-- toc -->

View File

@@ -8,6 +8,8 @@ MQTT is fully supported for OTA sources using retained topic payloads (`mqtt://.
---
---
## Table of contents
<!-- toc -->

View File

@@ -4,6 +4,8 @@ Design notes for a commercial build without forking the cast protocol. **Not imp
---
---
## Table of contents
<!-- toc -->

View File

@@ -37,6 +37,7 @@ Click a link to open a guide. Section links jump within the document (GitHub, Cu
| [OPEN_API.md](OPEN_API.md) | Crash ingest API design, triage tags, heuristics. |
| [OTA.md](OTA.md) | OTA channel layout v0, manifests, MQTT, publish flow. |
| [PRO_AAR.md](PRO_AAR.md) | cast-core / cast-pro AAR split and Play Billing. |
| [REMOTE_ACCESS_IMPL.md](REMOTE_ACCESS_IMPL.md) | |
| [ROADMAP.md](ROADMAP.md) | Implementation roadmap, alpha definition, deferred work. |
| [TICKETS_ROADMAP.md](TICKETS_ROADMAP.md) | Tickets console, Gitea, attachments, agent queue. |
| [USB_HDMI_CAST.md](USB_HDMI_CAST.md) | Roadmap D/E: HDMI awareness, USB-tether transport. |

View File

@@ -0,0 +1,47 @@
# Remote access — implementation notes (v1 WireGuard)
See the full proposal: [20260602_REVERSE_SSH_proposals_summary.md](20260602_REVERSE_SSH_proposals_summary.md).
## Table of contents
<!-- toc -->
- [App (developer settings)](#app-developer-settings)
- [BE](#be)
- [WireGuard third-party](#wireguard-third-party)
- [Tests](#tests)
<!-- /toc -->
**Documentation index:** [README.md](README.md)
---
## App (developer settings)
- Dropdown: **Disabled** | **WireGuard** | **RSSH (greyed — not selectable)**
- Pref key: `dev_remote_access_mode` (`AppPreferences`)
- **Disabled:** stops `RemoteAccessService`, tears down VPN, POST `type:ra` + `status:disable`
- **WireGuard:** foreground poll 17 min → `RemoteAccessService` → BE `heartbeat.php`
## BE
- Migration: `sql/migrations/007_remote_access.sql`
- Repository: `src/RemoteAccessRepository.php`
- Device API: `public/api/heartbeat.php` (`type: ra`)
- Admin API: `public/api/remote_access.php`
- UI: `?view=remote_access` (nav + hub card)
- RBAC: `remote_access_view`, `remote_access_operate`, `remote_access_admin`
## WireGuard third-party
```bash
bash scripts/init-wireguard-submodule.sh
```
Optional `:tunnel` module from `third-party/wireguard-android`. Without it, `WireGuardTunnelBridge` uses `RemoteAccessVpnService` (TUN fallback).
## Tests
```bash
./gradlew :app:testDebugUnitTest
bash examples/crash_reporter/backend/scripts/test_remote_access_api.sh
```

View File

@@ -6,6 +6,8 @@ Last updated: 2026-05-23. Living document — refine as alpha and commercial tra
---
---
## Table of contents
<!-- toc -->

View File

@@ -2,6 +2,8 @@
---
---
## Table of contents
<!-- toc -->

View File

@@ -4,6 +4,8 @@ Android Cast streams over **WiFi** (UDP/TCP/QUIC). USB-C→HDMI adapters use
---
---
## Table of contents
<!-- toc -->