Telegram github mac os

Telegram github mac os

Telegram terminal client.

  • view mediafiles: photo, video, voice/video notes, documents
  • ability to send pictures, documents, audio, video
  • reply, edit, forward, delete, send messages
  • stickers
  • notifications
  • record and send voice msgs
  • auto download files
  • toggle chats: pin/unpin, mark as read/unread, mute/unmute
  • message history
  • list contacts
  • show user status
  • secret chats
  • search
  • bots (bot keyboard)

To use tg, you’ll need to have the following installed:

  • terminal-notifier — for Mac (used by default). You can change it to dunst for Linux or any other notifications program (see NOTIFY_CMD in configuration)
  • ffmpeg — to record voice msgs and upload videos.
  • tdlib — in case of incompatibility with built in package. For example, macOS:

This option is recommended for production:

This option is recommended for development:

Note that voice recordings and notifications won’t work when using Docker.

If you’re using Arch Linux, you can install tg through its AUR package:

If you’re using the yay AUR helper, you can install the package with:

If you want to use the latest developement version via the AUR you can find it here

Config file should be stored at

/.config/tg/conf.py . This is simple python file.

All configurable variables can be found here

Mailcap file is used for deciding how to open telegram files (docs, pics, voice notes, etc.). Path to the file can be overriden with MAILCAP_FILE in config file.

vi like keybindings are used in the project. Can be used commands like 4j — 4 lines down.

For navigation arrow keys also can be used.

  • j,k : move up/down
  • J,K : move 10 chats up/down
  • g : go to top chat
  • l : open msgs of the chat
  • m : mute/unmute current chat
  • p : pin/unpin current chat
  • u : mark read/unread
  • r : read current chat
  • c : show list of contacts
  • dd : delete chat or remove history
  • ng : create new group chat
  • ns : create new secret chat
  • / : search in chats
  • ? : show help
  • j,k : move up/down
  • J,K : move 10 msgs up/down
  • G : move to the last msg (at the bottom)
  • D : download file
  • l : if video, pics or audio then open app specified in mailcap file, for example:

Run script to automatically increase version and release

Источник

Telegram Desktop

Repositories

tdesktop Public

Telegram Desktop messaging app

7 Updated Oct 8, 2021

openal-soft Public

OpenAL Soft is a software implementation of the OpenAL 3D audio API.

0 Updated Sep 28, 2021

libtgvoip Public

VoIP library for Telegram clients

2 Updated Sep 17, 2021

opus Public

libopus for VS2015 and ffmpeg build

0 Updated Aug 31, 2021

docker_linux_build Public archive

Contains the Dockerfiles to easily build Telegram Desktop.

2 Updated Oct 29, 2020

tgvoip-test-suite Public

1 Updated Mar 11, 2020

dependencies_windows Public

Compiled dependencies for the windows build

0 Updated Nov 7, 2019

zlib Public

zlib for Telegram Desktop

0 Updated Jul 25, 2019

crl Public

Concurrency Runtime Library for Telegram Desktop

0 Updated Jul 18, 2019

nimf Public

nimf Qt5 Input method plugins for tdesktop

Читайте также:  Arch linux no such file or directory

1 Updated Jul 4, 2019

qtlottie Public

0 Updated Jun 24, 2019

gyp Public

GYP is a Meta-Build system: a build system that generates other build systems.

0 Updated Apr 4, 2019

lzma Public

LZMA SDK for Telegram Desktop

0 Updated Apr 3, 2019

hime Public

0 Updated Sep 6, 2017

fcitx Public

0 Updated Sep 6, 2017

libexif-0.6.20 Public

libexif version 0.6.20 for visual studio 2013

0 Updated Oct 19, 2015

openssl-xcode Public

XCode project structure that can be used to build openssl static libraries

0 Updated Jun 26, 2014

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Telegram github mac os

Telegram messenger CLI

Command-line interface for Telegram. Uses readline interface.

API, Protocol documentation

