KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
teledaxapi
★ 22
Open GitHub ↗
Api For Teledax Client
Download README (.md)
Explore Similar Repositories
cve-2020-16898
:
PoC BSOD for CVE-2020-16898 (badneighbor)
ui-equity-tool
:
No description available.
endsars-twitter-bot
:
Twitter Bot that likes nd retweets everything related to #EndSARS #EndNigeriaNow #EndPoliceBrutality #BuhariMustGo #EndEFCC
cl-cron
:
A simple tool that provides cron like facilities directly inside of common lisp.
pimp-my-wolt
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
teledaxapi
?
Download (.md)
# Teledax Api ## [ Check Official Repo + Web Version ](https://github.com/odysseusmax/tg-index) [](https://raw.githubusercontent.com/aryanvikash/teledaxapi/master/) [](https://raw.githubusercontent.com/aryanvikash/teledaxapi/master/LICENSE) [](https://play.google.com/store/apps/details?id=com.tele.dax) ## Deploy Guide - **Clone to local machine.** ```bash $ git clone https://github.com/aryanvikash/teledaxapi.git $ cd teledaxapi ``` - **Create and activate virtual environment.** ```bash $ pip3 install virtualenv $ virtualenv venv $ source venv/bin/activate ``` - **Install dependencies.** ```bash $ 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. | - **Setting value for `INDEX_SETTINGS`** This is the general format, change the values of corresponding fields as your requirements. ``` { "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 be `true` or `false`. > - `index_private` - Whether to index private chats. Only considered if `index_all` is set to `true`. Value should either be `true` or `false`. > - `index_group` - Whether to index group chats. Only considered if `index_all` is set to `true`. Value should either be `true` or `false`. > - `index_channel` - Whether to index channels. Only considered if `index_all` is set to `true`. Value should either be `true` or `false`. > - `exclude_chats` - An array/list of chat id's that should be ignored for indexing. Only considered if `index_all` is set to `true`. > - `include_chats` - An array/list of chat id's to index. Only considered if `index_all` is set to `false`. - **Run app.** ```bash $ python3 -m app ``` - **Other quick methods.** [](https://heroku.com/deploy?template=https://github.com/aryanvikash/teledaxApi/tree/master) [](https://repl.it/github/aryanvikash/teledaxApi) ## Contributions Contributions are welcome. ## Credit ❤️ original repo is created by [@odysseusmax](https://tx.me/odysseusmax). ## License Code released under [The GNU General Public License](LICENSE).