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,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Secure, view-only PDF sharing with AES-256-GCM encryption, password protection, email-based access control, and watermarked viewing.
PDFs are encrypted with AES-256-GCM and stored directly in PostgreSQL (bytea). No S3 or external object storage required.
Backend — Node.js 20, Express, TypeScript, Prisma, Redis (ioredis), bcrypt, JWT, MuPDF (WASM), Sharp
Frontend — Next.js, React, TypeScript, Tailwind CSS, Zustand, Zod
Infrastructure — Neon Postgres, Upstash Redis, Render (API), Vercel (Web)檢視完整 README ↗Secure, view-only PDF sharing with AES-256-GCM encryption, password protection, email-based access control, and watermarked viewing.
Frontend (Next.js) → Backend (Express + TypeScript)
Vercel Render
│
┌──────────┼──────────┐
▼ ▼
Neon Postgres Upstash Redis
(PDFs + data) (sessions + rate limits)
PDFs are encrypted with AES-256-GCM and stored directly in PostgreSQL (bytea). No S3 or external object storage required.
Backend — Node.js 20, Express, TypeScript, Prisma, Redis (ioredis), bcrypt, JWT, MuPDF (WASM), Sharp
Frontend — Next.js, React, TypeScript, Tailwind CSS, Zustand, Zod
Infrastructure — Neon Postgres, Upstash Redis, Render (API), Vercel (Web)
sameSite: strict# Clone
git clone https://github.com/artypratham/SecureView.git
cd SecureView
# Install all dependencies (monorepo workspaces)
npm install
# Configure environment
cp apps/api/.env.example apps/api/.env
cp apps/web/.env.example apps/web/.env
# Edit both .env files with your credentials
# Generate a secure encryption key
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
# Copy the output into ENCRYPTION_MASTER_KEY in apps/api/.env
# Setup database
cd apps/api
npx prisma db push
cd ../..
# Run development servers
npm run dev:api # Backend on :3001
npm run dev:web # Frontend on :3000
apps/api/.env)| Variable | Description | Example |
|---|---|---|
DATABASE_URL | PostgreSQL connection string | postgresql://user:pass@host/db?sslmode=require |
REDIS_URL | Redis connection string | rediss://default:xxx@host:6379 |
JWT_SECRET | Secret for signing JWTs (min 32 chars) | Random string |
JWT_EXPIRY | Viewer session token expiry | 15m |
AUTH_TOKEN_EXPIRY | Admin auth token expiry | 7d |
ENCRYPTION_MASTER_KEY | AES-256 master key (64 hex chars) | node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" |
PORT | Server port | 3001 |
NODE_ENV | Environment | production |
CORS_ORIGINS | Allowed origins (comma-separated) | https://your-app.vercel.app |
apps/web/.env)| Variable | Description | Example |
|---|---|---|
NEXT_PUBLIC_API_URL | Public API URL (used by browser) | https://secureview-api.onrender.com |
API_INTERNAL_URL | Internal API URL (used by SSR/proxy) | Same as above for Vercel |
| Method | Path | Description |
|---|---|---|
| POST | /api/auth/register | Register new user |
| POST | /api/auth/login | Login (sets httpOnly cookie) |
| GET | /api/auth/me | Get current user profile |
| POST | /api/auth/logout | Logout (clears cookie) |
| Method | Path | Description |
|---|---|---|
| POST | /api/documents | Upload PDF (multipart, max 50MB) |
| GET | /api/documents | List user's documents (paginated, max 100/page) |
| GET | /api/documents/:id | Get document details |
| PUT | /api/documents/:id | Update document settings |
| DELETE | /api/documents/:id | Delete document |
| POST | /api/documents/:id/emails | Add allowed emails |
| DELETE | /api/documents/:id/emails | Remove allowed email |
| GET | /api/documents/:id/audit-log | Get audit log (paginated) |
| Method | Path | Description |
|---|---|---|
| POST | /api/view/:slug/verify | Verify access (email + password) |
| GET | /api/view/:slug/pages/:num | Get watermarked page image (PNG) |
| GET | /api/view/:slug/info | Get document info (name, page count) |
| Method | Path | Description |
|---|---|---|
| GET | /api/admin/dashboard | Dashboard stats |
| POST | /api/admin/documents/:id/revoke | Revoke all active sessions |
| Method | Path | Description |
|---|---|---|
| GET | /api/health | Health check (DB + Redis status) |
npm run test:api # Backend tests
npm run test:web # Frontend tests
secureviewDATABASE_URLus-west-1 for Oregon)rediss:// connection string — you'll need it as REDIS_URLapps/api/render.yamlsync: false:
DATABASE_URL — from NeonREDIS_URL — from UpstashENCRYPTION_MASTER_KEY — generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"CORS_ORIGINS — your Vercel frontend URL (e.g., https://secureview.vercel.app)secureview-apiapps/api./DockerfileNODE_ENV=production
PORT=3001
DATABASE_URL=<your-neon-connection-string>
REDIS_URL=<your-upstash-redis-url>
JWT_SECRET=<generate-random-32-char-string>
JWT_EXPIRY=15m
AUTH_TOKEN_EXPIRY=7d
ENCRYPTION_MASTER_KEY=<generate-64-hex-chars>
CORS_ORIGINS=https://your-app.vercel.app
/api/healthThe Dockerfile automatically runs prisma migrate deploy on startup, so your database schema will be applied on first deploy.
vercel.json — no framework/build settings changes neededNEXT_PUBLIC_API_URL=https://secureview-api.onrender.com
API_INTERNAL_URL=https://secureview-api.onrender.com
Replace secureview-api.onrender.com with your actual Render service URL.https://your-api.onrender.com/api/health — should return {"status":"healthy"}CORS_ORIGINS on Render if your Vercel URL differs from what you initially setRender: Settings → Custom Domains → Add your API domain → Update DNS
Vercel: Settings → Domains → Add your frontend domain → Update DNS
After adding custom domains, update:
CORS_ORIGINS on Render to include the new frontend domainNEXT_PUBLIC_API_URL and API_INTERNAL_URL on Vercel to the new API domainMIT