Anonymously chat with a stranger.
- Node JS v20.10.0
- NPM v10.2.3
- nodemon lates
- MongoDB v5
Clone and install dependencies.
1. Clone this repository
git clone https://github.com/Shiyinq/anonim-chat.git
2. Navigate to the project directory
cd anonim-chat
3. Install dependencies
npm install
4. Create .env
file
cp .env.example .env
5. Fill the BOT_TOKEN
you can get token from @BotFather
6. Run the bot script
npm run dev
7. Test your bot
- Open Telegram and find the bot you created with @BotFather.
- Start a conversation with your bot to ensure it's responding correctly.
- For a more comprehensive test:
- Use two different Telegram accounts.
- Simulate a conversation between a user and your bot.
Before you begin, ensure you have Docker installed.
1. Clone the repository
git clone https://github.com/Shiyinq/anonim-chat.git
cd anonim-chat
2. Create environment files
cp .env.example .env
Open .env
file you have created and update the values.
3. Build and run the Docker containers
docker compose up --build -d
Wait a few minutes for the setup to complete, bot running on http://localhost:8080.