- backend: FastAPI + SQLAlchemy 2.0(async) + asyncpg + Alembic - 7 API routes: auth/me/articles/sources/bookmarks/subscriptions/admin - models: User/Source/Article/Bookmark/Subscription/ApiToken - services: RSS fetcher (feedparser) + Tencent TMT translator with quota + cache + local NLLB fallback - workers: APScheduler + asyncio pipeline (fetch -> dedupe -> insert -> translate) - seed scripts: create_user, seed_sources (5 RSS: Reuters/BBC/Al Jazeera/NHK/DW) - frontend: Vue 3 + Vite + Naive UI + Pinia + vue-router - pages: Login, Feed (24h), ArticleDetail, Sources, Bookmarks, AdminSources - deploy: docker-compose (postgres/redis/api/worker/frontend/caddy) - docs: README, DEPLOY, architecture, acceptance
55 lines
462 B
Plaintext
55 lines
462 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
.venv/
|
|
venv/
|
|
env/
|
|
ENV/
|
|
.pytest_cache/
|
|
.mypy_cache/
|
|
.ruff_cache/
|
|
.coverage
|
|
htmlcov/
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
|
|
# Node
|
|
node_modules/
|
|
.npm
|
|
.pnpm-store/
|
|
*.log
|
|
.npmrc.local
|
|
|
|
# 编辑器
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# 项目
|
|
.env
|
|
.env.local
|
|
*.sqlite
|
|
*.sqlite3
|
|
data/
|
|
backups/
|
|
logs/
|
|
*.log
|
|
alembic/versions/__pycache__/
|
|
|
|
# 打包产物 / 临时
|
|
*.zip
|
|
*.tar.gz
|
|
*.7z
|
|
*.bak
|
|
|
|
# 敏感
|
|
secrets/
|
|
*.pem
|
|
*.key
|