BlueGit

ict rusty-teams

docs(readme): modern landing-page layout and a fresh demo screenshot

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

metis Daniel Däschle · pushed by metis

Authored 2026-10-09 · 7 weeks ago

Hash
e08306755731929cc8cfbc2fba20db8e1448b9b2
Parent
b4838b28
2 files changed +77 −31
.github/app-demo.png Binary file +0 −0

The contents of this binary file are not shown.

README.md +77 −31
@@ -1,38 +1,85 @@
1 <div align="center">
2
3 <img src="crates/app/assets/icon/teams-fast-256.png" alt="Rusty Teams logo" width="112">
4
1 5 # Rusty Teams
2 6
3 A fast native Microsoft Teams chat client written in Rust with [GPUI](https://www.gpui.rs/).
4 It does chats and channels. Calls, meetings and channel tabs are planned (see [ROADMAP.md](ROADMAP.md)).
7 **A fast, native Microsoft Teams chat client. Written in Rust, rendered on the GPU.**
8
9 [![Rust](https://img.shields.io/badge/Rust-2024-dea584?logo=rust&logoColor=white)](https://www.rust-lang.org/)
10 [![GPUI](https://img.shields.io/badge/UI-GPUI-c4642d)](https://www.gpui.rs/)
11 [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux-3b3b3b)](#status)
12 [![License: MIT](https://img.shields.io/badge/license-MIT-2ea043)](LICENSE)
13
14 [Features](#features) · [Quick start](#quick-start) · [How it works](#how-it-works) · [Roadmap](ROADMAP.md)
5 15
6 ![Rusty Teams with demo data](.github/app-demo.png)
16 <img src=".github/app-demo.png" alt="Rusty Teams with demo data" width="900">
7 17
18 </div>
19
20 > [!NOTE]
8 21 > Unofficial. Not affiliated with or endorsed by Microsoft. It uses the same web APIs as the Teams web app, which can change at any time.
9 22
23 ## Why
24
25 | | Rusty Teams |
26 |---|---|
27 | ⚡ Starts instantly | Renders from a local SQLite cache before the network answers |
28 | 🔒 No tokens stored | Signs in through a real Teams web page; tokens never leave it |
29 | 📡 Live, no polling | Realtime socket pushes every change |
30 | 🔎 Offline search | Full-text index over your chats, `Ctrl+K` switcher |
31
10 32 ## Features
11 33
12 - Chats and channels, with the Teams pin order, chat folders and hidden teams
34 **Chats and channels**
35 - Teams pin order, chat folders, hidden teams
13 36 - Chat menu: pin, move to folder, mark as unread, mute, hide, leave
14 - Live updates over the Teams realtime socket, no polling
37 - Read receipts, typing indicator with faces, presence, unread jump
38 - Activity bell: new messages, @mentions and reactions, kept for 14 days
39
40 **Messages**
15 41 - Send, edit, delete, react, quote-reply, @mentions
16 - Rich text composer: format bar over a selection, `Ctrl+B` / `Ctrl+I` / `Ctrl+U`, lists, quotes, code; Markdown converts as you type or paste
17 - Composer picker for emoji, GIFs and stickers; GIFs and stickers also show in messages
18 - Schedule send: right-click the send button or `Ctrl+Shift+Enter`; Teams delivers the message, text and formatting only
19 - Emoji by `:` code with English codes and German aliases, `:thumbsup:` and `:)` convert as you type
20 - Link previews: card under messages, preview above the composer that goes out with the message
21 - Inline images, file cards, Adaptive Cards (layout, links, images, buttons: submit, execute, show card, toggle; input fields; task dialogs)
22 - Read receipts, typing indicator (shown and sent), presence (last known status shown at start), unread jump
23 - Select and copy message text, `Ctrl+A` in the composer
24 - Local full-text search and a `Ctrl+K` switcher, served from the cache
25 - Activity bell: feed of new messages, @mentions and reactions to your messages, kept for 14 days
26 - Dark theme, opens instantly from the local cache
42 - Inline images, file cards, link previews
43 - Adaptive Cards: layout, links, images, buttons, inputs, task dialogs
44 - GIFs and stickers in messages
45 - Select and copy message text
46
47 **Composer**
48 - Rich text: format bar on selection, `Ctrl+B` / `Ctrl+I` / `Ctrl+U`, lists, quotes, code
49 - Markdown converts as you type or paste
50 - Picker with Emoji, GIF and Sticker tabs
51 - `:thumbsup:` and `:)` convert as you type, German aliases included
52 - Schedule send: right-click send or `Ctrl+Shift+Enter`
53 - Drafts and unsent messages survive a restart
54
55 **App**
56 - Dark theme, opens instantly from the cache
27 57 - Self-update from an update folder
28 - Single instance: a second start brings the running window to the front
58 - Single instance: a second start brings the window to the front
29 59
30 60 ## Status
31 61
32 62 | Platform | State |
33 63 |---|---|
34 | Windows | Main target. Login through an embedded WebView2 |
35 | Linux | Connects to a Chrome you start with `--remote-debugging-port=9222`. Built-in login is planned |
64 | 🪟 Windows | Main target. Login through an embedded WebView2 |
65 | 🐧 Linux | Connects to a Chrome started with `--remote-debugging-port=9222`. Built-in login is planned |
66
67 Calls, meetings and channel tabs are planned, see [ROADMAP.md](ROADMAP.md).
68
69 ## Quick start
70
71 Try it with demo data, no account needed:
72
73 ```bash
74 cargo run -p app -- --demo
75 ```
76
77 | Task | Command |
78 |---|---|
79 | Against Chrome on a debug port | `cargo run -p app -- --endpoint http://127.0.0.1:9222` |
80 | Windows exe from WSL/Linux | `scripts/build-windows.sh crates/app teams` |
81 | Tests | `cargo test` |
82 | Headless screenshot (Xvfb, xdotool, xclip, mesa-vulkan-drivers) | `cargo build -p app && scripts/headless-shot.sh shot.png -- "mousemove 450 740" "click 1" "type hello"` |
36 83
37 84 ## How it works
38 85
@@ -57,14 +104,18 @@ It signs you in through a real Teams web page and lets that page make the API ca
57 104 Graph | chat service (ic3) | presence | Trouter socket
58 105 ```
59 106
60 ### Sign-in and tokens
107 <details>
108 <summary><b>Sign-in and tokens</b></summary>
61 109
62 110 1. A hidden browser page loads Teams web with its own profile. On Windows this is WebView2, so single sign-on with the Windows account usually just works.
63 111 2. If Teams asks for a login, the login window shows itself. After that the page stays parked in the background.
64 112 3. Every API call is sent to that page over CDP. A small script (`crates/session/assets/fetch.js`) picks the matching token from the page's MSAL cache, refreshes it when needed, and runs the `fetch`.
65 113 4. Only the response goes back to Rust. Tokens never leave the page.
66 114
67 ### Data flow
115 </details>
116
117 <details>
118 <summary><b>Data flow</b></summary>
68 119
69 120 | Step | What happens |
70 121 |---|---|
@@ -74,7 +125,10 @@ It signs you in through a real Teams web page and lets that page make the API ca
74 125 | Write | Sends, edits and reactions go out through Graph or the chat service, then the cache updates |
75 126 | Search | Local FTS5 index over cached messages, no server round trip |
76 127
77 ### Crates
128 </details>
129
130 <details>
131 <summary><b>Crates</b></summary>
78 132
79 133 | Crate | Job |
80 134 |---|---|
@@ -88,15 +142,7 @@ It signs you in through a real Teams web page and lets that page make the API ca
88 142 | `browser` | Chrome lifecycle and watchdog for the CDP transport |
89 143 | `cli` | `teams-probe`, a read-only end-to-end check |
90 144
91 ## Build and run
92
93 | Task | Command |
94 |---|---|
95 | Demo data, no account | `cargo run -p app -- --demo` |
96 | Against Chrome on a debug port | `cargo run -p app -- --endpoint http://127.0.0.1:9222` |
97 | Windows exe from WSL/Linux | `scripts/build-windows.sh crates/app teams` |
98 | Tests | `cargo test` |
99 | Screenshot without a desktop (Xvfb, xdotool, xclip, mesa-vulkan-drivers) | `cargo build -p app && scripts/headless-shot.sh shot.png -- "mousemove 450 740" "click 1" "type hello"` |
145 </details>
100 146
101 147 ## Docs
102 148
@@ -1,38 +1,85 @@
1<div align="center">
2
3<img src="crates/app/assets/icon/teams-fast-256.png" alt="Rusty Teams logo" width="112">
4
1# Rusty Teams
5# Rusty Teams
2
6
3A fast native Microsoft Teams chat client written in Rust with [GPUI](https://www.gpui.rs/).
7**A fast, native Microsoft Teams chat client. Written in Rust, rendered on the GPU.**
4It does chats and channels. Calls, meetings and channel tabs are planned (see [ROADMAP.md](ROADMAP.md)).
8
9[![Rust](https://img.shields.io/badge/Rust-2024-dea584?logo=rust&logoColor=white)](https://www.rust-lang.org/)
10[![GPUI](https://img.shields.io/badge/UI-GPUI-c4642d)](https://www.gpui.rs/)
11[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux-3b3b3b)](#status)
12[![License: MIT](https://img.shields.io/badge/license-MIT-2ea043)](LICENSE)
13
14[Features](#features) · [Quick start](#quick-start) · [How it works](#how-it-works) · [Roadmap](ROADMAP.md)
5
15
6![Rusty Teams with demo data](.github/app-demo.png)
16<img src=".github/app-demo.png" alt="Rusty Teams with demo data" width="900">
7
17
18</div>
19
20> [!NOTE]
8> Unofficial. Not affiliated with or endorsed by Microsoft. It uses the same web APIs as the Teams web app, which can change at any time.
21> Unofficial. Not affiliated with or endorsed by Microsoft. It uses the same web APIs as the Teams web app, which can change at any time.
9
22
23## Why
24
25| | Rusty Teams |
26|---|---|
27| ⚡ Starts instantly | Renders from a local SQLite cache before the network answers |
28| 🔒 No tokens stored | Signs in through a real Teams web page; tokens never leave it |
29| 📡 Live, no polling | Realtime socket pushes every change |
30| 🔎 Offline search | Full-text index over your chats, `Ctrl+K` switcher |
31
10## Features
32## Features
11
33
12- Chats and channels, with the Teams pin order, chat folders and hidden teams
34**Chats and channels**
35- Teams pin order, chat folders, hidden teams
13- Chat menu: pin, move to folder, mark as unread, mute, hide, leave
36- Chat menu: pin, move to folder, mark as unread, mute, hide, leave
14- Live updates over the Teams realtime socket, no polling
37- Read receipts, typing indicator with faces, presence, unread jump
38- Activity bell: new messages, @mentions and reactions, kept for 14 days
39
40**Messages**
15- Send, edit, delete, react, quote-reply, @mentions
41- Send, edit, delete, react, quote-reply, @mentions
16- Rich text composer: format bar over a selection, `Ctrl+B` / `Ctrl+I` / `Ctrl+U`, lists, quotes, code; Markdown converts as you type or paste
42- Inline images, file cards, link previews
17- Composer picker for emoji, GIFs and stickers; GIFs and stickers also show in messages
43- Adaptive Cards: layout, links, images, buttons, inputs, task dialogs
18- Schedule send: right-click the send button or `Ctrl+Shift+Enter`; Teams delivers the message, text and formatting only
44- GIFs and stickers in messages
19- Emoji by `:` code with English codes and German aliases, `:thumbsup:` and `:)` convert as you type
45- Select and copy message text
20- Link previews: card under messages, preview above the composer that goes out with the message
46
21- Inline images, file cards, Adaptive Cards (layout, links, images, buttons: submit, execute, show card, toggle; input fields; task dialogs)
47**Composer**
22- Read receipts, typing indicator (shown and sent), presence (last known status shown at start), unread jump
48- Rich text: format bar on selection, `Ctrl+B` / `Ctrl+I` / `Ctrl+U`, lists, quotes, code
23- Select and copy message text, `Ctrl+A` in the composer
49- Markdown converts as you type or paste
24- Local full-text search and a `Ctrl+K` switcher, served from the cache
50- Picker with Emoji, GIF and Sticker tabs
25- Activity bell: feed of new messages, @mentions and reactions to your messages, kept for 14 days
51- `:thumbsup:` and `:)` convert as you type, German aliases included
26- Dark theme, opens instantly from the local cache
52- Schedule send: right-click send or `Ctrl+Shift+Enter`
53- Drafts and unsent messages survive a restart
54
55**App**
56- Dark theme, opens instantly from the cache
27- Self-update from an update folder
57- Self-update from an update folder
28- Single instance: a second start brings the running window to the front
58- Single instance: a second start brings the window to the front
29
59
30## Status
60## Status
31
61
32| Platform | State |
62| Platform | State |
33|---|---|
63|---|---|
34| Windows | Main target. Login through an embedded WebView2 |
64| 🪟 Windows | Main target. Login through an embedded WebView2 |
35| Linux | Connects to a Chrome you start with `--remote-debugging-port=9222`. Built-in login is planned |
65| 🐧 Linux | Connects to a Chrome started with `--remote-debugging-port=9222`. Built-in login is planned |
66
67Calls, meetings and channel tabs are planned, see [ROADMAP.md](ROADMAP.md).
68
69## Quick start
70
71Try it with demo data, no account needed:
72
73```bash
74cargo run -p app -- --demo
75```
76
77| Task | Command |
78|---|---|
79| Against Chrome on a debug port | `cargo run -p app -- --endpoint http://127.0.0.1:9222` |
80| Windows exe from WSL/Linux | `scripts/build-windows.sh crates/app teams` |
81| Tests | `cargo test` |
82| Headless screenshot (Xvfb, xdotool, xclip, mesa-vulkan-drivers) | `cargo build -p app && scripts/headless-shot.sh shot.png -- "mousemove 450 740" "click 1" "type hello"` |
36
83
37## How it works
84## How it works
38
85
@@ -57,14 +104,18 @@ It signs you in through a real Teams web page and lets that page make the API ca
57 Graph | chat service (ic3) | presence | Trouter socket
104 Graph | chat service (ic3) | presence | Trouter socket
58```
105```
59
106
60### Sign-in and tokens
107<details>
108<summary><b>Sign-in and tokens</b></summary>
61
109
621. A hidden browser page loads Teams web with its own profile. On Windows this is WebView2, so single sign-on with the Windows account usually just works.
1101. A hidden browser page loads Teams web with its own profile. On Windows this is WebView2, so single sign-on with the Windows account usually just works.
632. If Teams asks for a login, the login window shows itself. After that the page stays parked in the background.
1112. If Teams asks for a login, the login window shows itself. After that the page stays parked in the background.
643. Every API call is sent to that page over CDP. A small script (`crates/session/assets/fetch.js`) picks the matching token from the page's MSAL cache, refreshes it when needed, and runs the `fetch`.
1123. Every API call is sent to that page over CDP. A small script (`crates/session/assets/fetch.js`) picks the matching token from the page's MSAL cache, refreshes it when needed, and runs the `fetch`.
654. Only the response goes back to Rust. Tokens never leave the page.
1134. Only the response goes back to Rust. Tokens never leave the page.
66
114
67### Data flow
115</details>
116
117<details>
118<summary><b>Data flow</b></summary>
68
119
69| Step | What happens |
120| Step | What happens |
70|---|---|
121|---|---|
@@ -74,7 +125,10 @@ It signs you in through a real Teams web page and lets that page make the API ca
74| Write | Sends, edits and reactions go out through Graph or the chat service, then the cache updates |
125| Write | Sends, edits and reactions go out through Graph or the chat service, then the cache updates |
75| Search | Local FTS5 index over cached messages, no server round trip |
126| Search | Local FTS5 index over cached messages, no server round trip |
76
127
77### Crates
128</details>
129
130<details>
131<summary><b>Crates</b></summary>
78
132
79| Crate | Job |
133| Crate | Job |
80|---|---|
134|---|---|
@@ -88,15 +142,7 @@ It signs you in through a real Teams web page and lets that page make the API ca
88| `browser` | Chrome lifecycle and watchdog for the CDP transport |
142| `browser` | Chrome lifecycle and watchdog for the CDP transport |
89| `cli` | `teams-probe`, a read-only end-to-end check |
143| `cli` | `teams-probe`, a read-only end-to-end check |
90
144
91## Build and run
145</details>
92
93| Task | Command |
94|---|---|
95| Demo data, no account | `cargo run -p app -- --demo` |
96| Against Chrome on a debug port | `cargo run -p app -- --endpoint http://127.0.0.1:9222` |
97| Windows exe from WSL/Linux | `scripts/build-windows.sh crates/app teams` |
98| Tests | `cargo test` |
99| Screenshot without a desktop (Xvfb, xdotool, xclip, mesa-vulkan-drivers) | `cargo build -p app && scripts/headless-shot.sh shot.png -- "mousemove 450 740" "click 1" "type hello"` |
100
146
101## Docs
147## Docs
102
148