limbo127 / westfield

Wayland HTML5 Browser IPC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Westfield

Build Status

A JavaScript Wayland protocol generator. Generates JavaScript RPC stubs based on a wayland xml to let native Wayland applications talk the browser. The primary use case being Greenfield.

server

Inside the server/node directory the following modules are present:

  • runtime: Provides the server side api and other tooling required at runtime.

  • generator: Generates server side protocol stubs at build time, using a Wayland protocol xml file.

  • endpoint: A shim Wayland compositor. Forwards raw wire protocol messages.

  • endpoint-native: A fork of libwayland-server used by the endpoint module.

    • Requires native libffi headers to build. sudo apt-get install -y libffi-dev
    • Requires cmake-js on your path. npm install -g cmake-js
  • endpoint-generator: Generates shim Wayland server protocol stubs to properly interoperate with natively implemented Wayland server libraries.

About

Wayland HTML5 Browser IPC

License:MIT License


Languages

Language:C 58.7%Language:TypeScript 31.0%Language:JavaScript 9.0%Language:CMake 1.0%Language:Shell 0.3%