# vysheng/tg

telegram-cli

Repository: https://github.com/vysheng/tg
Canonical: https://ross.abutalabs.com/products/tg
Language: C
License: GPL-2.0
License Family: copyleft
Last push: 2024-04-23T04:37:13+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4717, "days_push": 862, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7168, forks 1758 (observed 2026-08-28T04:09:56.359748+00:00)

## What it is
A command-line interface client for the Telegram messenger written in C, using a readline interface for interactive use. It supports scripting via Lua, Python, and JSON, making it usable for automated Telegram messaging from the terminal.

## Use cases
- send telegram messages from the command line
- script automated telegram notifications
- manage telegram chats without a gui
- integrate telegram messaging into shell scripts
- read and reply to telegram messages in a terminal

## When to choose
- you need to send or receive Telegram messages from scripts or cron jobs
- you prefer terminal-based tools over graphical clients
- you want a lightweight C client with Lua/Python bindings

## When to avoid
- you need a full-featured modern Telegram client with media support
- you want an actively developed client with up-to-date API support
- you need Python 3-only tooling without legacy limitations

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, http-client, developer-tools
- domain: messaging-platforms, developer-tools
- platform: bsd, cli, cross-platform
- tags: telegram, messenger, mtproto, readline, scripting, bot-automation, command-line, automation, linux, macos

## Member repositories
- vysheng/tg (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:56.359748+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:39:57.551813+00:00, confidence not recorded.
  - readme: https://github.com/vysheng/tg (fetched 2026-08-28T04:09:56.359748+00:00, sha c0a8c6ce611f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
