{"slug": "show-hn-cli-integrated-latex-editor", "title": "Show HN: CLI Integrated Latex Editor", "summary": "Open Prism, a desktop LaTeX environment powered by the Claude CLI, lets users write, compile, and fix LaTeX documents using plain language without API keys. The tool runs locally, uses the user's existing Claude subscription, and supports Tectonic compilation and PDF export.", "body_md": "A LaTeX workspace powered by your local **Claude CLI** — describe a document in plain language and watch Claude write, compile, and fix the LaTeX for you.\n\nOpen Prism is a desktop LaTeX environment built around the **Claude CLI**.\nInstead of bolting an API key onto a chat box, it spawns your locally installed,\nalready-authenticated [ claude](https://docs.claude.com/en/docs/claude-code)\ncommand — so the same Claude you run in your terminal drafts and revises the\nLaTeX, while you compile with Tectonic, inspect the PDF, and export to Downloads.\n\nWhy drive Claude through its CLI:\n\n**No API keys in the app.** Auth lives in your Claude CLI; Open Prism never stores or sees a key.**Your plan, your usage.** Requests run through your existing Claude subscription/login, not a separate billing path.**Local and private.** The model is reached by spawning a local process on your`PATH`\n\n— nothing is proxied through a third-party server.\n\n`codex`\n\nis also supported as an alternative provider, but Claude is the\nfirst-class path.\n\n| Draft with Claude | Compile | Iterate | Export |\n|---|---|---|---|\n| Chat in plain language; your local Claude CLI returns editable LaTeX. | Compile with Tectonic from inside the app. | Show Claude the errors, let it repair them, keep editing. | Save the latest compiled PDF directly to `~/Downloads` . |\n\nGet the latest macOS build from the\n[Releases page](https://github.com/VishiATChoudhary/open-prism/releases/latest).\n\nThe current packaged app is ad-hoc signed and not Apple-notarized. On first\nlaunch, macOS may require you to right-click the app and choose **Open**.\n\n- macOS for the packaged desktop app\n- The\ninstalled, authenticated, and on your`claude`\n\nCLI`PATH`\n\n(or`codex`\n\nas an alternative) [Tectonic](https://tectonic-typesetting.github.io)available on your`PATH`\n\n- Node.js 20+ if you are developing locally\n\n```\nnpm install\nnpm run dev\nnpm run build\n```\n\nCreate a macOS DMG:\n\n```\nnpm run package:mac\n```\n\nThe generated installer is written to `dist/`\n\n.\n\nOpen Prism stores projects in `~/.openprism`\n\n. Each project is a plain folder\nwith your source files, assets, build output, and a `.prism.json`\n\nmetadata file.\n\nThe workspace includes:\n\n- a file explorer for project folders\n- a CodeMirror LaTeX editor\n- a chat pane connected to your chosen local AI CLI\n- a pdf.js preview pane\n- a compile log for Tectonic errors\n- save, compile, and PDF export actions in the top bar\n\n```\n~/.openprism/\n  my-paper/\n    main.tex\n    assets/\n    build/\n      main.pdf\n    .prism.json\n  settings.json\n```\n\nMIT", "url": "https://wpnews.pro/news/show-hn-cli-integrated-latex-editor", "canonical_source": "https://github.com/VishiATChoudhary/open-prism", "published_at": "2026-06-17 08:32:52+00:00", "updated_at": "2026-06-17 08:52:33.921154+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "large-language-models"], "entities": ["Claude", "Open Prism", "Tectonic", "Codex", "CodeMirror", "pdf.js", "macOS", "Node.js"], "alternates": {"html": "https://wpnews.pro/news/show-hn-cli-integrated-latex-editor", "markdown": "https://wpnews.pro/news/show-hn-cli-integrated-latex-editor.md", "text": "https://wpnews.pro/news/show-hn-cli-integrated-latex-editor.txt", "jsonld": "https://wpnews.pro/news/show-hn-cli-integrated-latex-editor.jsonld"}}