# 使用 Homebrew, apt 安装 telegram-send

查看 telegram-send 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:telegram-send
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install telegram-send
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install telegram-send
```

  证据: Debian stable package indexes: telegram-send from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:telegram-send
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/telegram-send>
- **版本:** 0.39.2
- **来源摘要:** Command-line tool to send Telegram messages
- **主页:** <https://pypi.org/project/telegram-send/>
- **仓库:** <https://github.com/rahiel/telegram-send>
- **上游文档:** <https://pypi.org/project/telegram-send/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://files.pythonhosted.org/packages/1c/9d/6c59f78b5761d6fe5a3694d83fb8eff7e6cd190d57d4a61d66ef9e8f4c7f/telegram_send-0.39.2.tar.gz>
- **最后更新:** 2026-07-12T22:48:19-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- telegram-send (cli)
- telegram-send (别名)

## 依赖

- certifi
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.39.2
- 管理器更新时间: 2026-07-12
- 本地数据: OK
- 上游仓库: https://pypi.org/project/telegram-send/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

telegram-send is a Python command-line tool for sending Telegram messages and files to a user, group, or channel. It became useful to shell users because it turns Telegram into a notification target for scripts, cron, and long-running commands.

### 项目历史

The rahiel/telegram-send repository was created in April 2016, and PyPI shows early 0.3 and 0.5 releases in May 2016. The early project description already framed it as a command-line tool to send messages and files over Telegram from other programs.

The current README and PyPI page broaden the supported message types and installation paths while keeping the same core idea: configure a bot-backed Telegram destination once, then call `telegram-send` from scripts or pipelines.

### 采用历史

telegram-send reached package-manager users through PyPI, Homebrew, Debian, and Ubuntu packaging. Its PyPI classifiers mark it as production/stable and aimed at developers and desktop users on POSIX and Windows.

The tool's adoption niche is pragmatic rather than platform-scale: it is the small CLI people install when they want shell alerts in Telegram without writing Bot API code.

### 使用方式

Official examples include sending strings, stdin, files, images, stickers, video, audio, and locations; configuring accounts, groups, or channels; alerting when shell commands complete; and piping cron output through `telegram-send -g --stdin`.

Package users care about its config-file behavior because the configured bot token and chat state are the durable part. The global `/etc/telegram-send.conf` mode makes it usable from cron jobs and system scripts.

### 为什么软件包爱好者会关心

telegram-send is package-nerd significant because it is tiny glue with high leverage: install one executable and a system can notify a human through Telegram from shell, cron, Supervisor, or Python.

Its history is a classic CLI utility arc: a small PyPI project became distro-packaged because the command is easier to standardize than every script reimplementing Telegram Bot API calls.

### 时间线

- 2016: rahiel/telegram-send repository created.
- 2016: PyPI publishes early telegram-send releases, including 0.3 and 0.5.
- 2022: PyPI release history shows continued 0.3x maintenance.
- 2026: telegram-send 0.39.2 is published on PyPI.

### Related projects

- Telegram Bot API is the service API underneath the workflow.
- pipx is recommended in current install docs for isolated Python CLI installation.
- ntfy is mentioned in the README as another notification tool for long-running commands.

### 来源

- <https://github.com/rahiel/telegram-send>
- <https://pypi.org/project/telegram-send/>
- <https://pypi.org/project/telegram-send/0.3/>
- <https://pypi.org/project/telegram-send/0.5/>


## 安全说明

没有找到 telegram-send 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/telegram-send.conf

## Credential files

- Unix: /etc/telegram-send.conf, user_config_dir("telegram-send") + ".conf"
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** telegram-send
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - telegram-send - 0.37-3: normalized package name match | Debian stable package indexes: telegram-send from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Send messages and files over Telegram from the command-line | https://github.com/rahiel/telegram-send
- Ubuntu apt - telegram-send - 0.37-2: normalized package name match | Ubuntu 24.04 LTS package indexes: telegram-send from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Send messages and files over Telegram from the command-line | https://github.com/rahiel/telegram-send


## 相关链接

- [Package publisher tools](https://pkg.so/zh-hans/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [telegram-downloader](https://pkg.so/zh-hans/brew/telegram-downloader/) - Shares pkgdb curated category or tags: cli, messaging, networking, telegram.
- [rabbitmq](https://pkg.so/zh-hans/brew/rabbitmq/) - Shares pkgdb curated category or tags: cli, messaging, networking.
- [czmq](https://pkg.so/zh-hans/brew/czmq/) - Shares pkgdb curated category or tags: cli, messaging, networking.
- [signal-cli](https://pkg.so/zh-hans/brew/signal-cli/) - Shares pkgdb curated category or tags: cli, messaging, networking.
- [nats-server](https://pkg.so/zh-hans/brew/nats-server/) - Shares pkgdb curated category or tags: cli, messaging, networking.
- [profanity](https://pkg.so/zh-hans/brew/profanity/) - Shares pkgdb curated category or tags: cli, messaging, networking.
- [libpaho-mqtt](https://pkg.so/zh-hans/brew/libpaho-mqtt/) - Shares pkgdb curated category or tags: cli, messaging, networking.
- [apprise](https://pkg.so/zh-hans/brew/apprise/) - Shares pkgdb curated category or tags: cli, networking, notifications.
- [checkdmarc](https://pkg.so/zh-hans/brew/checkdmarc/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, command-line, line, networking.

## Combined YAML source

View the package source record on GitHub. [combined/telegram-send.yml](https://github.com/mxcl/pkgdb/blob/main/combined/telegram-send.yml)


## 来源

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
