https://github.com/dashezup/ezpastebot
Upload text to pastebin service ezpaste (https://ezup.dev/p), with image preview for source code highlighting
https://github.com/dashezup/ezpastebot
pyrogram pyrogram-bot python telegarm-bot
Last synced: 3 months ago
JSON representation
Upload text to pastebin service ezpaste (https://ezup.dev/p), with image preview for source code highlighting
- Host: GitHub
- URL: https://github.com/dashezup/ezpastebot
- Owner: dashezup
- License: agpl-3.0
- Created: 2021-03-31T19:38:15.000Z (about 4 years ago)
- Default Branch: dev
- Last Pushed: 2021-06-15T12:37:05.000Z (about 4 years ago)
- Last Synced: 2025-03-25T04:41:29.382Z (3 months ago)
- Topics: pyrogram, pyrogram-bot, python, telegarm-bot
- Language: Python
- Homepage: https://t.me/ezpastebot
- Size: 40 KB
- Stars: 21
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Ezpaste Bot
A Telegram bot for uploading pastes to https://ezup.dev/p/
## Requirements
- Python 3.6 or higher
- A [Telegram API key](https://docs.pyrogram.org/intro/setup#api-keys)
- A [Telegram bot token](https://t.me/botfather)## Run
Create a new `config.ini` file, copy-paste the following and replace the value
with your own.```
[pyrogram]
api_id = 1234567
api_hash = 0123456789abcdef0123456789abcdef
bot_token = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
```Run the bot
```
virtualenv venv
venv/bin/pip install -U -r requirements.txt
venv/bin/python bot.py
```## License
AGPL-3.0-or-later
```
ezpastebot, Telegram pastebin bot for https://ezup.dev/p/
Copyright (C) 2021 Dash EclipseThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
```