An open API service indexing awesome lists of open source software.

https://github.com/pomdtr/smallweb-vscode-extension


https://github.com/pomdtr/smallweb-vscode-extension

smallweb-app

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Smallweb

![extension screenshot](assets/screenshot.jpg)

## Configuration

- `smallweb.dirs` - A list of directories that contain smallweb apps.

```json
{
"smallweb.dirs": [
"/Users/pomdtr/smallweb/smallweb.run",
"/Users/pomdtr/smallweb/pomdtr.me",
"/Users/pomdtr/smallweb/pomdtr.smallweb.live"
]
}
```

## Available Commands

- `Open Current App in Browser` - Open the current app in your default browser.
- `Open Current App in Simple Browser` - Open the current app in the simple browser on the side.
- `Copy Current App URL` - Copy the current app's URL to the clipboard.

## URI handlers

You can open a workspace by using the a `vscode://` URI handler:

```bash
# Windows
start vscode://pomdtr.smallweb/openApp?domain=www.smallweb.run

# Mac OS
open vscode://pomdtr.smallweb/openApp?domain=www.smallweb.run

# Linux
xdg-open vscode://pomdtr.smallweb/openApp?domain=www.smallweb.run
```