0.0.4 • Published 5 years ago

react-gtk v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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