just a try
Project description
🚀 AuthNex - Secure Telegram Authentication Bot
🔥 Features
- 🔐 Secure Multi-Step Login: Email + Password + OTP verification
- ⚡ Fast & Lightweight: Built on Pyrogram with async support
- 📊 Session Tracking: Monitor login timestamps & user activity
- 🧩 Modular Architecture: Easy to extend and maintain
- 🤖 Telegram Bot Integration: Friendly UX with interactive commands
🛠️ Installation
git clone https://github.com/RyomenSukuna53/AuthNex.git
cd AuthNex
pip install -r requirements.txt
---
⚙️ Configuration
Create a .env file with:
Variable Description
API_ID Your Telegram API ID
API_HASH Your Telegram API Hash
BOT_TOKEN Telegram Bot Token
MONGO_URI MongoDB connection string
Example:
API_ID=1234567
API_HASH=abcdef1234567890abcdef1234567890
BOT_TOKEN=123456789:ABCDefGhiJKlmNoPQRsTUVwxyz
MONGO_URI=mongodb+srv://user:pass@cluster0.mongodb.net/mydb
---
🤖 Usage
Start the bot
python -m AuthNex
Commands
Command Description
/login Initiate login (Email + Password + OTP)
/info Get user info by email
---
💡 Example
/login
📧 Please enter your mail to login:
user@example.com
🔐 Enter your password:
********
📨 OTP sent! Please enter it now:
12345
✅ Login verified for user@example.com
---
📱 Useful Links
---
📝 License
This project is licensed under the MIT License.
---
🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check issues page.
---
Made with ❤️ by Kuro__
---
**Explanation:**
- Stylish badges using [shields.io](https://shields.io/) (Python, License, stars, PyPI)
- Clear tables for env variables & commands
- Code blocks for commands & config samples
- Buttons linked to GitHub repo, Telegram bot, PyPI page
- Simple, clean, professional, and readable
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
authnex-0.2b0.tar.gz
(11.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
authnex-0.2b0-py3-none-any.whl
(16.6 kB
view details)
File details
Details for the file authnex-0.2b0.tar.gz.
File metadata
- Download URL: authnex-0.2b0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd04cbf796af038715b485934f7cca4e1654297bbbee3e9e561bd3b3ff3d63ca
|
|
| MD5 |
f37b8a5fa9cb06cd3e40041257345f07
|
|
| BLAKE2b-256 |
1c9012366d302f17fa786c387c10b660f6a498e02f943ba793de96d5f6c87713
|
File details
Details for the file authnex-0.2b0-py3-none-any.whl.
File metadata
- Download URL: authnex-0.2b0-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44a1b6e93e55ccf3518ce7d6a63d1bd04898953fdf01d730f8112a8466263201
|
|
| MD5 |
042fdffeadbe18a873bec95a62b889cb
|
|
| BLAKE2b-256 |
72674dbba07f4444d8e1439f3e2f1d9f214133d1a4a30efbe645f56141a1ea09
|