2 Home
Thomas Forgione edited this page 2026-09-10 17:09:02 +02:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

papote

A terminal chat with a local LLM whose answers are formatted while they stream in — headings, tables, boxed code with syntax highlighting, all re-wrapped live as the answer grows.

papote takes the whole screen: the conversation above, a boxed input below it, the model and hints on the last line.

 Explain TCP briefly, with a code block and a table.

TCP (Transmission Control Protocol) is a transport-layer protocol that
guarantees reliable, ordered delivery between two hosts.

╭─ rust ───────────────────────────────────────────────────────────────╮
│ use std::net::TcpStream;                                             │
│ let mut stream = TcpStream::connect("127.0.0.1:8080")                │
│     .expect("cannot connect");                                       │
╰──────────────────────────────────────────────────────────────────────╯

┌────────────────┬──────────────────────────┬─────────────────────────┐
│ Property       │ TCP                      │ UDP                     │
├────────────────┼──────────────────────────┼─────────────────────────┤
│ Reliability    │ Guaranteed (retransmits) │ Best-effort             │
│ Mode           │ Connection-oriented      │ Connectionless          │
└────────────────┴──────────────────────────┴─────────────────────────┘

Where to go

Installing what you need, and the first run
Configuration the three TOML files, every key
Commands and keys /model, /resume, and the keyboard
Markdown support what gets formatted, and how code is coloured
Saved conversations where they live and how /resume works
How it works the screen, the streaming, the rendering
Limitations what it deliberately does not do
Development tests, the file map, the dependencies

The source is at git.tforgione.fr/tforgione/papote.