D10221 / gjsx

Using JSX and typescript with GJS to create Gtk widgets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gjsxml

gjs, jsx, xml and friends

Exploring with GJS JSX and Typescript

Init & Run

yarn && yarn build && yarn start app

Credits, inspiration and resources

Debug

  • enable inspector
    $ gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true

Engine

  • gjs: 1.72

Known issues

  • Wsl Ubuntu 20.4 ships with older gjs, it doesn't support modules
  • Can't use jsx-xml, js engine doens't like the output syntax, it seems to be related to it's dependencies
  • flatpaked on wsl can' find $DISPLAY, but it works over ssh -X with a bit of work

About

Using JSX and typescript with GJS to create Gtk widgets


Languages

Language:TypeScript 73.4%Language:Shell 13.5%Language:JavaScript 13.2%