## 概要 Gemini APIへのリクエストを中継するプロキシサーバーを実装。 アプリにAPIキーを埋め込まず、Synology上で安全に管理。 ## 主な機能 - デバイスID認証(SHA256ハッシュ) - レート制限(1デバイスあたり1日10回) - 使用状況のログ記録(JSON形式) - 30日以上前のデータ自動削除 ## 技術スタック - Python 3.11 + FastAPI - Docker Container(既存のGitea環境に追加) - ポート8080で公開 ## ファイル構成 - tools/synology/ai-proxy/server.py - プロキシサーバー本体 - tools/synology/ai-proxy/requirements.txt - Python依存関係 - tools/synology/docker-compose.yml - ai-proxyサービス追加 - tools/synology/.env.example - 環境変数テンプレート - tools/synology/DEPLOYMENT_GUIDE.md - デプロイ手順書 ## セキュリティ - .env ファイルは.gitignoreで除外(APIキー保護) - 環境変数でAPIキー管理(コードに埋め込まない) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .github/workflows | ||
| android | ||
| assets | ||
| ios | ||
| lib | ||
| linux | ||
| macos | ||
| test | ||
| tool | ||
| tools/synology | ||
| web | ||
| windows | ||
| .gitignore | ||
| .metadata | ||
| ANTIGRAVITY_PROMPT.md | ||
| CommonSpecification.md | ||
| CommonSpecification_bk.md | ||
| CommonSpecification_gemini.md | ||
| FINAL_REQUIREMENTS.md | ||
| GEMINI_PRO_SETUP.md | ||
| README.md | ||
| README_SYNOLOGY.md | ||
| START_HERE.md | ||
| START_HERE_FINAL.md | ||
| UI_UX_DECISION_GUIDE.md | ||
| analysis_options.yaml | ||
| analysis_output.txt | ||
| keytool_output.txt | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| walkthrough.md | ||
README.md
ponshu_room_lite
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.