If you are a developer, you most likely don’t want to run your code directly in the browser.

In the Browser

It is important to note that in the browser you progress is saved in the browser automatically.

Also on alpha.near.org gateway there is a save on chain vs publish on chain (both cost NEAR)

Screenshot 2023-03-09 at 3.38.11 PM.png

If you are building a widget that needs packages installed in the gateway join the viewers respective telegram channel and request for the dependency to be added by the respective gateway mantaininer or build your own gateway

Running Locally

This is a CLI tool that allows you to run and test your Near Social Widgets locally using just your preferred code editor and your default browser.

https://github.com/wpdas/near-social-local-viewer

Untitled

You can directly run you and deploy your widgets to github and the bOS simultaneously with the NEAR Discovery CLI https://github.com/FroVolod/near-social (WIP). Additionally you can have syntax highlighting for bOS with the following VS Code Extension https://github.com/near/near-vscode

Screenshot 2023-03-09 at 3.38.36 PM.png

Screenshot 2023-03-09 at 3.38.59 PM.png