Feature Request: Allow Positron to Serve Static HTML generated by the LLM Assistance

Open
#8,636 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
html, typescript
Domain
ai, desktop

Research direction

The issue names no files, tests, or entry points. Start by reviewing how the Positron Assistant handles generated responses and the linked discussion, then define how static HTML would be detected and displayed in the IDE. Done should mean Assistant-generated HTML can be served or viewed reliably, with coverage for the supported response format.

Written by the indexing model from the issue text.

Description

area: assistant area: viewer enhancement support

Request: I would like to allow Positron to serve / view HTML that is generated by the Positron Assistant. This style of development is available through Claude Desktop via Artifacts and is a great way to use LLMs to prototype even if you intend to move some of the HTML generation steps into your codebase.

Currently the Positron Assistant will tell me that it cannot serve HTML but I wonder if it might be able to detect HTML and serve it through the IDE. As a longtime user of R/Rstudio/Quarto I have gotten a lot of leverage using code to generate static HTML assets. I think adding a feature like this within the development cycle would be really powerful. In many ways Posit might have an advantage in this space since you can prototype, then move some of the code to a file to encapsulate logic but always use the HTML output as your endpoint.

Note: See here for original comment.

Thank you,
zach cp

Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from posit-dev/positron

All issues in posit-dev/positron

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.