Getting StartedΒΆ

To get a quick overview of what you can do with vuer, check out the following:

  • take a look at the basic tutorial or the tutorial for robotics: Vuer Basics

  • or try to take a look at the example gallery here

You can install vuer with pip:

pip install -U 'vuer==0.1.6'

Running Vuer from the BrowserΒΆ

Vuer can run directly in the web browser via PyScript and Pyodide. Server dependencies (websockets, aiohttp) are auto-excluded on Emscripten:

import micropip
await micropip.install("vuer")

from vuer.schemas import Scene, Box, Urdf

Now you should be able to run scripts show in the examples, and look at the results on vuer.ai.

To view the scene in VR or AR headsets, you need to install ngrok (see setting up ngrok) to promote the websocket to wss.

Using ngrok to promote to wss://

You need to install ngrok to promote the local vuer server from ws://localhost:8012 to wss://xxxx.ngrok.io, (note the double w[ss] in the protocol), and pass it as a query parameter that looks like this:

  https://vuer.ai?ws=wss://xxxxx.ngrok.io

Note the repeated ws and then wss:// in the query string.

Developing Vuer (Optional)ΒΆ

If you want to develop vuer, you can install it in editable mode plus dependencies relevant for building the documentations:

Using uv (recommended):

cd vuer
uv sync --group dev
source .venv/bin/activate

Using pip:

cd vuer
pip install -e '.[dev]'

To build the documentation:

make clean         # clean the cache from previous building
make docs          # Build HTML documentation
make preview       # Live preview with auto-reload

For more information on contributing, see CONTRIBUTING.md.