Documentation for Telegram API is available here: http://core.telegram.org/api

Documentation for MTproto protocol is available here: http://core.telegram.org/mtproto

Upgrading to version 1.0

First of all, the binary is now in ./bin folder and is named telegram-cli. So be careful, not to use old binary.

Second, config folder is now $/.telegram-cli

Third, database is not compatible with older versions, so you’ll have to login again.

Fourth, in peer_name ‘#’ are substitued to ‘@’. (Not applied to appending of ‘#%d’ in case of two peers having same name).

Clone GitHub Repository

Python support is currently limited to Python 2.7 or Python 3.1+. Other versions may work but are not tested.

Install libs: readline, openssl and (if you want to use config) libconfig, liblua, python and libjansson. If you do not want to use them pass options —disable-libconfig, —disable-liblua, —disable-python and —disable-json respectively.

On Ubuntu/Debian use:

Other methods to install on linux

On Gentoo: use ebuild provided.

The client depends on readline library and libconfig, which are not included in OS X by default. You have to install these libraries manually.

Thanks to @jfontan for this solution.

Install these ports:

  • devel/libconfig
  • devel/libexecinfo
  • lang/lua52

If you manage to launch it on other UNIX, please let me know.

If you would like to ask a question, you can write to my telegram or to the github (or both). To contact me via telegram, you should use import_card method with argument 000653bf:0738ca5d:5521fbac:29246815:a27d0cda

By default, the public key is stored in tg-server.pub in the same folder or in /etc/telegram-cli/server.pub. If not, specify where to find it:

Client support TAB completion and command history.

Peer refers to the name of the contact or dialog and can be accessed by TAB completion. For user contacts peer name is Name Lastname with all spaces changed to underscores. For chats it is it’s title with all spaces changed to underscores For encrypted chats it is Name Lastname with all spaces changed to underscores.

