Go to file
2019-11-04 00:47:04 +00:00
config Initial Commit 2019-08-08 09:50:07 +02:00
.gitignore Initial Commit 2019-08-08 09:50:07 +02:00
authview.py Fix 2FA, now tested 2019-09-13 21:16:34 +02:00
commandline.py Add stdinput detection, remove commandline flag 2019-08-12 15:40:55 +02:00
drawtool.py Add edits 2019-08-21 23:04:13 +02:00
emojis.py Initial Commit 2019-08-08 09:50:07 +02:00
interactive.py Move sessionfile to .config/tttc 2019-08-08 16:03:43 +02:00
mainview.py Remove dead code, improve notifications 2019-10-31 23:56:18 +01:00
README.md Update 'README.md' 2019-11-04 00:47:04 +00:00
resources.py Initial Commit 2019-08-08 09:50:07 +02:00
tttc.py Move sessionfile to .config/tttc 2019-08-08 16:03:43 +02:00
tttcutils.py Move sessionfile to .config/tttc 2019-08-08 16:03:43 +02:00

TTTC, the telegram client

TTTC is an unofficial Telegram commandline client. It aims to provide a user experience similar to that of VIM.

Requirements

TTTC uses the curses and telethon python libraries. Curses is usually shipped with your python installation, but telethon can easily be installed via pip.

In order to use TTTC, you will need your own Telegram api_id and api_hash. You can read more about how to get them here.

Once you obtained your own api key and hash, you need to set them as your environment variables TTTC_API_ID and TTTC_API_HASH, respectively.

The client can be run with python3 tttc.py.

Keybindings

Currently, there is no way of changing the keybindings in a config. This is subject to change in a future update.

The default key bindings are

Key Function
i Enter insert mode (to compose a message)
y, Return Send message
Esc Cancel, Exit current mode
c/C Previous/Next Dialog
E Toggle emoji ASCII display
n e Edit message n (ESC to open prompt to save changes)
n r Reply to message n (submit draft)
n d Delete message n
/ enter search mode
n/N Previous/Next search result
Q exit TTTC
q r Record macro into register r