What problem does this solve?
Silex has a useful local preview and a strong permanent-publishing direction through libre forges, but there is a smaller workflow between them: sending a client, teammate, or tester the current built site for short-lived review.
Today that requires publishing to a forge or downloading the static output and manually uploading it somewhere. The former introduces repository/authentication/CI setup for a disposable preview; the latter adds repeated manual steps and commonly produces a new URL for each revision. A localhost preview cannot be opened by a remote reviewer.
This is separate from the offline View the site work in #1742 and the permanent multi-forge work in #1739.
Disclosure: I maintain temp.md, the hosted third-party service suggested here. It is open source, anonymous publishing requires no temp.md account, and preview URLs are public to anyone with the link. Anonymous previews normally expire seven days after their latest publish.
Proposed solution
Add an optional Share temporary preview… publication action, preferably as a plugin if Silex's current extension points can support it:
- Build the same static output Silex already produces for Download/publication.
- Before uploading, clearly disclose the third-party destination, public-link access, and expiration behavior, and require explicit confirmation.
- Upload the complete static output as one site and display Copy link and Open actions.
- Store only the capability for that one preview locally, allowing Update preview to replace the site at the same canonical URL.
- Provide Stop sharing to revoke the preview immediately.
The first version could deliberately support only simple static sites—the same initial scope described in #1742. Sites requiring a data-source/Eleventy build could become eligible once Silex can produce that final output locally. The action should block with a clear explanation rather than upload an incomplete site.
Safeguards:
- Never upload automatically or on save.
- Keep local preview, Download, and permanent publishing behavior unchanged.
- Upload only the selected site's generated output, not its editable source, credentials, preferences, or other projects.
- Preflight the anonymous size limit before transferring data.
- Show the exact expiration after publishing.
- Preserve the last successful preview if an update fails.
- Use the browser publish-session API, so Silex does not embed a temp.md secret or require a temp.md account.
This would be positioned as disposable client review and QA—not production hosting or a replacement for the libre forge roadmap.
Integration references:
If the direction fits, I am happy to first map the smallest plugin-based integration against Silex's publication hooks and share that design here before writing code.
Alternatives considered
- Forge Pages: appropriate for durable publication, but requires authentication, a repository, and a build/deploy cycle.
- Download and upload manually: works, but repeats the exact packaging/upload/copy-link steps the integration would remove.
- Local preview: fast and private, but inaccessible to a remote reviewer.
- Core-only implementation: possible, but a plugin is preferable if it can receive the completed static bundle and contribute the publication UI.
Could this be a plugin?
Yes, this could be a plugin. That is the preferred starting point, provided the plugin API exposes the completed static output and an appropriate publication-action surface. If either hook is missing, I would propose only the smallest general-purpose extension point in core.
What problem does this solve?
Silex has a useful local preview and a strong permanent-publishing direction through libre forges, but there is a smaller workflow between them: sending a client, teammate, or tester the current built site for short-lived review.
Today that requires publishing to a forge or downloading the static output and manually uploading it somewhere. The former introduces repository/authentication/CI setup for a disposable preview; the latter adds repeated manual steps and commonly produces a new URL for each revision. A localhost preview cannot be opened by a remote reviewer.
This is separate from the offline View the site work in #1742 and the permanent multi-forge work in #1739.
Disclosure: I maintain temp.md, the hosted third-party service suggested here. It is open source, anonymous publishing requires no temp.md account, and preview URLs are public to anyone with the link. Anonymous previews normally expire seven days after their latest publish.
Proposed solution
Add an optional Share temporary preview… publication action, preferably as a plugin if Silex's current extension points can support it:
The first version could deliberately support only simple static sites—the same initial scope described in #1742. Sites requiring a data-source/Eleventy build could become eligible once Silex can produce that final output locally. The action should block with a clear explanation rather than upload an incomplete site.
Safeguards:
This would be positioned as disposable client review and QA—not production hosting or a replacement for the libre forge roadmap.
Integration references:
If the direction fits, I am happy to first map the smallest plugin-based integration against Silex's publication hooks and share that design here before writing code.
Alternatives considered
Could this be a plugin?
Yes, this could be a plugin. That is the preferred starting point, provided the plugin API exposes the completed static output and an appropriate publication-action surface. If either hook is missing, I would propose only the smallest general-purpose extension point in core.