udevbe / westfield

Wayland HTML5 Browser IPC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moved to https://github.com/udevbe/greenfield monorepo

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 57.8%Language:TypeScript 35.3%Language:JavaScript 6.1%Language:CMake 0.6%Language:Shell 0.2%