How sharlayvlad/adaptlink_support works
AdaptLink is a Telegram support-request product with a Telegram bot and a React Mini App. Users register, submit requests or suggestions, and exchange messages with an administrator after the request is accepted; administrators manage request status and conversations. The Mini App uses the Express API, while the bot also handles registration, notifications, and instruction delivery. Persistent domain data is implemented in db.js. Some subsystem details are documented in the README but their implementation was not sampled, so those relationships are shown only where documented.
Main entry points: index.js Telegram bot · App.tsx Mini App · db.js Domain data store · instructions_html HTML instructions
Components 14
User interfaces
- Mini App
apps/web/src/App.tsx
Bot and API
- Telegram bot
index.js - HTTP API
index.js - Instruction delivery
index.js
Support workflows
- Registration and roles
index.js - Request lifecycle
index.js - Suggestions
index.js - Request conversations
index.js - Notifications
index.js
Persistence and guidance
- Domain data store
db.js - HTML instructions
instructions_html
Other components
- User
- Administrator
- Telegram
Connections 20
- User → Telegram: uses
README.md - Telegram → Telegram bot: sends updates
README.md - User → Mini App: opens
README.md - Administrator → Mini App: manages requests
README.md - Mini App → HTTP API: calls
apps/web/src/App.tsx - Telegram bot → Registration and roles: handles registration
index.js - HTTP API → Registration and roles: serves registration
README.md - Telegram bot → Request lifecycle: handles requests
index.js - HTTP API → Request lifecycle: serves request actions
index.js - Telegram bot → Suggestions: accepts suggestions
README.md - HTTP API → Suggestions: serves suggestions
README.md - HTTP API → Request conversations: serves messages
index.js - Telegram bot → Notifications: sends alerts
index.js - HTTP API → Notifications: notifies users
README.md - Telegram bot → Domain data store: uses
index.js - HTTP API → Domain data store: reads and writes
index.js - Telegram bot → Instruction delivery: routes instruction requests
index.js - HTTP API → Instruction delivery: serves instructions
index.js - Instruction delivery → HTML instructions: sends HTML files
index.js - Telegram bot → Telegram: sends messages
README.md