Skip to main content

Universal Telegram CLI Wrapper for AI Assistants and Terminals

Project description

Sesigram

Sesigram es un wrapper universal de terminal que te permite interactuar con cualquier asistente de IA de línea de comandos (como Claude Code, Aider, Antigravity, etc.) o cualquier programa interactivo desde Telegram.

Con Sesigram, puedes alejarte de tu computadora y seguir respondiendo o leyendo las salidas de la terminal en tiempo real desde tu celular.

Instalación

Puedes instalar Sesigram globalmente usando pipx (recomendado) o pip:

pip install sesigram

(O puedes instalarlo localmente desde el código fuente con pip install -e .)

Configuración

Una vez instalado, ejecuta el comando de configuración inicial:

sesigram setup

Sigue las instrucciones en pantalla para vincular tu bot de Telegram y tu chat ID.

Uso

Para usar Sesigram, simplemente envuelve el comando que quieres ejecutar con sesigram run:

# Ejemplo con bash interactivo
sesigram run bash

# Ejemplo con Aider
sesigram run aider

# Ejemplo con Claude Code
sesigram run claude

A partir de ese momento, la terminal arrancará normalmente pero todo el texto que imprima te llegará a Telegram. Si respondes a tu bot de Telegram, el mensaje se inyectará como si lo hubieras escrito en la consola.

Para cerrar la sesión de forma remota, envía /stop_sesigram en Telegram.

Características

  • Agnóstico: No requiere plugins ni modificaciones en el programa subyacente. Utiliza Pseudo-Terminales (PTY) nativas de Python.
  • Sin Demonios: No se queda corriendo en segundo plano. El puente hacia Telegram solo existe mientras dura el comando envuelto.
  • Smart Buffering: Acumula las salidas rápidas para no hacer spam ni exceder el límite de mensajes de la API de Telegram.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sesigram-0.1.5.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sesigram-0.1.5-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file sesigram-0.1.5.tar.gz.

File metadata

  • Download URL: sesigram-0.1.5.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for sesigram-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f17b791c7709980f4aae66fe8cb931c76ba3cf931733254de0b6b54584e47f5c
MD5 5c6ccc8ed936ce5dd0539e739426f4e4
BLAKE2b-256 9b05554e276b8e4d04c0cb897ff8019394dac6f839a4aa3c7c1d9149b6bdb5c8

See more details on using hashes here.

File details

Details for the file sesigram-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: sesigram-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for sesigram-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aba7358954c596ec53453ac785e2af6764b237564e01bd808c8d6f3e3f3627db
MD5 2514770fc03f45e1325b44e3d0ddb3b0
BLAKE2b-256 c665aaa8e2612c6868e3867f1c82ca8b8f58f9163912beb343c7c2faac3102df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page