Better HN
topnewbestaskshowjobs
Log inSign up

david_bai

7 karma · joined Dec 20, 2024 (1y ago) · 16 submissions

Self-taught frontend dev by passion, algorithm engineer by day job, indie hacker by night .OpenSource P2P file transfer tool:https://www.privydrop.app
Submissions

comment 2mo ago · link · parent

On Android the hard constraint is input injection, not observation. You can see the screen a few ways - Accessibility Service (view tree, no pixels needed), MediaProjection (pixels, but the user must consent to each capture session), or ADB/UIAutomator (dev setup). To actually tap and swipe inside another app you need one of: AccessibilityService.dispatchGesture(), ADB `input tap`, or root. And Play policy only allows the Accessibility API for accessibility purposes, which is why most cross-app automation ships as a dev tool over ADB rather than as a store app.

The practical shapes: - ADB-over-WiFi + UIAutomator: what Appium and Maestro build on; reliable, but needs pairing and a dev-ish setup. - Accessibility service: what Tasker-style automation uses; no PC needed, but Play-policy sensitive and OEM ROMs kill these services aggressively. - Vision loop (screenshot -> model -> coordinates -> gesture): most general, works on games and canvas UIs, but slow and still needs the same input path.

iOS is similar but has no MediaProjection equivalent for third-party apps - cross-app control is XCUITest/WebDriverAgent over a dev connection, which is why mobile agents mostly start on Android.

Curious what agent-device uses underneath; the input side is where most of these projects hit the wall.

comment 2mo ago · link · parent

The security story is more nuanced than "obsolete". Project Mainline (APEX modules) keeps parts of the framework - media codecs, DNS resolver, conscrypt - updated through Google Play system updates even after the OEM stops patching, and WebView, which is the biggest real-world attack surface for most people, keeps updating as a Play app. What actually freezes is the kernel, vendor blobs and baseband, so the risk is "no fixes for this chipset's bugs" rather than "everything is wide open".

Reuses I've seen work well: - Dedicated device: dashcam, kitchen screen, baby monitor, Home Assistant dashboard, offline music/GPS. Put it on a guest VLAN or keep it offline. - Dev/test device: if you build Android apps, a phone stuck on an older API level is genuinely useful for compatibility testing. Mine earns its keep as a test target. - Trade-ins: carriers usually take old phones for credit regardless of update status; that is often the best disposal path. - Custom ROMs: LineageOS covers many older devices, but Samsung bootloaders make it painful (on some US Snapdragon models, impossible), and GrapheneOS is Pixel-only.

What I would not do is keep using it as a daily driver for banking and email on untrusted networks.

comment 11mo ago · link · parent

Author here. I shared PrivyDrop on HN before; this post is specifically about the reusable “AI collaboration playbook” I extracted from the project (templates + workflow), after iterating on it in real dev work.

Quick entry points:

- `AGENTS.md` (guardrails + Done) - `docs/ai-playbook/index.md` (1-page navigation) - `docs/ai-playbook/code-map.md` (where to change) - `docs/ai-playbook/flows.md` (how the system runs) - `docs/ai-playbook/collab-rules.md` (plan-first template)

Two questions I’d love input on:

1. What’s your most effective “Done” / acceptance criteria format for coding agents? 2. Where do you put hard red-lines (security/privacy/architecture) so they actually get followed?

4.

Show HN: An AI collaboration playbook(AGENTS.md and code map and template)(privydrop.app ↗)

2 points · by david_bai · 11mo ago · 1 comment

5.

Show HN: My OSS P2P file transfer tool for learning Next.js (as a C++ dev)(privydrop.app ↗)

16 points · by david_bai · 1y ago · discuss

6.

Show HN: SecureShare – P2P file/text sharing with no size limits, no servers(securityshare.xyz ↗)

9 points · by david_bai · 1y ago · discuss