This project is a web application for psychological analysis of Telegram users. It consists of a server component with a Telegram bot that analyzes messages, and a client web interface for viewing the analysis results.
- Telegram bot integration for message collection and analysis
- AI-powered psychological profiling using Mistral AI
- User authentication system
- Dashboard with statistics and user activity
- Message history viewing
- User profiles with psychological analysis
- Docker and Docker Compose
- Node.js (for local development)
- Telegram Bot Token (from BotFather)
- Mistral API Key
Create a .env file in the root directory with the following variables:
BOT_TOKEN= MISTRAL_API_KEY= JWT_SECRET=
Clone the repository:
git clone https://github.com/yourusername/psycho-analysis.gitThe application will be available at:
Client: http://localhost:5173 Server API: http://localhost:3000
Navigate to the server directory:
Create a .env file in the server directory with the required environment variables. Start the development server:
docker-compose up --buildNavigate to the client directory:
cd clientInstall dependencies:
npm installStart the development server:
npm run devProject will be available at:
Login: admin Password: admin