GithubHelp home page GithubHelp logo

abordin / browserhtml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from browserhtml/browserhtml

0.0 2.0 0.0 34.25 MB

Experimental Servo browser built in HTML

License: Other

Shell 0.34% JavaScript 89.25% CSS 0.57% HTML 9.85%

browserhtml's Introduction

build slack

Browser.html

Browser.html is a research project aimed at building an experimental Servo browser in HTML. This project has 2 major pieces:

  • Graphene: a runtime for building native apps in HTML. It's currently in development and part of Servo.
  • Browser.html: an experimental browser UI for desktop.

This repository is for Browser.html (the front-end). Active development of Graphene happens in the Servo repository. Questions? Check out the FAQ.

browser

Contributing

We welcome contributions from anyone. See CONTRIBUTING.md for help getting started.

Building and Running

The Browser.html UI is bundled with Servo. To run it, you'll need to build Servo.

First, install Servo's prerequisites. Then, clone and build Servo:

git clone https://github.com/servo/servo
cd servo
./mach build -r

Finally, run Servo with the --browserhtml flag.

./mach run -r --browserhtml

Developing the Front-end

If you're working on the Browser.html front-end, you'll want to run the web app locally.

Prerequisites: You'll need Node and NPM. Next, clone Browser.html and install its Node dependencies.

git clone https://github.com/browserhtml/browserhtml.git
cd browserhtml
npm install --no-optional

Then, start the front-end local server:

npm run build-server

Finally, in a new command line interface application (ex: Terminal), start Servo with the Browser.html flags turned on in either debug (-d) or release (-r) mode:

./mach run -r -- -b -w --pref dom.mozbrowser.enabled --pref dom.forcetouch.enabled --pref shell.builtin-key-shortcuts.enabled=false http://localhost:6060

Running in Gecko

Browser.html can also be run on top of a Gecko-based version of Graphene. We sometimes use this variant to test and debug features that haven't yet landed in Servo. Build instructions for Gecko-flavored Graphene can be found on the wiki.

Using WebIDE

The easiest way to use developer tools with Browser.html is to select the "Remote Runtime" option in WebIDE while using the Gecko Graphene runtime.

By default you should be able to connect to the running browser at: localhost:6000.

Integration Tests

Run integration tests with ./test/runall.sh. You need to have a Graphene Gecko binary symlinked in the root of the repository.

ln -s ../gecko/obj-graphene/dist/Graphene.app graphene

browserhtml's People

Contributors

andreasgal avatar cbrewster avatar chrmod avatar coder206 avatar d3jawu avatar donaldpipowitch avatar elfoxero avatar evilpie avatar fabricedesre avatar ferndot avatar gitter-badger avatar gordonbrander avatar gozala avatar gsiddardha avatar kevingrandon avatar kevinji avatar linclark avatar meehow avatar metajack avatar michaelkohler avatar notriddle avatar ochameau avatar onurtemizkan avatar palmeral avatar paulrouget avatar pquentin avatar renatodeleao avatar theefer avatar tschneidereit avatar vvuk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.