Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
title: AsyncAPI VS Code Preview Goes Web: Now Available in Your Browser 🚀
date: 2025-10-14T03:45:29+05:30
type: Community
canonical:
tags: ['vscode-extension','webview']
cover: /img/posts/may-2021-at-asyncapi/cover.webp
authors:
- name: Ruchi Pakhle
photo: /img/avatars/lpgornicki.webp
link: https://twitter.com/Ruchicodess
byline: AsyncAPI Maintainer
excerpt: We’re excited to announce that the AsyncAPI VS Code Preview extension is now compatible with the web version of Visual Studio Code. This means you can preview AsyncAPI files directly in your browser, whether you’re using vscode.dev, github.dev, or a local web extension host.
---

For years, the AsyncAPI VS Code Preview extension has been helping developers visualize and work with AsyncAPI documents directly inside VS Code. But until now, you needed a full desktop installation of VS Code to use it.

With this release, the extension is now fully web-compatible. That means:

✨ **Open any GitHub repo in vscode.dev or github.dev**, and you can instantly preview AsyncAPI files in your browser.
🌐 **No local setup required** — just your browser and an internet connection.
🔄 **Works consistently across desktop and web**, providing the same preview experience.

## What Changed Under the Hood?

Making the extension web-compatible required several technical improvements:

- **Removed Node.js-specific modules** like `fs`, `path`, and external dependencies that are incompatible with browsers
- **Introduced lightweight browser utilities** (`pathUtils`) for cross-platform file handling
- **Removed EDAVisualizer integration** (unmaintained, incompatible with webmode)
- **Updated VS Code dependencies** (`vscode` and `@types/vscode`) to ensure web extension compatibility

## Why Does This Matter?

AsyncAPI adoption is growing quickly, and many contributors explore specs directly from GitHub repositories. Web compatibility lowers the barrier for:

📖 **Contributors reviewing AsyncAPI specs on GitHub** - No need to clone repos locally just to preview files
🚀 **Teams adopting AsyncAPI in cloud-first workflows** - Work entirely in the browser
💡 **New users experimenting** without needing to install VS Code

This is a **huge usability improvement** that makes AsyncAPI more accessible to everyone. Whether you're working with public repositories or have access to private ones, you can now preview AsyncAPI files directly from GitHub with just a few clicks!

## How to Try It Out

1. Open any repo with AsyncAPI files on [vscode.dev](https://vscode.dev)
2. Install the AsyncAPI Preview extension (now web-compatible)
3. Open a `.yaml` or `.json` file and run **AsyncAPI: Preview Document** from the Command Palette
4. That's it! Your AsyncAPI docs will render beautifully in your browser 🚀

## 🎥 Demo

See the AsyncAPI VS Code Preview running in web mode below:

[![Watch the demo](https://drive.google.com/file/d/1GOUTwhHjV0KdBiRuPLJUEQdYaNvUu6e3/view?usp=sharing)](https://docs.google.com/videos/d/1a9raPb68NdEjj6qExkp81CBQicLPwqYg3V9WeG_P1lg/edit?usp=sharing "Click to watch demo")
Comment on lines +52 to +54
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Replace Google Drive video links with accessible demo format.

The video demo section uses Google Drive sharing URLs that are not suitable for direct embedding or browser preview. Readers will be redirected away from the blog to external video services rather than seeing the demo inline. Please replace with:

  • An embedded video iframe if hosting on YouTube, Vimeo, or similar
  • A linked thumbnail + caption describing the demo steps
  • Or remove the section if video is not yet ready
🤖 Prompt for AI Agents
In
pages/blog/asyncapi-vs-code-preview-goes-web-now-available-in-your-browser-.md
around lines 52 to 54, the demo uses Google Drive viewing URLs that cannot be
embedded and force readers offsite; replace this with an accessible demo
solution by either embedding a proper iframe from YouTube/Vimeo (if the video is
hosted there), or by replacing the current markdown link with a linked thumbnail
image plus a short caption summarizing the demo steps, or remove the block if
the video isn’t ready—ensure the new markup uses an embeddable source or a
local/static thumbnail and includes alt text and a descriptive caption.



## Spreading the Word

This web compatibility represents a significant step forward for AsyncAPI tooling accessibility. Here's how we can make the community aware of this improvement:

- **Share your experience** on social media when you try the web extension
- **Demonstrate it during team meetings** to show how easy AsyncAPI adoption can be
- **Contribute to discussions** in the AsyncAPI community Slack about web-based tooling
- **Write about your use cases** and how web compatibility improves your workflow

## Maintenance Mode

This extension is now in maintenance mode:

- We'll continue updating dependencies and ensuring compatibility
- No new major features are planned currently
- Community contributions for bug fixes and improvements are welcome

## What's Next?

We're excited to bring AsyncAPI Preview into the browser, making it even easier for developers to adopt and explore AsyncAPI. This web compatibility opens up new possibilities for:

- **Educational content** - Easier to demonstrate AsyncAPI concepts
- **Open source contributions** - Lower barrier for reviewing and contributing to AsyncAPI projects
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Use hyphen for compound adjective.

Line 79 reads "Open source contributions" but when used as a compound adjective modifying a noun, it should be hyphenated: "open-source contributions".

Apply this diff:

- **Open source contributions** - Lower barrier for reviewing and contributing to AsyncAPI projects
+ **open-source contributions** - Lower barrier for reviewing and contributing to AsyncAPI projects
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- **Open source contributions** - Lower barrier for reviewing and contributing to AsyncAPI projects
- **open-source contributions** - Lower barrier for reviewing and contributing to AsyncAPI projects
🧰 Tools
🪛 LanguageTool

[uncategorized] ~79-~79: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...er to demonstrate AsyncAPI concepts - Open source contributions - Lower barrier for rev...

(EN_COMPOUND_ADJECTIVE_INTERNAL)

🤖 Prompt for AI Agents
In
pages/blog/asyncapi-vs-code-preview-goes-web-now-available-in-your-browser-.md
around line 79, the phrase "Open source contributions" should be hyphenated when
used as a compound adjective; change it to "open-source contributions"
(lowercase initial letter if following sentence casing) to correctly form the
compound modifier.

- **Remote collaboration** - Teams can work with AsyncAPI files without local setup requirements

Give it a try on [vscode.dev](https://vscode.dev) today, and let us know what you think in the [AsyncAPI community Slack](https://www.asyncapi.com/slack-invite). Your feedback helps us continue improving the AsyncAPI developer experience! 🚀
Loading