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

No packages published

Contributors 2

  •  
  •  

Languages