This bot allows you to generate readable passwords directly from Telegram without necessity to open external utilities such as KeePass. An inspiration for this bot came from famous XKCD 936 strip.
Try it now: https://t.me/passgenbot
- Presets of different complexity
- Ability to generate customized password
- Inline mode with colored complexity
- No personal data is collected!
- Basic multilanguage support (En+Ru), depending on
language_code
from Bot API
Don't forget to rename config.example.py
to config.py
and put your data instead of stubs.
- Python 3.7+
- aiogram – Awesome Telegram Bot API framework
- TinyDB – Simple and pretty fast document-oriented DB
- XKCD-password-generator – It goes without saying :)
You can install all these requirements with pip install -r requirements.txt
command.
/generate_weak
– 2 words, no separators between words
/generate_normal
– 3 words, no separators between words, second word is CAPITALIZED
/generate_strong
– 3 words, random CAPITALIZATION, random number as separator between words
/generate_stronger
– Same as "strong", but using 4 words
/generate_insane
– 4 words, second one CAPITALIZED, separators, prefixes and suffixes
With /settings
command you can customize generated passwords. Currently supported settings are number of words (2 to 8), prefixes and suffices in the beginning and in the end of password and separators between words in password. Then just use /generate
command to create password based on your settings.
You can also use this bot in inline mode. An indicator on the left shows rough password complexity (green is good, red is not).