From user bug reports (8f8c10c0 freeomovie, c156e4b7/8db71220 watchporn scene): freeomovie (app/connectors/freeomovie.py): - Parse the detail-page poster (<img class="rmbd">); RawMovie was built with no poster_url, so title-only orphans (no canonical match) rendered blank cards. Re-ingest backfilled existing blanks 11 -> 1. - _host_label now returns the registrable domain (parts[-2]) not the subdomain, so video.player4me.xyz labels as 'player4me' (was garbage 'freeomovie:video'). - Skip player4me (JS-SPA, no known resolver); pruned 28 dead freeomovie:video sources. - myvidplay.com added to mobile DOOD_HOSTS (doodstream.ts): it 301s to playmogo.com (doodcdn clone), so it now routes to the native dood resolver instead of a dead WebView. watchporn: the reported 4 duplicate/broken quality rows were the API process serving a STALE extractor registry (never restarted after the re-enable deploy) -> _embed_iframe scraped 2 tokenless get_file (403) + 2 preview trailers (404). The running api now serves the native extractor (2 clean playing links, verified). Hardened _embed_iframe to skip preview/videos_screenshots clips and tokenless get_file so this class can't recur. Also: DonateScreen em-dashes -> commas/semicolon (no-em-dash rule). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| src | ||
| .gitignore | ||
| app.json | ||
| App.tsx | ||
| babel.config.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
goon mobile (Expo / React Native)
Mobile client do self-hosted goon backendu. iOS/Android jeden codebase.
Setup
cd mobile
npm install
npx expo start
Następnie:
- Expo Go (iOS/Android): zeskanuj QR z terminala
- Android emulator:
npm run android - iOS simulator:
npm run ios(tylko macOS) - Web preview:
npm run web
Konfiguracja
Po pierwszym uruchomieniu zobaczysz ekran logowania:
- Backend URL — adres twojego goon backendu, np.:
http://192.168.1.10:8000(LAN)https://goon.tvojadomena.dev(przez Cloudflare Tunnel/Caddy)http://100.x.x.x:8000(przez Tailscale)
- API Key — klucz wygenerowany dla backendu, ustawiony w
.env:
Generowanie:API_KEYS=<klucz>python -c "import secrets; print(secrets.token_urlsafe(32))"
Klucz jest trzymany w expo-secure-store (Keychain na iOS, Keystore na Androidzie).
Ekrany
- Login — backend URL + API key, weryfikacja przez
/healthz+/scenes - Scenes — lista scen z search; pull-to-refresh
- Scene detail — performerzy, tagi, źródła, opis
- Merge queue — pending merge candidates, sortowane po score (desc)
- Merge detail — side-by-side dwóch scen + reasons + akcje:
- Merge → keep LEFT (default — left to wcześniejsza/kanoniczna)
- Merge → keep RIGHT (gdy nowsza wersja ma lepsze metadane)
- Reject (keep both) — to nie jest duplikat, zostawiamy oddzielnie
Stack
- Expo SDK 52 + React Native 0.76 (new architecture)
- TypeScript strict
- React Navigation 7 (native stack)
- TanStack Query 5 (cache, optimistic invalidation)
- expo-secure-store (credentials)
Build .apk (sideload na Androida)
npx eas build --profile preview --platform android
Wymaga konta Expo. Bez niego można użyć expo prebuild + gradlew assembleRelease.
Dlaczego nie PWA
Wybrany RN+Expo zamiast PWA bo:
- swipe gestures pasują do triage merge queue
- secure-store jest natywny (Keychain/Keystore) zamiast localStorage
- pull-to-refresh i FlatList virtualization out-of-the-box
- Jeden .apk można rozdać testerom bez App Store