惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
博客园 - 司徒正美
J
Java Code Geeks
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
D
Docker
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
腾讯CDC
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
M
MIT News - Artificial intelligence
Jina AI
Jina AI
I
InfoQ
雷峰网
雷峰网
The Cloudflare Blog
美团技术团队
Engineering at Meta
Engineering at Meta

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - yz671/viewllm: Single-binary HTML report viewer ...
yz671 · 2026-05-12 · via Hacker News - Newest: "AI"

viewllm

View and share HTML/Markdown reports from AI coding agents.

Run this in your terminal — no install needed:

Live demo →

Download binary · npm


"HTML is the new markdown. I've stopped writing markdown files for almost everything and switched to using Claude Code to generate HTML for me."

Thariq Shihipar, Engineering Lead, Claude Code at Anthropic · 5M+ views


The problem

Claude Code, Codex, and Cursor generate rich HTML reports — data visualizations, research analyses, interactive charts. But there's no good way to view or share them:

  • VS Code Live Preview breaks over SSH and WSL
  • GitHub won't render HTML — only Markdown
  • python -m http.server gives you a raw directory listing
  • Sharing means downloading files and emailing them around

What viewllm does

Run it in any project folder. You get:

  • Real-time file watching — new and modified files appear with unread indicators as your agent produces them
  • Sharing — shareable links to specific reports. Add -tunnel for a public URL, no port forwarding needed
  • Per-device unread tracking — each person who opens the link gets their own read/unread state
  • Search — file tree, search bar, hover preview popups on all file items, thumbnails, text snippets
  • HTML and Markdown — renders both. Markdown gets GitHub-style formatting
  • SSH, WSL, remote servers — works anywhere you have a terminal
  • Themes — Light, Dark, Solarized
Mobile view

viewllm mobile

Lightweight

Binary 9MB
Memory ~7MB
Startup ~100ms
API response <5ms
Dependencies 0

Single Go binary. No database, no config files, no background processes. Read-only. Stop it and it's gone.

Quick start

Ask your AI coding agent:

"Write me an HTML report analyzing the architecture of this codebase. Include diagrams, dependency graphs, and your recommendations."

Then:

Install

npx (zero install, always latest):

Binary — grab from GitHub Releases:

curl -fsSL https://github.com/yz671/viewllm/releases/latest/download/viewllm-linux-amd64 -o viewllm
chmod +x viewllm
./viewllm
Build from source
git clone https://github.com/yz671/viewllm.git && cd viewllm
go build -o viewllm . && ./viewllm

Sharing

viewllm shows a shareable link on startup:

viewllm serving ./reports

  Open: http://192.168.1.42:8090
  To share over the internet, use -tunnel

For sharing beyond your network — no accounts, no port forwarding:

npx viewllm@latest -tunnel
viewllm serving ./reports — starting tunnel (powered by Cloudflare)...

  Share this link: https://random-words.trycloudflare.com

  Anyone with this link can view your reports.
  This link expires when you stop viewllm — a new one is created each time.

Works with any tool

Works with Claude Code, Codex, Cursor, Jupyter, and anything else that outputs .html or .md files.

Usage

viewllm [directory] [-p port] [-exclude dir]... [-exclude-file name]... [-tunnel]

Serves the current directory by default. Finds an open port automatically.

Flag Default Description
-p 8090 Port to serve on
-exclude Additional directories to ignore (repeatable)
-exclude-file Additional files to ignore by name (repeatable)
-tunnel off Create a public URL via Cloudflare Tunnel
Settings

Click the gear icon to access per-device settings:

  • Show — toggle HTML and Markdown files on/off
  • Theme — Light, Dark, Solarized
  • Text preview — show/hide text snippets
  • Thumbnail preview — show/hide live mini-renders
  • Recent files count — 0 (off), 3, 5, 10, 15, or 20
  • Ignored folders & files — add/remove custom exclude patterns for both folders and files

All settings stored in localStorage — each device has its own preferences.

API
GET /              → Web UI
GET /api/recent    → Recently modified files (with previews)
GET /api/tree      → Full directory tree as nested JSON
GET /api/excludes  → Current exclude patterns
GET /files/{path}  → Serves HTML directly, renders Markdown as styled HTML
Technical details

Single Go binary with the entire frontend embedded via go:embed. Scans for .html and .md files, serves a web UI, polls for changes every 2 seconds. Markdown rendered client-side with marked.js.

Stack: Go stdlib (zero deps) · Vanilla HTML/CSS/JS · go:embed · Polling-based file discovery

Contributing

The codebase is intentionally simple — two files:

main.go              → Server, API, file scanning (~650 lines)
frontend/index.html  → Entire UI, embedded into the binary (~40KB)

License

MIT