odysseusmax / Tg Index
Licence: gpl-3.0
Python web app to index telegram channel and serve its files for download.
Stars: ✭ 157
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Tg Index
Anydlbot
An Open Source GPLv3 All-In-One Telegram Bot
Stars: ✭ 236 (+50.32%)
Mutual labels: telegram, download
Scdlbot
Telegram Bot for downloading MP3 rips of tracks/sets from SoundCloud, Bandcamp, YouTube with tags and artwork.
Stars: ✭ 210 (+33.76%)
Mutual labels: telegram, download
Telegram Upload
Upload and download files from Telegram up to 2GiB using your account
Stars: ✭ 223 (+42.04%)
Mutual labels: telegram, download
CoubDownloader
A simple downloader for coub.com
Stars: ✭ 64 (-59.24%)
Mutual labels: download, aiohttp
MIRROR-HUNTER
Who are we? We are the Hunters of all Torrent in this world.🗡️.Fork from SlamDevs
Stars: ✭ 86 (-45.22%)
Mutual labels: telegram, download
Twitter Downloader Telegram Bot
🤖 Telegram bot for download video from twitter.
Stars: ✭ 37 (-76.43%)
Mutual labels: telegram, download
Rocketgram
Modern and powerful asynchronous telegram bot framework.
Stars: ✭ 37 (-76.43%)
Mutual labels: aiohttp, telegram
Supermovie
极光影院,BT、电驴、磁力链、种子电影下载神器,热门电影,剧集每日更新;支持小窗播放,也可投屏到电视和投影观看,投屏助手也可独立使用,投放本地所有媒体资源;这是一款汇集诸多优秀开源项目的app,同时也是技术探索和学习的最佳实践案例,更多有趣实用的功能陆续添加中,欢迎下载体验、献言献策,喜欢记得给个star噢
Stars: ✭ 151 (-3.82%)
Mutual labels: download
Pathivu
An efficient log ingestion and log aggregation system https://pathivu.io/
Stars: ✭ 146 (-7.01%)
Mutual labels: indexing
Zou
A simple and fast download accelerator, written in Rust
Stars: ✭ 145 (-7.64%)
Mutual labels: download
Telegramapiserver
Fast, simple, async php telegram api server: MadelineProto + Amp HTTP Server
Stars: ✭ 152 (-3.18%)
Mutual labels: telegram
Recipe
RECIPE : high-performance, concurrent indexes for persistent memory (SOSP 2019)
Stars: ✭ 145 (-7.64%)
Mutual labels: indexing
M3u8downloader
M3U8下载库,可以实现M3U8视频的下载,支持M3U8重定向,同时支持其他格式文件下载,例如MP4文件,目前支持kotlin、java、python3.x 三个语言版本
Stars: ✭ 145 (-7.64%)
Mutual labels: download
Telegram Kraken Bot
Python bot to trade on Kraken via Telegram
Stars: ✭ 156 (-0.64%)
Mutual labels: telegram
Magento Chatbot
Magento Chatbot Integration with Telegram, Messenger, Whatsapp, WeChat, Skype and wit.ai.
Stars: ✭ 149 (-5.1%)
Mutual labels: telegram
Telegram Index
Python Web App which indexes a telegram channel(or a chat) and serves its files for download.
Highlights
- Index one or more telegram channels/chats.
- View messages and media files on the browser.
- Search through the channel/chat.
- Download media files through browser/download managers.
Demo
Hosted demo site: https://christyroys007-tg-index.zeet.app
Deploy Guide
- Clone to local machine.
git clone https://github.com/odysseusmax/tg-index.git
cd tg-index
- Create and activate virtual environment.
pip3 install virtualenv
virtualenv venv
source venv/bin/activate
- Install dependencies.
pip3 install -U -r requirements.txt
- Environment Variables.
Variable Name | Value |
---|---|
API_ID (required) |
Telegram api_id obtained from https://my.telegram.org/apps. |
API_HASH (required) |
Telegram api_hash obtained from https://my.telegram.org/apps. |
INDEX_SETTINGS (required) |
See the below description. |
SESSION_STRING (required) |
String obtained by running $ python3 app/generate_session_string.py . (Login with the telegram account which is a participant of the given channel (or chat). |
PORT (optional) |
Port on which app should listen to, defaults to 8080. |
HOST (optional) |
Host name on which app should listen to, defaults to 0.0.0.0. |
DEBUG (optional) |
Give some value to set logging level to debug, info by default. |
BLOCK_DOWNLOADS (optional) |
Enable downloads or not. If provided, downloads will be disabled. |
RESULTS_PER_PAGE (optional) |
Number of results to be returned per page defaults to 20. |
- Setting value for
INDEX_SETTINGS
This is the general format, change the values of corresponding fields as your requirements. Remember to remove spaces.
{
"index_all": true,
"index_private":false,
"index_group": false,
"index_channel": true,
"exclude_chats": [],
"include_chats": []
}
index_all
- Whether to consider all the chats associated with the telegram account. Value should either betrue
orfalse
.index_private
- Whether to index private chats. Only considered ifindex_all
is set totrue
. Value should either betrue
orfalse
.index_group
- Whether to index group chats. Only considered ifindex_all
is set totrue
. Value should either betrue
orfalse
.index_channel
- Whether to index channels. Only considered ifindex_all
is set totrue
. Value should either betrue
orfalse
.exclude_chats
- An array/list of chat id's that should be ignored for indexing. Only considered ifindex_all
is set totrue
.include_chats
- An array/list of chat id's to index. Only considered ifindex_all
is set tofalse
.
- Run app.
python3 -m app
Contributions
Contributions are welcome.
Contact
You can contact me @odysseusmax.
License
Code released under The GNU General Public License.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].