Metadata-Version: 2.1
Name: thangar
Version: 0.0.4
Summary: UNKNOWN
Home-page: UNKNOWN
Author: Oskar Sharipov
Author-email: oskarsh@riseup.net
License: Apache License Version 2.0
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: SQLAlchemy (==1.4.14)
Requires-Dist: pydantic (==1.8.1)
Requires-Dist: typer (==0.3.2)
Requires-Dist: rich (==10.1.0)
Requires-Dist: Telethon (==1.21.1)

.. image:: https://ipfs.io/ipfs/QmeByEj99cRBRHZnNMGov98DXctf4cUMfX4ywsPD1QYpWY

=======
thangar
=======

.. image:: https://badge.fury.io/py/thangar.svg
    :target: https://pypi.org/project/thangar

Hangar of Telegram accounts.

Have you ever had more accounts than Telegram client allows to store at the
same time? I have. So I build this little script which does:

1. kind of "park" new accounts,
2. store secret tokens in database,
3. show last service message from Telegram to let you log in through normal client.

Try it out yourself!

Installation
------------

::

    python -m pip install thangar

Usage
-----

::

    export API_ID=...  # get from https://my.telegram.org/apps
    export API_HASH=...  # ^^
    thangar [OPTIONS] COMMAND [ARG]

Example
-------

::

	% thangar track

							  Accounts
	┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
	┃ Id         ┃ Name           ┃ Phone       ┃ Username     ┃
	┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
	│ 1234567890 │ Oskar Sharipov │ +7123456789 │ oskar        │
	│ 1297676593 │ Oskar Again    │ +3456776543 │ oskar2       │
	│ 1578935718 │ Bobby          │ +1212123421 │ FlamingoSays │
	└────────────┴────────────────┴─────────────┴──────────────┘

Use "``thangar --help``" for more information.

Tip
---

Export environment variables in a ``~/.zshenv`` or other shell file!


