telegram.nvim

A full-featured Telegram chat client that runs inside Neovim.

License: MIT Node >=18 CI Neovim >= 0.9

GitHub · Installation · Documentation · Telegram Group

Screenshots

telegram.nvim chat view telegram.nvim group list telegram.nvim message input telegram.nvim media preview

Features

Quick Start

Add to your Neovim config (lazy.nvim):

{
  "ChuYanLon/telegram.nvim",
  build = "npm i",
  event = "VeryLazy",
  keys = {
    { "<leader>tt", "<cmd>Tg<Cr>", desc = "Toggle Telegram" },
  },
  opts = {},
}

How It Works

Backend: TypeScript (Express + WebSocket) running TDLib on ports 8080/8081.

Frontend: Pure Lua plugin communicating via HTTP and WebSocket.

Auth: Phone number → verification code → 2FA (optional). Session persists across restarts.

Requirements