How dglink25/palabre works
Palabre is a secure, organization-oriented communications platform with a central API, web clients, real-time services, encrypted file handling, and an AI customer-support and reporting service. The main user journey runs through the web app into backend authentication and organization membership, then into messaging, calls, or video. Developers also have a separate portal for API projects and webhooks. Edges reflect shown imports, calls, or README descriptions; several backend and real-time subsystems are represented from documented capabilities and the file tree, not inspected implementation.
Main entry points: App.jsx Web application · db.js PostgreSQL · main.py AI service API · auth.service.js Authentication service
Components 24
Client applications
- Web application
frontend/web/src/App.jsx - Developer portal
frontend/developer/src/App.jsx
Identity and organizations
- REST API
backend/src/app.js - Authentication routes
backend/src/modules/auth/auth.routes.js - Authentication service
backend/src/modules/auth/auth.service.js - Session authorization
backend/src/middleware/authMiddleware.js - Organization onboarding
backend/src/modules/onboarding/onboarding.routes.js - Organization membership
backend/src/modules/org/org.routes.js - PostgreSQL
backend/src/config/db.js
Communication features
- Conversations and messages
backend/src/modules/messaging/conversations.routes.js - Calls and signaling
backend/src/modules/calls/calls.routes.js - Video conferencing
backend/src/modules/videoconference/videoconference.service.js - Session reports
backend/src/modules/reports/report.service.js - Developer API services
backend/src/modules/developer/proxy.routes.js
Realtime and files
- Message router
services/message-router/lib/message_router/router.ex - Presence service
services/presence/lib/presence/application.ex - Encrypted file service
services/file-server/src/app.js
AI support
- AI service API
ai/app/main.py - AI chat and IVR
ai/app/chat.py - Knowledge base
ai/app/kb.py - Retrieval and generation
ai/app/rag.py - AI meeting reports
ai/app/meetings.py - AI data access
ai/app/db.py
Other components
- Organization user
Connections 33
- Organization user → Web application: uses
README.md - Web application → Authentication routes: authenticates via
- Web application → Organization onboarding: onboards via
- Web application → Conversations and messages: communicates via
- Web application → Calls and signaling: calls via
- Web application → Video conferencing: joins via
- Web application → Developer API services: uses
- Authentication routes → Authentication service: calls
backend/src/modules/auth/auth.routes.js - Authentication routes → Session authorization: uses
backend/src/modules/auth/auth.routes.js - Authentication service → PostgreSQL: queries
backend/src/modules/auth/auth.service.js - Authentication service → Presence service: updates
backend/src/modules/auth/auth.service.js - Authentication service → Session authorization: arms timeout
backend/src/modules/auth/auth.service.js - Session authorization → PostgreSQL: checks user
backend/src/middleware/authMiddleware.js - Session authorization → Presence service: sets offline
backend/src/middleware/authMiddleware.js - Session authorization → Organization membership: checks session
backend/src/modules/org/org.routes.js - Organization onboarding → Authentication service: issues session
backend/src/modules/onboarding/onboarding.routes.js - Organization membership → PostgreSQL: queries
backend/src/modules/org/org.routes.js - Conversations and messages → PostgreSQL: queries
backend/src/modules/messaging/conversations.routes.js - Conversations and messages → Developer API services: notifies webhooks
backend/src/modules/messaging/conversations.routes.js - Conversations and messages → Encrypted file service: uploads media
- Calls and signaling → Message router: signals via
- Calls and signaling → Presence service: uses
- Video conferencing → PostgreSQL: queries
backend/src/modules/videoconference/videoconference.service.js - Video conferencing → Session reports: requests reports
backend/src/modules/videoconference/videoconference.service.js - Encrypted file service → PostgreSQL: stores metadata
- AI service API → AI chat and IVR: dispatches chat
ai/app/main.py - AI service API → Knowledge base: dispatches KB
ai/app/main.py - AI service API → AI meeting reports: dispatches meetings
ai/app/main.py - AI chat and IVR → Retrieval and generation: retrieves context
ai/app/chat.py - Retrieval and generation → AI data access: reads data
ai/app/rag.py - AI service API → AI data access: initializes storage
ai/app/main.py - Developer portal → Developer API services: manages projects
- AI service API → REST API: integrates with