Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

teams-cli

> 开发工具
Open source

A CLI / TUI for Microsoft Teams

359 stars0 likes1 views
WebsiteGitHub

About

A CLI / TUI for Microsoft Teams

teams-cli

A Command Line Interface (or TUI) to interact with Microsoft Teams that uses the teams-api Go package.

Status

Upstream fossteams/teams-cli has been archived and is read-only. This fork is the active maintenance branch for the codebase, and new work should target this repository.

This project is still WIP and will be updated with more features. The goal is to have a CLI / TUI replacement for the Microsoft Teams desktop client. Today the client is primarily read-only (browsing conversations and reading recent messages).

Documentation

We have moved our comprehensive documentation to the Wiki.

Please browse the GitHub Wiki for detailed guides:

  • Installation Guide
  • Usage & Keyboard Navigation
  • Features List
  • Development, CI/CD, & Governance

Quick Start

Requirements

  • Golang 1.26.1 or newer
  • Valid Teams JWT files generated with teams-token
  • A terminal with cursor-addressing support (e.g. Terminal.app, iTerm2)

Basic Usage

Run the app locally once you have obtained your tokens:

bash
go run ./

To limit each conversation view to the most recent N messages:

bash
go run ./ msg=20

For more runtime flags and usage examples, see the Usage Wiki.

Lite Overview

Core Features

  • Browse your Teams, Channels, and direct/group Chats from a TUI.
  • Automatically load and read recent messages in selected conversations.
  • Background refresh for both message lists and conversation trees.
  • Navigate the UI entirely with keyboard shortcuts.
  • Clean shutdown on q or Ctrl+C.

Keyboard Navigation

  • Arrow Keys: Move up/down lists, expand (Right) or collapse (Left) trees.
  • Enter: Open the selected channel or chat.
  • Tab: Switch focus between the conversations tree and messages pane.
  • Esc: Go back one level or return to the conversations tree.
  • ?: Show/hide the full keyboard help inside the app.
  • q: Quit the app.

Diagnostics

If you have issues logging in or starting the app, run the built-in doctor to test token validity and network reachability:

bash
go run ./ doctor

Support

  • Found an issue or have a feature request? Please use our built-in issue templates.
  • Found a security vulnerability? Please review our SECURITY.md guidelines privately before opening a public issue.
  • View our CHANGELOG.md for detailed release notes and updates.
  • This fork maintains the github.com/fossteams/teams-cli module path for compatibility, but the releases published here are the officially supported install path.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gocligogolangmicrosoft

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具