Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qri-io/starpg
A web-based starlark playground
https://github.com/qri-io/starpg
Last synced: 2 months ago
JSON representation
A web-based starlark playground
- Host: GitHub
- URL: https://github.com/qri-io/starpg
- Owner: qri-io
- License: gpl-3.0
- Created: 2018-09-02T15:27:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T08:11:32.000Z (about 2 years ago)
- Last Synced: 2024-06-20T12:01:27.174Z (7 months ago)
- Language: Go
- Homepage:
- Size: 157 KB
- Stars: 30
- Watchers: 6
- Forks: 4
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starlark - Starlark Playground - Starlark Playground (Tools)
- awesome-starlark - Starlark Playground
README
# 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](https://github.com/Microsoft/monaco-editor) editor set to `python` syntax.
### Getting Started
You'll need a recent version of [yarn](https://yarnpkg.com) and [go](https://golang.org). With those installed, run:
```shell
$ 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:
```shell
INFO[0000] starting editor on port 3000
```
From there use a browser to visit `http://localhost:3000`. Happy starlark editing!