Sign inSign up

pranaygp/browse

By pranaygp

Updated almost 6 years ago

A docker image containing node, puppeteer and browse - https://github.com/windsorio/browse

Image
0

296

pranaygp/browse repository overview

The Browse Language

IMPORTANT: To use any of the scraping/web browser features, add --web when starting the browse repl or running a script

Installation

To install locally, simply run

npm i -g @browselang/cli

If you use VSCode, get the extension

code --install-extension pranaygp.browse-vscode

Usage

Hop into a browse repl

browse

Or execute a browse script

browse examples/basic/fibonacci.browse

Documentation

It's all on the Wiki

Using browse with Docker

There's a pre-build docker image available called pranaygp/browse that comes with browse and node preinstalled.

To hop into a browse repl, simply run

docker run --rm -it pranaygp/browse

Here's an example that can be run within this repo, that executes one of the example files

docker run --rm -it -v $(pwd)/examples:/examples pranaygp/browse /examples/fibonacci.browse

Tag summary

Content type

Image

Digest

Size

591.7 MB

Last updated

almost 6 years ago

docker pull pranaygp/browse