If two or more peers have same name, number is appended to the name. (for example A_B, A_B#1, A_B#2 and so on)

Text — sends message to this peer

  • fwd — forward message to user. You can see message numbers starting client with -N
  • chat_with_peer

    starts one on one chat session with this peer. /exit or /quit to end this mode.
    add_contact

    Читайте также:  Grub repair from windows

    — tries to add contact to contact-list by phone

  • rename_contact — tries to rename contact. If you have another device it will be a fight
  • mark_read

    — mark read all received messages with peer

  • delete_msg — deletes message (not completly, though)
  • restore_msg — restores delete message. Impossible for secret chats. Only possible short time (one hour, I think) after deletion
  • — sends photo to peer
    send_video

    — sends video to peer
    send_text

    — sends text file as plain messages

  • load_photo/load_video/load_video_thumb/load_audio/load_document/load_document_thumb — loads photo/video/audio/document to download dir
  • view_photo/view_video/view_video_thumb/view_audio/view_document/view_document_thumb — loads photo/video to download dir and starts system default viewer
  • fwd_media send media in your message. Use this to prevent sharing info about author of media (though, it is possible to determine user_id from media itself, it is not possible get access_hash of this user)
  • set_profile_photo

    — sets userpic. Photo should be square, or server will cut biggest central square part

    Group chat options

    • chat_info — prints info about chat
    • chat_add_user — add user to chat
    • chat_del_user — remove user from chat
    • rename_chat
    • create_group_chat . — creates a groupchat with users, use chat_add_user to add more users
    • chat_set_photo

    — sets group chat photo. Same limits as for profile photos.

    pattern — searches pattern in messages with peer

  • global_search pattern — searches pattern in all messages
    • create_secret_chat — creates secret chat with this user
    • visualize_key — prints visualization of encryption key. You should compare it to your partner’s one
    • set_ttl — sets ttl to secret chat. Though client does ignore it, client on other end can make use of it
    • accept_secret_chat — manually accept secret chat (only useful when starting with -E key)

    Stats and various info

    • user_info — prints info about user
    • history

    [limit] — prints history (and marks it as read). Default limit = 40

  • dialog_list — prints info about your dialogs
  • contact_list — prints info about users in your contact list
  • suggested_contacts — print info about contacts, you have max common friends
  • stats — just for debugging
  • show_license — prints contents of GPLv2
  • help — prints this help
  • get_self — get our user info
  • Источник

    Telegram github mac os

    Telegram for macOS

    Telegram is a messaging app with a focus on speed and security. It’s superfast, simple, and free! This repo contains the official source code for Telegram for macOS.

    You can also download the beta version if you want to try the latest features and you are prepared for bugs and crashes. If you are running the beta, join the beta testing chat on Telegram to report bugs.

    Contributors on GitHub

    Bugs and Suggestions

    You can report bug or suggestions feature for Telegram for macOS on Telegram’s Bugs & Suggestions platform. Read the platform tip before creating first card.

    You can help translate Telegram for macOS on Telegram’s translations platform. Pick your language, then look for the macOS translation set.

    Telegram strives to protect your privacy. This app asks for as few permissions as possible:

    • Microphone: You can send voice messages and make audio calls with Telegram.
    • Camera: You can set your profile picture using your Mac’s iSight camera.
    • Location: You can send your location to friends.
    • Outgoing network connections: Telegram needs to connect to the internet to send your messages to your friends.
    • Incoming network connections: Telegram needs to accept incoming connections for peer-to-peer voice calls.
    • User-selected files: You can save files or images to your Mac.
    • Downloads folder: Telegram can automatically download files or images you receive.
    Читайте также:  Avast платформа windows all

    With Shortcuts you can learn how easy is navigate using your devices.

    Telegram for macOS is licensed under the GNU Public License, version 2.0. See LICENSE for more information.

    You can fork this application and make something awesome! Make sure that your fork follows these five requirements:

    1. Doget your own API ID.
    2. Don’t call your fork Telegram — or at least make sure your users understand that yours is unofficial.
    3. Don’t use our standard logo (white paper plane in a blue circle) for your fork.
    4. Do read and follow our security guidelines to make sure you take good care of your users’ data and protect their privacy.
    5. Do publish your code. The GPL license requires it!

    Источник

    Telegram github mac os

    Telegram for macOS

    Telegram is a messaging app with a focus on speed and security. It’s superfast, simple, and free! This repo contains the official source code for Telegram for macOS.

    You can also download the beta version if you want to try the latest features and you are prepared for bugs and crashes. If you are running the beta, join the beta testing chat on Telegram to report bugs.

    Contributors on GitHub

    Bugs and Suggestions

    You can report bug or suggestions feature for Telegram for macOS on Telegram’s Bugs & Suggestions platform. Read the platform tip before creating first card.

    You can help translate Telegram for macOS on Telegram’s translations platform. Pick your language, then look for the macOS translation set.

    Telegram strives to protect your privacy. This app asks for as few permissions as possible:

    • Microphone: You can send voice messages and make audio calls with Telegram.
    • Camera: You can set your profile picture using your Mac’s iSight camera.
    • Location: You can send your location to friends.
    • Outgoing network connections: Telegram needs to connect to the internet to send your messages to your friends.
    • Incoming network connections: Telegram needs to accept incoming connections for peer-to-peer voice calls.
    • User-selected files: You can save files or images to your Mac.
    • Downloads folder: Telegram can automatically download files or images you receive.

    With Shortcuts you can learn how easy is navigate using your devices.

    Telegram for macOS is licensed under the GNU Public License, version 2.0. See LICENSE for more information.

    You can fork this application and make something awesome! Make sure that your fork follows these five requirements:

    1. Doget your own API ID.
    2. Don’t call your fork Telegram — or at least make sure your users understand that yours is unofficial.
    3. Don’t use our standard logo (white paper plane in a blue circle) for your fork.
    4. Do read and follow our security guidelines to make sure you take good care of your users’ data and protect their privacy.
    5. Do publish your code. The GPL license requires it!

    Источник

    Оцените статью