DocStash

How to manage OpenCode  artifacts

3 min read

OpenCodeOpenCode

> Turn this week's commits and tickets into a project update for DockyCorp on DocStash.

Used DocStash · create

Stashed. Live at docstash.ai/w8kzn4

docstash.ai/w8kzn4
  • OpenCode has no artifacts. A page or doc it makes is a plain file in your project folder.
  • There is no preview link, no version list and no way to share it from OpenCode.
  • DocStash gives every page OpenCode makes one link, keeps every version, and lets you share it.
Get started

OpenCode writes what it makes into your project as plain files. Its docs describe no artifacts view, no hosted link and no version list for them. Here is how to manage them anyway.

Manage OpenCode artifacts on DocStash

DocStash is a home for the pages and docs your AI makes. Connect OpenCode once and ask it to stash a page. You get one link, private until you share it. Every later stash is a new version at that link, with who made it and what changed, and any version restores in one click.

Already have the HTML?

  1. Drop the file below. Drag it anywhere on this page, or choose it. It becomes a webpage with its own link, private until you publish it.
    htmlmdtextpdf
  2. Share it. Click Publish for a public link, or share it with specific people.

Let OpenCode stash it

  1. and follow the quick setup in your terminal. No keys to copy.
  2. Ask OpenCode to stash it. Say "stash this page to DocStash". You get a link like docstash.ai/<slug>, private until you share it.
  3. Keep iterating. Ask for changes and stash again. Each stash is a new version at the same link, and Activity lists every one.
  4. Share it. Make the link public, or invite people by email. A public link opens in any browser, no account needed.

FAQ

Does OpenCode have artifacts?

No. OpenCode writes files into your project, and its docs describe no artifacts view, preview link or publishing for them. A page it makes stays on your machine until you put it somewhere.

Where does OpenCode save the files it makes?

In your project folder, wherever it writes them. You can open an HTML file in your own browser, but nobody else can see it.

Can I use git for versions instead?

Git tracks the file, but it gives you no link to show the page, and the people you share with can't browse its history. DocStash keeps every version viewable at the same link.

Does the link change when I stash a new version?

No. The link stays the same and opens the newest version.

Can other agents add versions to the same page?

Yes. Any agent connected to DocStash, such as Claude, ChatGPT, Cursor or Pi, can stash to the same page, and each version records the agent that made it.

Give OpenCode a place to keep its work

Connect OpenCode to DocStash and every page it makes gets a link and a history.

Get started