-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,098 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
# Personal files | ||
*.session | ||
*.session-journal | ||
.vscode | ||
*test*.py | ||
setup.cfg | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
cover/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
.pybuilder/ | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# IPython | ||
profile_default/ | ||
ipython_config.py | ||
|
||
# pyenv | ||
# For a library or package, you might want to ignore these files since the code is | ||
# intended to run in multiple environments; otherwise, check them in: | ||
# .python-version | ||
|
||
# pipenv | ||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. | ||
# However, in case of collaboration, if having platform-specific dependencies or dependencies | ||
# having no cross-platform support, pipenv may install dependencies that don't work, or not | ||
# install all needed dependencies. | ||
#Pipfile.lock | ||
|
||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow | ||
__pypackages__/ | ||
|
||
# Celery stuff | ||
celerybeat-schedule | ||
celerybeat.pid | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# pytype static type analyzer | ||
.pytype/ | ||
|
||
# Cython debug symbols | ||
cython_debug/ | ||
config.py | ||
.goutputstream-VAFWB1 | ||
result.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM python:3.8-slim-buster | ||
|
||
RUN apt update && apt upgrade -y | ||
RUN apt install git -y | ||
COPY requirements.txt /requirements.txt | ||
|
||
RUN cd / | ||
RUN pip3 install -U pip && pip3 install -U -r requirements.txt | ||
RUN mkdir /EvaMaria | ||
WORKDIR /EvaMaria | ||
COPY start.sh /start.sh | ||
CMD ["/bin/bash", "/start.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
<p align="center"> | ||
<img src="assets/logo.jpg" alt="Eva Maria Logo"> | ||
</p> | ||
<h1 align="center"> | ||
<b>Eva Maria Bot</b> | ||
</h1> | ||
|
||
|
||
[](https://github.com/EvamariaTG/EvaMaria/stargazers) | ||
[](https://github.com/EvamariaTG/EvaMaria/fork) | ||
[](https://github.com/EvamariaTG/EvaMaria/) | ||
[](https://github.com/EvamariaTG/EvaMaria) | ||
[](https://github.com/EvamariaTG/EvaMaria/graphs/contributors) | ||
[](https://github.com/EvamariaTG/EvaMaria/blob/main/LICENSE) | ||
[](https://stars.medv.io/EvamariaTG/EvaMaria) | ||
|
||
|
||
## Features | ||
|
||
- [x] Auto Filter | ||
- [x] Manual Filter | ||
- [x] IMDB | ||
- [x] Admin Commands | ||
- [x] Broadcast | ||
- [x] Index | ||
- [x] IMDB search | ||
- [x] Inline Search | ||
- [x] Random pics | ||
- [x] ids and User info | ||
- [x] Stats, Users, Chats, Ban, Unban, Leave, Disable, Channel | ||
- [x] Spelling Check Feature | ||
- [x] File Store | ||
## Variables | ||
|
||
Read [this](https://telegram.dog/TeamEvamaria/12) before you start messing up with your edits. | ||
|
||
### Required Variables | ||
* `BOT_TOKEN`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token. | ||
* `API_ID`: Get this value from [telegram.org](https://my.telegram.org/apps) | ||
* `API_HASH`: Get this value from [telegram.org](https://my.telegram.org/apps) | ||
* `CHANNELS`: Username or ID of channel or group. Separate multiple IDs by space | ||
* `ADMINS`: Username or ID of Admin. Separate multiple Admins by space | ||
* `DATABASE_URI`: [mongoDB](https://www.mongodb.com) URI. Get this value from [mongoDB](https://www.mongodb.com). For more help watch this [video](https://youtu.be/1G1XwEOnxxo) | ||
* `DATABASE_NAME`: Name of the database in [mongoDB](https://www.mongodb.com). For more help watch this [video](https://youtu.be/1G1XwEOnxxo) | ||
* `LOG_CHANNEL` : A channel to log the activities of bot. Make sure bot is an admin in the channel. | ||
### Optional Variables | ||
* `PICS`: Telegraph links of images to show in start message.( Multiple images can be used separated by space ) | ||
* `FILE_STORE_CHANNEL`: Channel from were file store links of posts should be made.Separate multiple IDs by space | ||
* Check [info.py](https://github.com/EvamariaTG/evamaria/blob/master/info.py) for more | ||
|
||
|
||
## Deploy | ||
You can deploy this bot anywhere. | ||
|
||
<i>**[Watch Deploying Tutorial...](https://youtu.be/1G1XwEOnxxo)**</i> | ||
|
||
<details><summary>Deploy To Heroku</summary> | ||
<p> | ||
<br> | ||
<a href="https://telegram.dog/XTZ_HerokuBot?start=RXZhbWFyaWFURy9FdmFNYXJpYSBtYXN0ZXI"> | ||
<img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy"> | ||
</a> | ||
</p> | ||
</details> | ||
|
||
<details><summary>Deploy To VPS</summary> | ||
<p> | ||
<pre> | ||
git clone https://github.com/EvamariaTG/evamaria | ||
# Install Packages | ||
pip3 install -U -r requirements.txt | ||
Edit info.py with variables as given below then run bot | ||
python3 bot.py | ||
</pre> | ||
</p> | ||
</details> | ||
|
||
|
||
## Commands | ||
``` | ||
• /logs - to get the rescent errors | ||
• /stats - to get status of files in db. | ||
* /filter - add manual filters | ||
* /filters - view filters | ||
* /connect - connect to PM. | ||
* /disconnect - disconnect from PM | ||
* /del - delete a filter | ||
* /delall - delete all filters | ||
* /deleteall - delete all index(autofilter) | ||
* /delete - delete a specific file from index. | ||
* /info - get user info | ||
* /id - get tg ids. | ||
* /imdb - fetch info from imdb. | ||
• /users - to get list of my users and ids. | ||
• /chats - to get list of the my chats and ids | ||
• /index - to add files from a channel | ||
• /leave - to leave from a chat. | ||
• /disable - do disable a chat. | ||
* /enable - re-enable chat. | ||
• /ban - to ban a user. | ||
• /unban - to unban a user. | ||
• /channel - to get list of total connected channels | ||
• /broadcast - to broadcast a message to all Eva Maria users | ||
• /batch - to create link for multiple posts | ||
• /link - to create link for one post | ||
``` | ||
## Support | ||
[](https://telegram.dog/EvaMariaSupport) | ||
[](https://telegram.dog/TeamEvamaria) | ||
|
||
## Credits | ||
* [](https://telegram.dog/EvaMariaDevs) | ||
|
||
|
||
## Thanks to | ||
- Thanks To Dan For His Awesome [Library](https://github.com/pyrogram/pyrogram) | ||
- Thanks To Mahesh For His Awesome [Media-Search-bot](https://github.com/Mahesh0253/Media-Search-bot) | ||
- Thanks To [Trojanz](https://github.com/trojanzhex) for Their Awesome [Unlimited Filter Bot](https://github.com/TroJanzHEX/Unlimited-Filter-Bot) And [AutoFilterBoT](https://github.com/trojanzhex/auto-filter-bot) | ||
- Thanks To All Everyone In This Journey | ||
|
||
### Note | ||
|
||
[Note To A So Called Dev](https://telegram.dog/subin_works/203): | ||
|
||
Kanging this codes and and editing a few lines and releasing a V.x or an [alpha](https://telegram.dog/subin_works/204), beta , gama branches of your repo won't make you a Developer. | ||
Fork the repo and edit as per your needs. | ||
|
||
## Disclaimer | ||
[](https://www.gnu.org/licenses/agpl-3.0.en.html#header) | ||
Licensed under [GNU AGPL 2.0.](https://github.com/EvamariaTG/evamaria/blob/master/LICENSE) | ||
Selling The Codes To Other People For Money Is *Strictly Prohibited*. | ||
|
||
## Inspiration | ||
This is an attempt to create a clone of a BOAT made out of [banana trees 🌳](https://telegram.dog/GetTGLink/4187) | ||
|
||
[](https://telegra.ph/file/98342dc186fd7484cba91.mp4 "Oru Kootam Vazhakalk samarpikkunnu") |
Oops, something went wrong.