Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ak1ra-komj/telegram-channel-proxy
Yet another Telegram Channel Proxy.
https://github.com/ak1ra-komj/telegram-channel-proxy
cloudflare cloudflare-workers telegram telegram-channel
Last synced: 15 days ago
JSON representation
Yet another Telegram Channel Proxy.
- Host: GitHub
- URL: https://github.com/ak1ra-komj/telegram-channel-proxy
- Owner: ak1ra-komj
- License: mit
- Archived: true
- Created: 2022-09-25T18:46:29.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-26T01:21:35.000Z (about 2 years ago)
- Last Synced: 2024-07-29T17:32:18.774Z (3 months ago)
- Topics: cloudflare, cloudflare-workers, telegram, telegram-channel
- Language: TypeScript
- Homepage:
- Size: 33.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram-channel-proxy
Yet another Telegram Channel Proxy running on Cloudflare Workers.
## Quick start
* Clone this repo, `cd telegram-channel-proxy/`.
* Install `npm` dependencies, `npm install`
* If you don't have `wrangler` installed, [install it](https://developers.cloudflare.com/workers/#installing-the-workers-cli).
* `cp wrangler.toml.example wrangler.toml`, edit routes in this file.
* edit `config.domain` and `config.channel` in [src/config.ts](src/config.ts),
or config it via `env.DOMAIN`, `env.CHANNEL` environment variables.
* Run `wrangler dev` in your terminal to start a development server, or
run `wrangler publish` to publish your worker
* Add the DNS records in [Cloudflare Dashboard](https://dash.cloudflare.com/)
[Workers/Triggers/Custom Domains](https://developers.cloudflare.com/workers/platform/routing/custom-domains) for your worker.## Environment variables
* `env.DOMAIN` (default: `undefined`), your proxy domain, same domain as in routes from `wrangler.toml`.
* `env.CHANNEL` (default: `undefined`), the Telegram Channel username you want to proxy.## License
MIT