5 ms·
@simonw: slight tangent but super curious how you managed to generate the preview of that gemini-cli terminal session gist - https://gistpreview.github.io/?1729
by sorcercode 10mo ago
@simonw: slight tangent but super curious how you managed to generate the preview of that gemini-cli terminal session gist - https://gistpreview.github.io/?17290c1024b0ef7df06e9faa4cb37e73 https://gistpreview.github.io/?17290c1024b0ef7df06e9faa4cb37...
is this just a manual copy/paste into a gist with some html css styling; or do you have a custom tool à la amp-code that does this more easily?
- simonw 10mo agoI used this tool: https://tools.simonwillison.net/terminal-to-html https://tools.simonwillison.net/terminal-to-html I made a video about building that here: https://simonwillison.net/2025/Oct/23/claude-code-for-web-video/ https://simonwillison.net/2025/Oct/23/claude-code-for-web-vi... It works much better with Claude Code and Codex CLI because they don't mess around with scrolling in the same way as Gemini CLI does.
- sorcercode 10mo agovery cool. frequently, i want to share my prompt + session output; this will make that super easy! thanks again for sharing!
- ilyakaminsky 10mo agoI use Gemini CLI on a daily basis. It used to crash often and I'd lose the chat history. I found this tool called ai-cli-log [1] and it does something similar out of the box. I don't run Gemini CLI without it. [1] https://github.com/alingse/ai-cli-log https://github.com/alingse/ai-cli-log