Skip to content

glennw/servo-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Servo Shell

A proof of concept web browser interface for Servo, using the mozbrowser APIs.

Status

Example

  • Create (and close) tabs.
  • Enter URL and hit enter to browse to a site.
  • Back / Forward buttons work.
  • Window title, tabs, url bars update.
  • Loading spinner!
  • The JS / CSS is very simplistic, to work around missing APIs and layout bugs that exist in Servo.

Future Work

  • Fix up layout bugs in existing prototype.
  • Add more shell functionality (as Servo supports more mozbrowser APIs).
  • Switch shell to use react.js when Servo supports it.
  • Make the real browser.html work in Servo :)

How do I use it?

  • Clone and build Servo.
    • Make sure you build Servo in release mode - ./mach build --release - performance will be much better!
  • Clone this repo.
  • ./mach run --release ../servo-shell/index.html --pref dom.mozbrowser.enabled

About

Proof of concept HTML/CSS/JS browser UI for Servo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published