blighli / puppy-browser

An example implementation of a tiny Web browser for educational purposes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

puppy

Run tests Run lint

puppy is an example implementation of a tiny Web browser for educational purposes.

puppy-browser

How to run puppy locally

You can run puppy program with the following command(s):

cargo run -- help

How to install puppy

You can install puppy by the following command(s):

cargo install --locked --path . --force

After you have successfully installed puppy, you can see help as follows:

puppy help

You can install shell completions as follows:

# in bash
eval "$(puppy completion bash)"

# in fish
puppy completion fish | source

How to run tests locally

You can run tests with the following command(s):

cargo test

How to speed up build process

You can cache files related to V8 as follows:

$ export RUSTY_V8_MIRROR=$HOME/.cache/rusty_v8
(...omitted...)
$ ./scripts/prepare-v8.sh
(...omitted...)
$ cargo build
(...omitted...)

About

An example implementation of a tiny Web browser for educational purposes.

License:MIT License


Languages

Language:Rust 99.5%Language:Shell 0.5%