Web Publisher
Product · Developer tool · Engineering & development by StackBlitz (Bolt)
Stress-free documentation contributions with live previews and automated pull requests.
Web Publisher is a specialized tool for documentation teams that enables instant, in-browser page editing with live previews and automated pull request creation. It allows anyone to contribute to technical docs without needing to clone repositories or set up local environments.
Category: Web Development
- Platforms
- Web (Chrome, Firefox, Safari in Compatibility Mode)
- Integrations
- GitHub, CodeflowApp bot
- Deployment
- Cloud (Browser-based)
- Primary Function
- Documentation editing and PR automation
- Runtime Technology
- WebContainers (WebAssembly-based) micro-OS
- Browser Support
- Chrome, Firefox (Full); Safari (Compatibility Mode)
- Live preview updates instantly as you edit documentation
- Automatically handles commits, forks, and pull requests
- Zero local setup required; runs entirely in the browser
- One-click hand-off to full Codeflow IDE for complex edits
Overview
Web Publisher is a browser-based documentation editing tool from StackBlitz designed to simplify the contribution process for both technical and non-technical users. It eliminates the traditional barriers to documentation updates by removing the need to clone repositories, install dependencies, or manage local development servers. The tool provides a side-by-side editor and live preview window that updates in real-time as changes are made. Once edits are finalized, Web Publisher automates the technical overhead of committing changes, forking the repository, and opening a pull request on GitHub. For more complex tasks, it offers a seamless transition to the full Codeflow IDE environment. It is primarily used by open-source maintainers and enterprise teams to encourage broader participation in documentation maintenance.
Documentation Workflow
- Simplified Page Editing: Web Publisher provides a page editing tool that simplifies documentation contributions for both technical and non-technical users.
- Live Previewing: The tool features a preview window that live updates as edits are introduced, allowing users to see changes instantly.
- Automated PR Workflow: Web Publisher automatically commits changes, creates a repository fork, and opens a pull request once the user is ready.
- IDE Hand-off: Users can switch to the full Codeflow IDE environment to modify multiple files or run the entire repository.
Integration and Access
- In-Browser Execution: The tool runs entirely inside the browser, eliminating the need to clone repositories or install local dependencies.
- Compatibility Mode for Safari: A 'Compatibility Mode' is available for Safari users, rendering a Markdown-to-HTML conversion when WebContainers are not supported.
- Customizable CTA Buttons: Documentation owners can add 'Edit in Web Publisher' CTA buttons directly to their websites or README files.
- Link Generator Tool: A link generator is provided to help maintainers specify which file should be featured and which path to render in the preview.
Use cases
- Non-technical team members edit documentation pages directly in the browser with a live preview of their changes.
- Open-source maintainers add 'Edit' buttons to their README files to lower the barrier for community contributions.
- Technical writers use the automated workflow to fork repositories and create pull requests without local Git configuration.
- Developers switch from single-page editing to the full Codeflow IDE to handle complex documentation updates involving multiple files.
Specifications
- Platforms
- Web (Chrome, Firefox, Safari in Compatibility Mode)
- Integrations
- GitHub, CodeflowApp bot
- Deployment
- Cloud (Browser-based)
- Primary Function
- Documentation editing and PR automation
- Runtime Technology
- WebContainers (WebAssembly-based) micro-OS
- Browser Support
- Chrome, Firefox (Full); Safari (Compatibility Mode)
- Authentication Required
- StackBlitz account (GitHub credentials)
- Integration Method
- URL-based (pr.new prefix) or SVG CTA buttons
- Repository Support
- GitHub repositories compatible with Node.js toolchains
How it works
- Check Repository Compatibility: Verify your documentation repository works in WebContainers by adding pr.new to the beginning of its GitHub URL.
- Generate Editing Links: Use the Web Publisher link generator to create a URL that specifies the target file and the initial preview path.
- Add CTA Buttons: Place 'Edit in Web Publisher' CTA buttons on your documentation site or in your repository's README file.
- Contribute and Submit: Users click the link, edit the page with a live preview, and submit their changes as a pull request directly from the browser.
FAQ
Can I modify multiple files with Web Publisher?
While Web Publisher is optimized for single-page edits, users can click their profile picture and select 'Open in Codeflow IDE' to modify multiple files in a full IDE environment.
Does Web Publisher work on Safari?
Yes, Web Publisher includes a 'Compatibility Mode' for Safari that renders a Markdown-to-HTML conversion, allowing users to still submit Pull Requests even without full WebContainer support.
How do I add Web Publisher to my documentation?
You can integrate it by adding a specific URL pattern (starting with pr.new) to your GitHub repository links and optionally adding an 'Edit in Web Publisher' button to your docs.
Added by AntSpace from public sources (developer.stackblitz.com).