https://github.com/simatwa/tele-bard
Bard on Telegram
https://github.com/simatwa/tele-bard
Last synced: about 1 year ago
JSON representation
Bard on Telegram
- Host: GitHub
- URL: https://github.com/simatwa/tele-bard
- Owner: Simatwa
- Created: 2023-12-09T09:24:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-13T09:19:34.000Z (over 2 years ago)
- Last Synced: 2025-03-23T13:22:30.541Z (about 1 year ago)
- Language: Python
- Size: 20.5 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tele-Bard
> Interact with [Bard](https://bard.google.com) on [Telegram](https://telegram.org)
## Installation & Usage
### Installation
[Python](https://python.org) >= 3.10 is required.
```
git clone https://github.com/Simatwa/tele-bard.git
cd tele-bard
pip install -r requirements.txt
```
## Usage
Get bard session from https://bard.google.com as detailed in [GoogleBard](https://github.com/acheong08/bard).
Create a Telegram bot using [BotFather](https://telegram.me/BotFather) in order to obtain a **Bot Token**.
Use those credentials to fill the [env](env) file and rename the file to `.env`
Start the bot `python main.py` and then start new chat with the app.
Send `/myId` for the bot to reply you with your **user_id** and then include the Id to the `.env` file.
> **Note** : If you want the bot to be accessed by multiple users. Include their `user_id` to the `.env` file separated by comma (`,`)
## Conclusion
- For hosting I recommend hosting with [pythonanywhere.com](https://pythonanywhere.com)
Made with ❤️