Skip to content

Netramz/TelegramProxyAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Telegram Robots Proxy

A lightweight PHP script that acts as a proxy layer between your client application and the official Telegram Bot API.
It receives incoming requests, processes them, and forwards them to the Telegram servers — useful for adding custom logging, security layers, or bypassing access restrictions.


✨ Features

  • Proxy functionality for Telegram Bot API requests
  • Easy to deploy on any server with PHP & Apache
  • Supports clean URLs via .htaccess rewrite rules
  • BSD-3-Clause licensed for flexible use

📂 Project Structure

├── index.php # Core proxy script ├── .htaccess # URL rewrite and security headers ├── LICENSE # BSD-3-Clause license └── README.md # Project documentation

🚀 Getting Started

1. Requirements

  • PHP 7.4+
  • Apache with mod_rewrite enabled

2. Installation

Clone the repository into your web server's root:

git clone https://github.com/walid-khalafi/TelegramRobotsProxy.git
cd TelegramRobotsProxy


### 3. Configuration
Edit config.php (create if not present) to set:
- Your Telegram Bot Token
- Telegram API endpoint
- Optional: IP whitelist or API Key


### 4. Deployment
Upload the project to your hosting environment and ensure .htaccess is active.


# 🛡 Security Recommendations
- Restrict access by IP or authentication
- Enable HTTPS on your server
- Log requests and mask sensitive data


#💡 Contributing
Contributions are welcome! Fork the repository, make your changes in a feature branch, and submit a Pull Request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages