lsl-shell
provides a simple Python-based shell for interacting with
in-world API endpoints.
Note: This project is still in an early development stage. Communication protocols will likely change.
- Clone the repository
- Copy the
endpoint.lsl
script contents and paste it in an in-world script - Add the script to a prim
- Copy the emitted URL
- Run
python lslsh.py
- Enter the URL:
connect https://sim[...].agni.lindenlab.com:12043/cap/[...]
- Type
help
for a list of available commands
You can directly interact with other scripts inside the endpoint object. This primarily happens via link messages. Responses from the scripts are returned to the shell.
You can save a script and directly communicate with it through the endpoint. For example, you can work on a mathematical function and receive its output straight in your terminal.
For example:
- Kicking and banning avatars
- Retrieving sim usage statistics (which you can then easily process locally)
- Remotely sending sim-wide messages
It's possible to use the endpoint as a HTTP proxy to visit websites or to make HTTP calls to other in-world objects.