Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adrian-kalinin/CheckNicknameBot
Telegram bot where you can check the availability of nicknames in various social networks
https://github.com/adrian-kalinin/CheckNicknameBot
Last synced: 3 months ago
JSON representation
Telegram bot where you can check the availability of nicknames in various social networks
- Host: GitHub
- URL: https://github.com/adrian-kalinin/CheckNicknameBot
- Owner: adrian-kalinin
- License: mit
- Created: 2019-10-26T18:45:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-10T18:14:35.000Z (5 months ago)
- Last Synced: 2024-06-28T10:31:24.462Z (5 months ago)
- Language: Python
- Homepage: https://t.me/CheckNicknameBot
- Size: 205 KB
- Stars: 16
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CheckNicknameBot
Telegram bot that checks if an username is available in social networks.# User Usage
Everything is pretty simple – just send an username to the bot; or press the button if you want to check your own.
![Example](https://github.com/adreex/CheckNicknameBot/blob/master/resources/example_en.png)
# Admin Usage
There are some features for admins of the bot. Firt off all, you should enter `/admin` command. Then you can check statistics and restart the bot.
![Admin panel](https://github.com/adreex/CheckNicknameBot/blob/master/resources/readme_admin.png)
One more great feature is the possibility to send a message to all the users.
![Mailing](https://github.com/adreex/CheckNicknameBot/blob/master/resources/readme_mailing.png)
# Deployment
### Configurate `config.py`:
Create a new Telegram Bot at t.me/BotFather and get the token of your bot, then put it as `token` variable.
Then you can enter for `admins` some ids of users who can use the admins' commands.
Fill your `host` (server's ip) and `port` (443, 80, 88 or 8443).### Generate quick'n'dirty SSL certificate (in terminal):
`openssl genrsa -out webhook_pkey.pem 2048`
`openssl req -new -x509 -days 3650 -key webhook_pkey.pem -out webhook_cert.pem`
Attention! When asked for "Common Name (e.g. server FQDN or YOUR name)" you should reply with the same value as your server's ip addres.
### Create virtual environment for Python and install all requiremetns (in terminal):
`virtualenv venv --python=python3`
`source venv/bin/activate`
`pip install -r requiremetns.txt`
Just enter `python main.py` in your terminal.