惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
量子位
雷峰网
雷峰网
宝玉的分享
宝玉的分享
V
Visual Studio Blog
博客园_首页
小众软件
小众软件
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
S
SegmentFault 最新的问题
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap
GitHub - AhmadTheTech/lark: Bridge Telegram and iMessage ...
createwithah · 2026-06-13 · via Show HN

Lark Bridge connects Telegram or iMessage to an AI CLI so messages sent from your phone can be answered from your desktop workflow.

The current build is centered on OpenAI Codex CLI as the active AI backend.

What It Does

  • Receives messages from Telegram or iMessage
  • Forwards them to the configured AI CLI
  • Sends the AI response back to the same chat
  • Provides basic control commands for pausing, stopping, retrying, and checking status

Current Support

AI Provider

  • Codex CLI via @openai/codex

Messaging Platforms

  • Telegram on Windows, macOS, and Linux
  • iMessage on macOS only

Requirements

  • Node.js 16 or newer
  • A working installation of the Codex CLI
  • Telegram bot credentials if you use Telegram
  • macOS with Messages.app signed in if you use iMessage

Install

From npm

npm install -g lark-bridge

From source

git clone https://github.com/AhmadTheTech/lark
cd lark
npm install
npm link

Configure

Run the interactive setup:

You will choose:

  • The AI provider
  • The messaging platform
  • Platform-specific settings

Telegram Setup

  1. Open Telegram and start a chat with @BotFather
  2. Send /newbot and follow the prompts
  3. Copy the bot token it returns
  4. Find your Telegram user ID with @userinfobot
  5. Enter the token and allowed user IDs during lark configure

You can allow multiple users by entering comma-separated numeric IDs.

iMessage Setup

Lark uses AppleScript to interact with Messages.app.

Before starting:

  1. Sign in to iMessage on your Mac
  2. Allow Terminal to control Messages when prompted
  3. If needed, grant Contacts access as well

On iMessage, the bridge checks for new messages on a polling interval selected during setup.

Start

For verbose logging:

CLI Commands

lark configure   # Run interactive setup
lark start       # Launch the bridge
lark status      # Show saved configuration
lark reset       # Remove saved configuration

Telegram Commands

Once the bot is running, these commands are available in Telegram:

  • /start - show bridge status
  • /help - list commands
  • /status - show uptime, provider, and message stats
  • /ai - show the active AI provider
  • /pause - stop forwarding messages
  • /resume - resume forwarding
  • /stop - cancel the current AI request
  • /clear - clear conversation context
  • /retry - retry the last failed message
  • /ping - check that the bridge is alive
  • /version - display the installed Lark version
  • /shutdown - stop the bridge process

How It Works

You
  -> Telegram or iMessage
  -> Lark Bridge
  -> Codex CLI
  -> Lark Bridge
  -> Telegram or iMessage
  -> You

Configuration Location

Lark stores its config under:

Use lark status to inspect the saved values.

Contributing

License

For license details, see LICENSE.