355376ccc640d79db18b361f7a0de27c5c3e8418
lsl-shell
lsl-shell provides a simple Python-based shell for communicating with
in-world API endpoints.
Getting started
- Clone the repository
- Copy the
endpoint.lslscript 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
helpfor a list of available commands
Use cases
Interacting with other scripts
You can directly interact with other scripts inside the endpoint object via link messages and receive their output.
Rapid script development
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.
Administration tasks
For example:
- Kicking and banning avatars
- Retrieving sim usage statistics (which you can then easily process locally)
HTTP proxy
It's possible to use the endpoint as a HTTP proxy to visit websites or to make HTTP calls to other in-world objects.
Description
Languages
LSL
70.4%
Python
29.6%