How suppliedorange/valorant-instalocker works
Key Components to Include:
Frontend Layer
• Web-based GUI (using Eel framework)
• Components:
• HTML/CSS interface (web/index.html, web/css/)
• Client-side JavaScript (web/js/index.js)
• Assets (images, fonts)
• Agent configuration (web/json/agents.json)
Backend Layer
• Python application (main.py)
• Valclient integration for VALORANT API communication
• Eel server for web-GUI communication
External Systems
• VALORANT Game Client
• VALORANT API
[Frontend Layer]
• (Eel WebSocket)
• v
[Backend Layer] <-----> [VALORANT API]
• v
• [VALORANT Client]
Specific Design Elements:
Interactions
• WebSocket connection between Frontend and Backend
• Data flow from agents.json to the Frontend
• Agent selection flow from Frontend → Backend → VALORANT API
Important Architectural Notes:
Event-driven nature
• Agent selection events
• Pre-game detection
• Instalocking mechanism
Error handling flow
• API error detection
• Error propagation to UI
Configuration flow
• Agent data loading
• Settings management
Additional Considerations:
• The 3-second refresh cycle
• Instalock sequence
• Error handling sequence
A small deployment view showing
• Python runtime environment
• Chrome/Browser requirement
• VALORANT client prerequisite