react-gtk

0.0.4 • Public • Published

react-gtk

npm npm GitHub stars

React bridge for gtk desktop applications

Please ★ this repo if you found it useful ★ ★ ★

Installation

1. Install Gtk and GObject Introspection

Ubuntu
sudo apt-get install \
  build-essential git \
  nodejs \
  gobject-introspection \
  libgirepository1.0-dev
ArchLinux
pacman -S --needed \
  base-devel git \
  nodejs npm \
  gtk3 gobject-introspection
OSX
brew install git node gobject-introspection gtk+3

2. Install react-gtk

npm install --save react-gtk

Dependencies

Usage

index.js

import React, { Component } from 'react';
import { render, Button } from 'react-gtk';
 
class Example extends Component {
  render() {
    return <Button label="Hello, world!" />;
  }
}
 
render(<Example />);
node ./index.js

Support

Submit an issue

Screenshots

Contribute a screenshot

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Liberapay receiving Liberapay patrons

Package Sidebar

Install

npm i react-gtk

Weekly Downloads

3

Version

0.0.4

License

MIT

Unpacked Size

27 kB

Total Files

29

Last publish

Collaborators

  • codejamninja