Go to file
Ponshu Developer 10f772942a feat: Implement Redis persistence for Synology Proxy rate limiting
Infrastructure Improvements:
- Add Redis container to tools/proxy/docker-compose.yml with AOF persistence
- Migrate rate limiting from in-memory to Redis-based storage
- Add TTL-based daily quota reset (expires at midnight)
- Implement health checks for Redis and Proxy containers

Proxy Server Changes (tools/proxy/server.js):
- Add redis client with async connection handling
- Replace usageStore object with Redis GET/INCR/EXPIRE operations
- Add responseMimeType: 'application/json' to Gemini client config
  (fixes Markdown response bug)
- Add comprehensive debug logging for JSON parsing issues

Flutter App Configuration:
- Change Secrets.useProxy defaultValue from false to true
- Development builds now use local Synology proxy by default
- Release builds can override with --dart-define=USE_PROXY=false

Documentation:
- Add REDIS_MIGRATION_GUIDE.md with step-by-step migration instructions
- Add tools/proxy/README.md with architecture overview
- Create .env.example template for secrets configuration
- Update PROJECT_TODO.md to mark H3 (Proxy永続化) as in progress

Dependencies:
- Add redis@^4.7.0 to package.json

This resolves the critical tech debt where rate limits reset on container restart.
Redis AOF persistence ensures quota tracking survives server reboots.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-21 19:35:59 +09:00
.github/workflows fix: Update CI Flutter version from 3.27.1 to 3.38.3 to match Dart SDK ^3.10.1 requirement 2026-02-16 10:05:44 +09:00
android fix: Correct key.properties path in build.gradle.kts and docs 2026-02-16 19:17:41 +09:00
assets v1.0.8 - Original (Ponshu Room Lite MVP Complete) 2026-01-11 17:17:29 +09:00
docs feat: Implement Redis persistence for Synology Proxy rate limiting 2026-02-21 19:35:59 +09:00
ios feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
lib feat: Implement Redis persistence for Synology Proxy rate limiting 2026-02-21 19:35:59 +09:00
linux v1.0.8 - Original (Ponshu Room Lite MVP Complete) 2026-01-11 17:17:29 +09:00
macos v1.0.8 - Original (Ponshu Room Lite MVP Complete) 2026-01-11 17:17:29 +09:00
scripts feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
test feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
tool Code Cleanup: Fix analyzer issues (unused vars, dead code, logic, pdf_service restoration) 2026-01-13 10:33:13 +09:00
tools feat: Implement Redis persistence for Synology Proxy rate limiting 2026-02-21 19:35:59 +09:00
web feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
windows v1.0.8 - Original (Ponshu Room Lite MVP Complete) 2026-01-11 17:17:29 +09:00
.cursorrules feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
.gitignore fix: Resolve all flutter analyze warnings (39 -> 0 issues) 2026-02-21 10:32:02 +09:00
.metadata v1.0.8 - Original (Ponshu Room Lite MVP Complete) 2026-01-11 17:17:29 +09:00
AI_CONSULTATION_PROMPT.md feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
AI_MASTER_ROADMAP.md docs: Update roadmap debt list and add Pro build instructions 2026-02-17 00:46:57 +09:00
README.md v1.0.8 - Original (Ponshu Room Lite MVP Complete) 2026-01-11 17:17:29 +09:00
SECURITY_SETUP.md feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
analysis_options.yaml fix: Resolve all flutter analyze warnings (39 -> 0 issues) 2026-02-21 10:32:02 +09:00
flutter_native_splash.yaml feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
l10n.yaml feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
pubspec.lock fix: Resolve all flutter analyze warnings (39 -> 0 issues) 2026-02-21 10:32:02 +09:00
pubspec.yaml fix: Resolve all flutter analyze warnings (39 -> 0 issues) 2026-02-21 10:32:02 +09:00
screenshot.png feat: enhance AI spec extraction 2026-01-16 00:53:44 +09:00

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.