Git Product home page Git Product logo

browser.html's Introduction

build slack

Browser.html

Browser.html is a research project aimed at building native apps in HTML using Servo. 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.

Prerequisites and Setup

You'll need Node and NPM to develop and run the UI locally.

npm install --no-optional
npm start

Running in Servo

First, build Servo.

Then, start the front-end local server:

npm run build-server

Finally, start Servo with the browser.html flags turned on in either debug (-d) or release (-r) mode:

./mach run -r -- -b --pref dom.mozbrowser.enabled http://localhost:6060

Running in Gecko

Browser.html can also be run on top of a Gecko-based version of Graphene. Browser.html was originally prototyped on top of this variant, and we sometimes use it to test and debug missing platform features while Servo undergoes rapid development. 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

browser.html's People

Contributors

andreasgal avatar aurelioderosa avatar bbondy avatar chrmod avatar cvan avatar d3jawu avatar donaldpipowitch avatar elfoxero avatar evilpie avatar fabricedesre avatar ferndot avatar frewsxcv avatar gitter-badger avatar gordonbrander avatar gozala avatar gsiddardha avatar hywan avatar kevingrandon avatar kevinji avatar michaelkohler avatar palmeral avatar paulrouget avatar pquentin avatar renatodeleao avatar yoric avatar

Watchers

 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.