dumbtv
dumbtv takes the ads, screen tracking and update nags out of your Fire TV over ADB. No root, none of your apps touched, every step can be undone. Free and open source.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证ashitrai04/Gujarat-Police-Hackathon
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
GIS-first control room for the Gujarat Police Innovation Hackathon 2026.
A Mapbox map is the interface: browse the live camera estate, filter by
department, build a video wall, and (once the ANPR pipeline is connected)
trace vehicles and act on watchlist alerts.
.env is git-ignored. Never commit a token.
Cameras come from the live host, not a fixture: GET /api/cameras returns
30 cameras with resolution, fps, bitrate, bits-per-pixel and RTSP / WebRTC /
HLS URLs. There is no mock layer in this codebase.查看完整 README ↗GIS-first control room for the Gujarat Police Innovation Hackathon 2026. A Mapbox map is the interface: browse the live camera estate, filter by department, build a video wall, and (once the ANPR pipeline is connected) trace vehicles and act on watchlist alerts.
React 18 · TypeScript · Vite · Mapbox GL v3 · Tailwind v4 · Zustand · TanStack Query
npm install
cp .env.example .env # add your Mapbox token
npm run dev # http://localhost:5173
| Variable | Required | Purpose |
|---|---|---|
VITE_MAPBOX_TOKEN | yes | Mapbox GL access token (pk.…) |
VITE_ANPR_API_URL | no | ANPR pipeline base URL. Blank ⇒ UI reports "ANPR offline" |
VITE_SENTINEL_HOST | no | Override the camera registry proxy path |
VITE_STREAM_BASE | no | Override the video proxy path |
.env is git-ignored. Never commit a token.
Cameras come from the live host, not a fixture: GET /api/cameras returns
30 cameras with resolution, fps, bitrate, bits-per-pixel and RTSP / WebRTC /
HLS URLs. There is no mock layer in this codebase.
The host supplies no geography, so src/api/registry.ts maps each camera to a
real Gujarat junction — keyed on the location prefix, not the numeric id.
That matters: the host has already renumbered its cameras once (inserting one
shifted every later id by +1). The prefix travels with the footage; the id does
not.
Boundaries are the 2011 census districts from udit-001/india-maps-data. Reference POIs are OpenStreetMap via Overpass. Map icons are Maki (CC0).
The feed host cannot be called directly from a browser. Three upstream defects:
/live/* sends Access-Control-Allow-Origin: * twice; browsers reject
'*, *'.live.sentinelgujarat.in 301-redirects to live.corp8.cloud and that
redirect carries no CORS headers.Secure; SameSite=None; Partitioned, which will not stick over a plain-HTTP hop. Without it the
variant playlist answers 401 authentication error and every tile is black.Both proxies normalise all three:
| Environment | Proxy | Defined in |
|---|---|---|
| dev | /sentinel/* | vite.config.ts |
| production | /api/sentinel/* | api/sentinel/[...path].ts (Vercel Edge) |
vercel.json.VITE_MAPBOX_TOKEN under Settings → Environment Variables./api/sentinel/* is picked up automatically.Bandwidth warning. HLS segments are proxied through the Edge function, so every second of video counts against Vercel bandwidth. Several tiles at 1080p will consume a free-tier allowance quickly. For sustained use, put the proxy on your own host or ask the feed operator to fix the duplicate CORS header so the browser can talk to it directly.
Each tile falls back the way the host's own player does:
live HLS → VOD HLS → progressive MP4 seeked to slot_offset
The live gateway caps concurrent sessions, so with many tiles most would otherwise sit on "Connecting…". Progressive has no cap. Tiles are labelled LIVE (real-time) or SYNCED (progressive, positioned at wall-clock).
Byte-range support varies by container: /stream/2 answers 206, /stream/14
answers 200. Seeking is skipped where ranges are unsupported, otherwise the
player would pull gigabytes before showing a frame.
Detections, routes, watchlist and alerts come from a separate model service
(src/api/anpr.ts). Set VITE_ANPR_API_URL to enable. Expected endpoints:
GET /detections?plate&cameraId&from&to&limit
GET /route?plate
GET /watchlist POST /watchlist PATCH /watchlist/:id DELETE /watchlist/:id
GET /alerts POST /alerts/:id/ack
WS /alerts/stream
POST /analyze { cameraId, streamUrl }
Until it is configured the UI shows ANPR offline and renders empty states. Nothing is fabricated.
TextRecognition on the tight plate box. The full
detect+recognise pipeline re-runs text detection per crop: 5589 ms → 58 ms.api/sentinel/ Vercel Edge proxy (production)
src/api/ registry (real cameras), anpr adapter, types
src/app/ shell, command bar, rails, store
src/map/ Mapbox init, layer managers, Maki icons
src/features/ cameras · videowall · tracking · alerts · events · health
public/geo/ district + POI GeoJSON
Map © Mapbox, © OpenStreetMap contributors. Boundaries via udit-001/india-maps-data. Icons: Maki (CC0). Camera feeds are the property of the hackathon organisers.