An open API service indexing awesome lists of open source software.

https://github.com/hoosnick/qrg-bot

Source code of @qrg_bot
https://github.com/hoosnick/qrg-bot

pytelegrambotapi telebot telegram-bot tgbot-template

Last synced: 8 months ago
JSON representation

Source code of @qrg_bot

Awesome Lists containing this project

README

          

# QR-Code Reader & Generator Bot -> @qrg_bot
**Source code of** *[@qrg_bot](https://t.me/qrg_bot)*
***
## What is a QR Code?
A Quick Response code is a two-dimensional pictographic code used for its fast readability and comparatively large storage capacity. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of any kind of data (e.g., binary, alphanumeric, or Kanji symbols)
***
## Introduction & Usage:
Bot encrypts your text, file messages into a qr code, and takes link, media files, text from qr coded images
It also works in inline mode and groups:
Inline mode: `@QRG_Bot some text`

![image](https://github.com/hoosnick/qrg-bot/assets/73847672/ad7e477d-d871-4b96-9b2f-6c002b0b8fcc)

In groups: reply with `/read` command to image(qr code)

***
## Installation:
- `git clone https://github.com/hoosnick/qrg-bot`

- Create new virtual environment (if you want):
`virtualenv -p /usr/bin/python3 venv` `. ./venv/bin/activate`

- `pip(3) install -r requirements.txt`

- Fill your details in a .env file, as given in .env.sample. (You can either edit and rename the file or make a new file named .env)

- `python(3) main.py`
***
## Credits
- [Lincoln Loop](https://github.com/lincolnloop) for [qrcode](https://github.com/lincolnloop/python-qrcode).
- [eternnoir](https://github.com/eternnoir) for [PyTelegramBotAPI](https://github.com/eternnoir/pyTelegramBotAPI).
- [coder2020official](https://github.com/coder2020official) for [pytba-templates](https://github.com/coder2020official/telebot_template).
- [theskumar](https://github.com/theskumar) for [python-dotenv](https://github.com/theskumar/python-dotenv)
- [Delgan](https://github.com/Delgan) for [loguru](https://github.com/Delgan/loguru)
- [NaturalHistoryMuseum](https://github.com/NaturalHistoryMuseum/) for [pyzbar](https://github.com/NaturalHistoryMuseum/pyzbar)

Made with 💕 by [@hoosnick](https://github.com/hoosnick)