-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy path.gitignore
More file actions
279 lines (223 loc) · 3.98 KB
/
.gitignore
File metadata and controls
279 lines (223 loc) · 3.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
# ============================================
# Go 语言相关
# ============================================
# 二进制文件
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
*.o
*.a
app
main
# 依赖管理
vendor/
go.work
# 测试覆盖率
*.cover
coverage.txt
profile.out
# 其他
__debug_bin
# GitHub Actions 示例文件
.github/workflows/*.example
.github/workflows/*.yml.example
# ============================================
# 前端相关
# ============================================
# 依赖目录
node_modules/
web/node_modules/
web/pnpm-lock.yaml
# 构建产物
# 注意:/internal/static/dist/ 需要提交(Go embed 依赖)
/dist/
web/dist/
/internal/static/assets/
# 前端缓存
.vite/
web/.vite/
web/node_modules/.cache/
.vite-ssg-temp/
web/.vite-ssg-temp/
# ============================================
# 数据库相关
# ============================================
# SQLite 数据库文件
*.db
*.sqlite
*.sqlite3
app.db
# ============================================
# 配置文件
# ============================================
# 环境配置(只保留示例配置)
configs/*.yaml
!configs/config.example.yaml
# 环境变量文件(后端仅保留示例)
.env
.env.*
!.env.example
!web/.env
# 部署配置(敏感信息)
deploy.conf
deploy/deploy.*.conf
!deploy/deploy.dev.conf
!deploy/deploy.prod.conf
*.pem
*.key
# 部署脚本(个人开发用)
deploy/*.sh
deploy/service.sh
# ============================================
# 日志文件
# ============================================
logs/
*.log
# ============================================
# 临时文件和缓存
# ============================================
# 临时目录
tmp/
temp/
.tmp/
.temp/
/tmp-air-*/
# 缓存目录
.cache/
.build-cache/
.docker-cache/
.gocache/
# 注意:不要忽略 pkg/cache(这是代码模块)
/cache/
/web/cache/
# Air 热重载缓存
.air.toml.tmp
# ============================================
# 构建产物
# ============================================
# 构建目录
build/
/build/
bin/
/bin/
Release/
release/
# 打包文件
*.tar.gz
*.zip
# ============================================
# IDE 和编辑器
# ============================================
# VS Code
.vscode/
*.code-workspace
# JetBrains IDEs (IntelliJ, GoLand, WebStorm 等)
.idea/
*.iml
*.ipr
*.iws
# Sublime Text
*.sublime-workspace
*.sublime-project
# Vim
*.swp
*.swo
*~
# Emacs
*~
\#*\#
.\#*
# Eclipse
.project
.settings/
.classpath
# ============================================
# 操作系统相关
# ============================================
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
# Linux
*~
# ============================================
# AI 助手相关
# ============================================
# Claude AI
.claude/
.claude_history
**/.claude/
**/.claude/**
**/settings.local.json
# Cursor AI
.cursor/
.cursorignore
# AI 开发文档(仅本地使用)
docs/CLAUDE.md
# 其他 AI 工具
.copilot/
.github-copilot/
# ============================================
# 项目特定文件
# ============================================
# 上传文件目录
uploads/
uploads/*
!uploads/.gitkeep
# 数据目录
data/
qdrant/data/
qdrant/bin/
qdrant/.qdrant-initialized
# Qdrant 运行时文件
qdrant/config/config.yaml
qdrant/*.pid
# 部署缓存(Qdrant 预下载文件等)
deploy/cache/
qdrant-binaries/
# 个人笔记
TODO.md
NOTES.md
.notes/
# ============================================
# Docker 相关
# ============================================
# Docker 构建缓存
.docker-cache/
.buildx-cache/
.dockerignore.local
# Docker Compose 覆盖文件
docker-compose.override.yml
docker-compose.local.yml
# 动态生成的 Dockerfile
Dockerfile.webp_support.dynamic
# ============================================
# 其他
# ============================================
# 临时文件
*.tmp
*.bak
*.backup
*.old
# 压缩文件
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Qdrant 缓存
.cache/
pixelpunk.playwright-mcp/