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