README
react-gtk
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
Jam Risser © 2018
Changelog
Review the changelog
Credits
- Jam Risser - Author
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!