This commit is contained in:
2025-07-28 22:57:53 +08:00
parent c678630298
commit ecd389e48c
2 changed files with 373 additions and 0 deletions

322
.gitignore vendored Normal file
View File

@@ -0,0 +1,322 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Coverage directory used by tools like istanbul
coverage/
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
.env.production
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
public
# Storybook build outputs
.out
.storybook-out
# Temporary folders
tmp/
temp/
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
.env.production
.env.local
.env.development.local
.env.test.local
.env.production.local
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Project specific
uploads/*
!uploads/.gitkeep

51
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,51 @@
# 行為準則
## 我們的承諾
為了營造一個開放且友善的環境,我們作為貢獻者和維護者承諾,無論年齡、體型、身體殘疾、種族、性別認同和表達、經驗水平、教育、社會經濟地位、國籍、個人外表、種族、宗教或性取向和身份如何,都讓我們的專案和社群成為對每個人來說都是無騷擾的體驗。
## 我們的標準
有助於創造正面環境的行為範例包括:
* 使用友善和包容的語言
* 尊重不同的觀點和經驗
* 優雅地接受建設性批評
* 專注於對社群最有利的事情
* 對其他社群成員表現同理心
不可接受的行為範例包括:
* 使用性暗示的語言或圖像,或不受歡迎的性關注或進展
* 惡作劇、侮辱/貶損的評論,以及個人或政治攻擊
* 公開或私下的騷擾
* 在未經明確許可的情況下發布他人的私人資訊,例如實際或電子地址
* 在專業環境中可能被認為不適當的其他行為
## 我們的責任
專案維護者有責任澄清可接受行為的標準,並對任何不可接受的行為採取適當和公平的糾正行動。
專案維護者有權利和責任移除、編輯或拒絕不符合本行為準則的評論、提交、程式碼、wiki 編輯、問題和其他貢獻,並暫時或永久禁止任何貢獻者進行其他他們認為不適當、威脅、冒犯或有害的行為。
## 範圍
當個人代表專案或其社群時,本行為準則適用於專案空間和公共空間。代表專案或社群的範例包括使用官方專案電子郵件地址、透過官方社交媒體帳戶發布,或在線上或線下活動中擔任指定代表。專案的表示可以進一步由專案維護者定義和澄清。
## 執行
可以透過 [your-email@example.com] 向專案團隊報告辱罵、騷擾或其他不可接受的行為。所有投訴都將被審查和調查,並導致被認為必要和適當的回應。專案團隊有義務對報告事件的舉報人保密。具體執行政策的進一步細節可能會單獨發布。
不真誠遵守或執行行為準則的專案維護者可能會被專案領導層的其他成員暫時或永久剝奪其職位。
## 歸屬
本行為準則改編自 [Contributor Covenant](https://www.contributor-covenant.org/),版本 1.4,可在 https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 取得。
## 翻譯
本行為準則有多種語言版本:
* [English](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
* [繁體中文](CODE_OF_CONDUCT.md)
* [简体中文](https://www.contributor-covenant.org/zh-hans/version/1/4/code-of-conduct.html)