How jonathanbbispo/tcc works
CommuniHub centralizes Telegram and Signal conversations: users register or sign in, connect channels, synchronize chats, then review and manage messages in one interface. The React app routes account and conversation screens through a shared API client to the FastAPI backend, which persists users, accounts, and conversations. The repository also contains a Go Signal API/client implementation, but the supplied evidence does not establish how it is wired to the backend; that integration is shown as unverified. Backend internals beyond the excerpts are represented only where documented or indexed.
Main entry points: App.tsx Application shell · api.ts HTTP API client · app.py REST endpoints · EditarPerfil.tsx Profile and channels
Components 25
Web application
- Application shell
frontend/src/App.tsx - Account screens
frontend/src/screens/Cadastro.tsx - Login screen
frontend/src/screens/Login.tsx - Credential recovery
frontend/src/screens/EsqueciSenha.tsx - Password reset
frontend/src/screens/RedefinirSenha.tsx - Profile screen
frontend/src/screens/Perfil.tsx - Profile and channels
frontend/src/screens/EditarPerfil.tsx - Telegram connection
frontend/src/components/ConectarTelegram.tsx - Signal connection
frontend/src/components/ConectarSignal.tsx - Conversation workspace
frontend/src/screens/Conversa.tsx - Message rendering
frontend/src/components/BolhaMensagem.tsx - HTTP API client
frontend/src/api.ts - Channel metadata
frontend/src/redesSociais.ts
Backend services
- REST endpoints
backend/app.py - Domain records
backend/models_db.py - Request payloads
backend/models_payload.py - Application database
Signal API
- Signal API process
signal-api/src/main.go - Signal API handlers
signal-api/src/api/api.go - Signal client
signal-api/src/client/client.go - Signal data types
signal-api/src/datastructs/datastructs.go - Plugin loading
signal-api/src/plugin_loader.go
Other components
- Platform user
- Telegram service
- Signal service
Connections 32
- Platform user → Application shell: uses
- Application shell → Account screens: routes to
frontend/src/App.tsx - Application shell → Login screen: routes to
frontend/src/App.tsx - Application shell → Credential recovery: routes to
frontend/src/App.tsx - Application shell → Password reset: routes to
frontend/src/App.tsx - Application shell → Profile screen: routes to
frontend/src/App.tsx - Application shell → Profile and channels: routes to
frontend/src/App.tsx - Application shell → Conversation workspace: routes to
frontend/src/App.tsx - Application shell → HTTP API client: synchronizes chats
frontend/src/App.tsx - Account screens → HTTP API client: registers via
frontend/src/screens/Cadastro.tsx - Login screen → HTTP API client: authenticates via
frontend/src/screens/Login.tsx - Credential recovery → HTTP API client: requests recovery
frontend/src/screens/EsqueciSenha.tsx - Password reset → HTTP API client: resets password
frontend/src/screens/RedefinirSenha.tsx - Profile and channels → HTTP API client: updates profile
frontend/src/screens/EditarPerfil.tsx - Profile and channels → Telegram connection: renders
frontend/src/screens/EditarPerfil.tsx - Profile and channels → Signal connection: renders
frontend/src/screens/EditarPerfil.tsx - Telegram connection → HTTP API client: links account
frontend/src/components/ConectarTelegram.tsx - Signal connection → HTTP API client: requests QR
frontend/src/components/ConectarSignal.tsx - Conversation workspace → HTTP API client: loads and edits
frontend/src/screens/Conversa.tsx - Conversation workspace → Message rendering: renders messages
frontend/src/screens/Conversa.tsx - Conversation workspace → Channel metadata: interprets channels
frontend/src/screens/Conversa.tsx - HTTP API client → REST endpoints: HTTP requests
- REST endpoints → Domain records: uses records
backend/app.py - REST endpoints → Request payloads: validates payloads
backend/app.py - REST endpoints → Application database: reads and writes
- REST endpoints → Telegram service: sends messages
backend/app.py - REST endpoints → Signal service: dispatches Signal
- Signal API process → Signal API handlers: starts handlers
- Signal API handlers → Signal client: uses client
- Signal API handlers → Signal data types: uses types
- Signal API process → Plugin loading: loads plugins
- Signal service → Signal API process: may use