Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shiyinq/anonim-chat
🎠Anonymously chat with a stranger.
https://github.com/shiyinq/anonim-chat
anon-chat anonim-chat anonymous-chat bot telegram-bot
Last synced: 1 day ago
JSON representation
🎠Anonymously chat with a stranger.
- Host: GitHub
- URL: https://github.com/shiyinq/anonim-chat
- Owner: Shiyinq
- License: gpl-3.0
- Created: 2021-06-22T06:45:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-18T03:05:15.000Z (6 months ago)
- Last Synced: 2025-02-08T13:21:18.839Z (11 days ago)
- Topics: anon-chat, anonim-chat, anonymous-chat, bot, telegram-bot
- Language: JavaScript
- Homepage:
- Size: 1.39 MB
- Stars: 46
- Watchers: 2
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# anonim-chat
[](https://github.com/Shiyinq/anonim-chat)


|  |  |  |
|:---:|:---:|:---:|Anonymously chat with a stranger.
## Table of Contents
- [anonim-chat](#anonim-chat)
- [Table of Contents](#table-of-contents)
- [Requirements](#requirements)
- [Development](#development)
- [Deployment](#deployment)## Requirements
- Node JS v20.10.0
- NPM v10.2.3
- nodemon lates
- MongoDB v5## Development
Clone and install dependencies.**1. Clone this repository**
```
git clone https://github.com/Shiyinq/anonim-chat.git
```
**2. Navigate to the project directory**```bash
cd anonim-chat
```
**3. Install dependencies**```bash
npm install
```**4. Create `.env` file**
```base
cp .env.example .env
```**5. Fill the `BOT_TOKEN`**
you can get token from [@BotFather](https://t.me/botfather)
**6. Run the bot script**
```bash
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.## Deployment
Before you begin, ensure you have [Docker](https://docs.docker.com/engine/install/) installed.**1. Clone the repository**
```bash
git clone https://github.com/Shiyinq/anonim-chat.git
cd anonim-chat
```**2. Create environment files**
```bash
cp .env.example .env
```Open `.env` file you have created and update the values.
**3. Build and run the Docker containers**
```bash
docker compose up --build -d
```
Wait a few minutes for the setup to complete, bot running on http://localhost:8080.