How abdullayevtemurmalik/shaxsiytelegramaifront works
Telegram AI (JARVIS) is a web dashboard for connecting a Telegram account and managing its AI assistant. The main workflow is: the app loads status and dashboard data, presents authentication, settings, key, chat, and log views, and sends user actions through a shared API client to the configured backend. The README also describes model, multimodal, and assistant capabilities surfaced in the settings and logs UI. Edges between the app and its rendered views are visible in the App excerpt; some tab-to-API links are based on the source index and are marked unverified.
Main entry points: App.tsx App coordinator · client.ts API client · SettingsTab.tsx Assistant settings · GeminiKeysTab.tsx Gemini keys
Components 17
Dashboard
- App coordinator
src/App.tsx - Navigation
src/components/Navbar.tsx - Status overview
src/components/StatusCard.tsx
Telegram access
- Telegram login
src/components/TelegramLoginModal.tsx - Phone input
src/components/PhoneInputWithCountry.tsx
Assistant controls
- Assistant settings
src/components/SettingsTab.tsx - Gemini keys
src/components/GeminiKeysTab.tsx - Chat controls
src/components/ChatsTab.tsx
Activity monitoring
- Activity logs
src/components/LogsTab.tsx
API and UI components
- API client
src/api/client.ts - Confirmation modal
src/components/common/ConfirmModal.tsx - Date picker
src/components/common/CustomDatePicker.tsx - Select control
src/components/common/CustomSelect.tsx - Toggle control
src/components/common/CustomToggle.tsx - JARVIS icon
src/components/common/JarvisAiIcon.tsx
Other components
- Dashboard user
- Backend API
Connections 24
- Dashboard user → App coordinator: uses
README.md - App coordinator → API client: loads data
src/App.tsx - App coordinator → Navigation: renders
src/App.tsx - App coordinator → Status overview: renders
src/App.tsx - App coordinator → Telegram login: renders
src/App.tsx - App coordinator → Assistant settings: renders
src/App.tsx - App coordinator → Gemini keys: renders
src/App.tsx - App coordinator → Chat controls: renders
src/App.tsx - App coordinator → Activity logs: renders
src/App.tsx - Telegram login → Phone input: uses
src/components/TelegramLoginModal.tsx - Assistant settings → API client: uses
src/components/SettingsTab.tsx - Gemini keys → API client: uses
src/components/GeminiKeysTab.tsx - Chat controls → API client: uses
src/components/ChatsTab.tsx - Activity logs → API client: uses
src/components/LogsTab.tsx - Status overview → API client: uses
src/components/StatusCard.tsx - API client → Backend API: requests
README.md - Assistant settings → Select control: uses
src/components/SettingsTab.tsx - Assistant settings → Toggle control: uses
src/components/SettingsTab.tsx - Assistant settings → Confirmation modal: uses
src/App.tsx - Gemini keys → Toggle control: uses
src/components/GeminiKeysTab.tsx - Gemini keys → Confirmation modal: uses
src/components/GeminiKeysTab.tsx - Chat controls → Toggle control: uses
src/components/ChatsTab.tsx - Activity logs → Date picker: uses
src/components/LogsTab.tsx - Navigation → JARVIS icon: uses
src/components/Navbar.tsx