Files
Commilitia-Drop/.gitignore
T
admin f21fa5b5e8 cdrop — 跨 OS 剪贴板与文件传输服务
Commilitia Drop:自托管的跨设备剪贴板同步与点对点文件传输。

- 后端 Go(chi / SQLite WAL / SSE Hub / WebRTC signaling + 状态机 / Relay ring buffer),编译进单个 distroless 镜像(前端 go:embed)。
- 前端 React + TanStack Router + Zustand,自实现 SSE + WebRTC P2P,NAT 受阻时回退服务端中继;聚珍(Juzhen)CJK 综合排版。
- 桌面端 Wails v2(macOS / Windows),瘦客户端复用 web。
- 鉴权 OIDC PKCE(自建 Casdoor 等),refresh_token 信封加密存系统密钥库;iOS Shortcut 用 HS256 scoped token。

架构文档与变更记录见 docs 分支(PROJECT_BRIEF / FRONTEND_DESIGN / CHANGELOG)。

本次为公开发布初始提交:完整开发历史(含部署细节)留存于私有归档,公开仓库自此干净起步。
2026-06-15 21:38:28 +08:00

58 lines
867 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Backend build artifacts
/cdrop
/cdropd
/dist/
# Go test / coverage / profile output
coverage.out
coverage.html
*.test
*.prof
# SQLite runtime files
*.db
*.db-shm
*.db-wal
# Frontend
/web/node_modules/
/web/dist/
/web/.vite/
/web/*.tsbuildinfo
/web/vite.config.js
/web/vite.config.d.ts
/web/src/routeTree.gen.ts
# Embedded frontend bundle (Dockerfile populates this)
/internal/webui/dist/*
!/internal/webui/dist/.gitkeep
# Editor / OS
**/.DS_Store
.idea/
.vscode/
*.swp
*.swo
*~
*.orig
*.bak
# Env files — track only the .example templates
/.env*
!/.env.example
/web/.env*
!/web/.env.example
/data/
# Deploy mirror (M13 pull-before-modify baselinenever入库)
/docker/.remote/
# Desktop client (Wails) 产物
/desktop/build/bin/
/desktop/frontend/node_modules/
/desktop/frontend/dist/
/desktop/frontend/wailsjs/
# Scratch / ad-hoc artifacts
/.scratch/