Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

exokit

Package Overview
Dependencies
Maintainers
1
Versions
388
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exokit

Browser environment for node.js

  • 0.0.25
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
48
decreased by-88.15%
Maintainers
1
Weekly downloads
 
Created
Source

Exokit: Javascript web browser for the post-screen world

exokit https://example.com # run site in WebGL/VR/AR

Exokit is a full HTML5 web browser, written as a node.js module. It lets you run a web site as a program.

Exokit can do everything a browser can do -- except render HTML.

What? Isn't that useless?

Exokit can't render HTML, but it can draw Canvas and WebGL -- natively, and fast -- as well as take keyboard/mouse/mixed reality input with the regular APIs. It's a browser for the post-(2D) world.

Think JSDOM, except it actually runs the DOM in a window. Or think Electron, except 300k and no compile step. Or, think an emulator for running web sites.

The multipmedia parts (e.g. WebGL) are pluggable native modules. Everything else is Javascript. It's pretty easy to experiment and add new Web APIs.

Exokit runs on Android/iOS, as well as Windows, Linux, and macOS.

Examples

What Exokit can do:

  • Load any https: site
  • Parse a programmatic DOM
  • Run any <script>
  • Load <image>, <video>, <audio>
  • Web Workers
  • Canvas 2D
  • WebGL
  • WebVR
  • Gamepad input
  • Iframe isolation
  • Embed anywhere with node
  • Run on Android/iOS
  • Run tests
  • Power a web bot
  • jQuery, if you really want

What Exokit cannot do:

  • Render a web page
  • CSS
  • Interactive HTML forms
  • A million legacy APIs
  • Security; wrap it in something like Docker

FAQ

Why?

The web is imporant. The most important part of the web is that it's open. The web is not open if you need to be a genius to build a web browser.

Despite modern browsers being nominally open source, their code is impenetrable. You've probably never compiled a web browser, and almost certainly never added things. Despite the amount of time you spend in a browser.

With Exokit, anyone can write some Javascript to control their experience of the web.

Platform support?

Works:

  • Android

Planned:

  • Windows
  • macOS
  • iOS
  • Linux

The core is Javascript and is platform-agnostic. Porting work is restricted to the native graphics APIs.

Web API support?
  • HTTP(S)
  • HTML5
  • ES7 (whatever Node.js you use)
  • DOM
  • CanvasRenderingContext2D
  • Image tag
  • Audio tag
  • Video tag
  • Keyboard/Mouse events
  • WebGL
  • WebVR
  • Gamepad API
  • No HTML layout
  • No HTML rendering
  • No CSS
Community?
  • Slack

Keywords

FAQs

Package last updated on 05 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc