Metadata-Version: 2.1
Name: wldhx-git-send-telegram
Version: 0.1.2
Summary: Your git send-email for 2023!
Home-page: https://git.sr.ht/~wldhx/git-send-telegram
License: AGPL-3.0-or-later
Author: wldhx
Author-email: wldhx+pypi_python_org@wldhx.me
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: gitpython (>=3.1.29,<4.0.0)
Requires-Dist: pyrogram (>=2.0.64,<3.0.0)
Requires-Dist: tgcrypto (>=1.2.5,<2.0.0)
Project-URL: Repository, https://git.sr.ht/~wldhx/git-send-telegram
Description-Content-Type: text/markdown

# git send-telegram

your git send-email for 2023!

## Setup

- Obtain API credentials from <https://core.telegram.org/api/obtaining_api_id>
- Set credentials:
  ```
  git config sendtelegram.apiid <api_id>
  git config sendtelegram.apihash <api_hash>
  ```
- Set session string:
  ```
  TELEGRAM_API_ID=<api_id> TELEGRAM_API_HASH=<api_hash> ./export-session-string.py
  git config sendtelegram.sessionstring <session_string>
  ```

You're good to go, let's get those patches a-sending!

`git send-telegram --to torvalds HEAD^!`

