Giter VIP home page Giter VIP logo

lsl-shell's Introduction

lsl-shell

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.

Getting started

  1. Clone the repository
  2. Copy the endpoint.lsl script contents and paste it in an in-world script
  3. Add the script to a prim
  4. Copy the emitted URL
  5. Run python lslsh.py
  6. Enter the URL: connect https://sim[...].agni.lindenlab.com:12043/cap/[...]
  7. Type help for a list of available commands

Use cases

Interacting with other scripts

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.

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.

Administrative tasks

For example:

  • Kicking and banning avatars
  • Retrieving sim usage statistics (which you can then easily process locally)
  • Remotely sending sim-wide messages

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.

lsl-shell's People

Contributors

bird-get avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.