Skip to content

qri-io/starpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Getting Started

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!