Customization Overview¶
TG-FileStream supports modular customization without modifying core logic.
The project is structured to allow:
- External feature injection
- Patch-based enhancements
- Optional components
Architecture Overview¶
Core
↓
Extension Loader
↓
Patches
↓
Runtime Behavior
Customization Methods¶
1. Configuration-based¶
Modify .env variables to change behavior.
2. Patch-Based¶
Inject behavior into specific lifecycle hooks.
Recommended Workflow¶
- Do NOT modify core files.
- Create a patch.
- Test locally.
- Deploy.