Therapist Bot is an AI-powered therapy companion that provides emotional support and wellness guidance. Built with Next.js and integrated with both Telegram and OpenAI's GPT-4, this platform offers a supportive space for users to express themselves and receive empathetic responses.
- 🎯 24/7 AI-powered emotional support
- 🧘♀️ Personalized coping strategies
- 💡 Guided wellness techniques
- 🤖 Seamless Telegram integration
- 🎨 Beautiful, calming UI design
- 🔒 Private and secure conversations
- Next.js for Frontend
- Tailwind CSS for styling
- OpenAI API for intelligent responses
- Telegram Bot API for messaging
- Node.js for bot server
- Railway.app for bot deployment and hosting
- Daily Emotional Support
- 24/7 virtual therapist
- immediate emotional support and coping strategies.
-
Clone the repository:
git clone https://github.com/0xmetaschool/therapist-bot.git
-
Navigate to the project directory:
cd therapist-bot
-
Install dependencies:
npm install
-
Set up environment variables:
Create an.env
file in the root directory and add:TELEGRAM_BOT_TOKEN=your_telegram_bot_token OPENAI_API_KEY=your_openai_api_key
-
Deploy bot to Railway: Create an account on https://railway.com/
# Install Railway CLI npm i -g @railway/cli # Login and deploy railway login railway init railway up
-
Run the Next.js development server:
npm run dev
Visit
http://localhost:3000
to view the website.
/start
- Begin conversation with the bot/help
- Show available commands/reset
- Start a fresh conversation/resources
- Get mental health resources
This bot is not a replacement for professional mental health services. It's designed to provide supplementary support and should not be used in crisis situations.
We love contributions! Here's how you can help make the project even better:
- Fork the project (gh repo fork https://github.com/0xmetaschool/therapist-bot.git)
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
-
Build the Next.js app:
npm run build
-
Deploy the website to Vercel or your preferred platform.
-
Deploy the bot to Railway.app:
railway up
The bot will run continuously on Railway.app's servers, ensuring 24/7 availability.
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue in the GitHub repository or contact us through the website.