Sign inSign up

devatherock/starpg

By devatherock

•Updated about 3 years ago

A web-based starlark playground

Image
0

987

devatherock/starpg repository overview

CircleCI Version Docker Pulls Docker Image Size

⁠Starlark Playground

Starlark Playground is a web-based starlark editor. It uses the golang implementation of starlark running on a server to present a monaco⁠ editor set to python syntax. The playground has been packaged as a docker image and deployed to render⁠

⁠Local setup

You'll need a recent version of yarn⁠ and go⁠. With those installed, run:

$ go get github.com/qri-io/starpg
$ cd $GOPATH/github.com/qri-io/starpg
$ make

You'll see lots of output as the makefile uses yarn to grab bunch of dependencies and build the frontend editor. It'll then install any missing go dependencies and spin up a server. If you see this you're in business:

INFO[0000] starting editor on port 3000

From there use a browser to visit http://localhost:3000. Happy starlark editing!

Tag summary

Content type

Image

Digest

sha256:c113917ac…

Size

27.5 MB

Last updated

about 3 years ago

docker pull devatherock/starpg