Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7aaead1
feat: add new snippets and fixed grammar
W1xced-io Mar 6, 2026
909db1b
feat: add 2 utils
W1xced-io Mar 6, 2026
05469e8
feat: manager for bot
W1xced-io Mar 6, 2026
dec9b25
feat: add support utils and manager
W1xced-io Mar 6, 2026
d88d4a8
feat: Update requirements
W1xced-io Mar 6, 2026
aabdf7e
feat: Update Readme
W1xced-io Mar 6, 2026
2c40734
feat: add .env
W1xced-io Mar 6, 2026
82cc6e1
feat: Added error handling for query.answer
W1xced-io Mar 9, 2026
c3e4e29
feat: Added locks refresh_cache functions
W1xced-io Mar 9, 2026
fd374ba
feat: Remove old urls
W1xced-io Mar 9, 2026
bc76615
feat: Remove checked old urls
W1xced-io Mar 9, 2026
5b5febd
fix: resolve live log freezing and escape rich markup
W1xced-io Mar 9, 2026
e881de4
feat: remove all old URL
W1xced-io Mar 12, 2026
d215f00
feat: use persistent AsyncClient to reduce TCP connections
W1xced-io Mar 12, 2026
78aa4ac
Refactor: simplify terminology and CLI interface
W1xced-io Mar 23, 2026
1638303
feat: add /clients handler and inline mode integration
W1xced-io Mar 23, 2026
1ebc2f3
feat: add API parsing for clients and remove emojis
W1xced-io Mar 23, 2026
f9160cf
feat: add downtime monitor, /help command and administrative config
W1xced-io Mar 23, 2026
d7f70c7
feat: implement detailed client info and changelog commands
W1xced-io Mar 23, 2026
53ef1b5
xd
W1xced-io Mar 23, 2026
adb653c
feat: fixed type /start
W1xced-io Mar 23, 2026
ef9f876
feat: Description
W1xced-io Mar 23, 2026
da67053
feat: add folder webapp
W1xced-io Mar 24, 2026
0bfa51f
feat: Add webapp
W1xced-io Mar 24, 2026
7794c49
feat: add support miniapp
W1xced-io Mar 24, 2026
40fa9a6
feat: add WEBAPP_URL
W1xced-io Mar 24, 2026
3f4cf12
feat: add auto-update webapp tunnel
W1xced-io Mar 24, 2026
5380c27
fixed: auto close logs bot
W1xced-io Mar 24, 2026
23332a7
feat: remove ok from webapp
W1xced-io Mar 30, 2026
794659c
Add mini-app
W1xced-io Mar 30, 2026
f86d279
docs: add README with CLI and Mini App screenshots
W1xced-io Mar 30, 2026
2a33786
add: folder for photo
W1xced-io Mar 30, 2026
2f9577d
feat: add photo main.png, miniapp.png, stat.png
W1xced-io Mar 30, 2026
8813d4c
fixed: width="400"
W1xced-io Mar 30, 2026
393f029
xd
W1xced-io Mar 30, 2026
847456d
sad
W1xced-io Apr 6, 2026
92c9b2b
Sad x2
W1xced-io Apr 6, 2026
66aa0f6
feat: fixed static client, add new server check
W1xced-io May 22, 2026
c67195d
1
W1xced-io May 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BOT_TOKEN= Your token
WEBAPP_URL=
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,42 @@
# CollapseBot-Telegram
Our telegram bot

A simple and efficient Telegram bot built with Python.

## How to Create & Run

### 1. Create a Bot via BotFather
1. Open Telegram and search for **@BotFather**.
2. Send the command `/newbot`.
3. Enter a name for your bot (e.g., `CollapseBot`).
4. Create a username for your bot (must end in `bot`, e.g., `collapse_test_bot`).
5. BotFather will send you an **HTTP API Token**. Copy it.

### 2. Configure Settings
1. In BotFather, type `/mybots`.
2. Select your bot.
3. Go to **Bot Settings** > **Inline Mode** and turn it **ON** (if required).

### 3. Setup Local Environment
1. Clone this repository.
2. Create a file named `.env` in the root directory.
3. Paste your API Token into the `.env` file:
```env
BOT_TOKEN=your_copied_api_token_here

### CLI Design main menu

<div align="center">
<img src="assets/main.png" width="900"/>
</div>

### CLI Design statistics

<div align="center">
<img src="assets/stat.png" width="900"/>
</div>

### Design mini app

<div align="center">
<img src="assets/miniapp.png" width="400"/>
</div>
1 change: 1 addition & 0 deletions assets/.assets_photo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file added assets/main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/miniapp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/stat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
load_dotenv()

BOT_TOKEN = os.getenv("BOT_TOKEN")
ADMIN_ID = os.getenv("ADMIN_ID")

if not BOT_TOKEN:
raise ValueError(
Expand Down
Loading