O96u ac65c1eb9d refactor: 重构设置、API、图库与存储页面前端结构。
将操作日志并入设置侧栏,补齐检查更新提示与版本接口刷新;拆分各模块组件并修复图库搜索分页变量。
2026-09-01 17:15:02 +08:00
2026-08-22 14:36:57 +08:00
2026-08-22 14:36:57 +08:00
2026-08-22 14:36:57 +08:00
2026-08-22 14:36:57 +08:00
2026-08-27 15:32:31 +08:00
2026-08-22 14:36:57 +08:00
2026-08-22 14:36:57 +08:00

PicHost

PicHost

Lightweight personal image hosting · Simple uploads, clean management

Self-hosted / Multi-user / Docker / API / Twikoo · Local disk or object storage

version CI Nuxt 4 Docker GPL-3.0

Docs · Screenshots · Features · Tech Stack · Quick Start · 简体中文


Screenshots

main has no public demo. cloudflare branch live demo: pic.roven.cc

Home Storage
Home Storage
Stats Settings
Stats Settings

Features

  • Drag, click, or Ctrl+V paste — server-side WebP, Referer hotlink protection
  • Multi-user — login with slider captcha, optional registration; users see only their images
  • Multi-backend storage — local disk + S3-compatible (R2 / COS / OSS / AWS); hybrid proxy / public URLs
  • Gallery & stats — browse, search, batch delete; upload trends and source breakdown
  • API & Twikoo — global / per-user tokens; POST /api/index.php compatible
  • Zero-config Docker — first-run web wizard, no secrets upfront

Tech Stack

Layer Technologies
Frontend Nuxt 4 · Nuxt UI 4 · Vue 3 · Tailwind CSS 4 · TypeScript
Backend Nitro (node-server) · REST API
Data SQLite · local data/pichost.db
Images sharp (server-side WebP)
Storage Local disk · S3-compatible (AWS SDK · R2 / COS / OSS, etc.)
i18n @nuxtjs/i18n (zh-CN / English)
Quality & docs Vitest · VitePress docs site
Deploy Docker · Node.js 22

Quick Start

docker run -d \
  --name pichost \
  -p 6892:6892 \
  -v ./data:/data \
  --restart unless-stopped \
  muxui/pichost:latest

Open http://<host>:6892 and complete the setup wizard.

Full guide (env vars, upgrades, dual-domain setup, API, Twikoo, reverse proxy, local dev, etc.): Documentation.

Branch Notes
main Default: multi-backend, dual-domain, unified images/ storage
cloudflare Cloudflare R2 only; live demo pic.roven.cc

License

GPL-3.0

LINUX DO

S
Description
Lightweight self-hosted image hosting — Docker, multi-user, gallery & API, local disk or S3-compatible storage.
https://O96u.github.io/PicHost/
Readme GPL-3.0
4.6 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 50.8%
Vue 47.3%
JavaScript 1.3%
CSS 0.4%
Dockerfile 0.1%