Skip to content

NetsBlox/services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ea4099b · Dec 18, 2024
Sep 1, 2023
May 9, 2024
Feb 7, 2024
Jan 31, 2023
Dec 18, 2024
Nov 13, 2024
Aug 27, 2023
Jan 22, 2019
Mar 22, 2018
Sep 21, 2017
Dec 10, 2018
Apr 13, 2023
Aug 22, 2024
Sep 28, 2024
Apr 27, 2024
Apr 30, 2024
Sep 28, 2024
Sep 28, 2024

Repository files navigation

NetsBlox Services

Services are collections of RPCs available to the NetsBlox clients. These can serve a number of different functions including:

  • accessing to existing web APIs
  • accessing real world datasets
  • facilitating development of challenging multiplayer games

For more information, check out the wiki page.

Development

The easiest way to develop services is to run (only) the services server locally and connect to it via the official browser deployment at editor.netsblox.org. To do this, you will need to be logged in and use the NetsBlox CLI to add local services to your account.

If you have not already done so, install the NetsBlox CLI via

cargo install netsblox-cli

Next, add local services to your account.

netsblox service-hosts register http://localhost:8080 LocalServices -u <username>

Then run local services and do any development you need.

PORT=8080 NETSBLOX_CLOUD=https://cloud.netsblox.org NETSBLOX_CLOUD_ID=LocalServices NETSBLOX_CLOUD_SECRET=SuperSecret npm start

And finally, remove local services from your account. This is an optional step; not doing this will only result in a warning message every time you load the editor while local services are not running.

netsblox service-hosts unregister http://localhost:8080 -u <username>