Coder Social home page Coder Social logo

pentagrampro / blueprint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joshmarler/react-juce

0.0 1.0 0.0 3.3 MB

A JUCE Rendering Backend for React.js

License: MIT License

C++ 1.31% C 94.47% CoffeeScript 0.01% Makefile 0.22% JavaScript 1.51% HTML 0.03% CSS 0.06% Objective-C 0.27% Python 2.13%

blueprint's Introduction

Blueprint

A JUCE rendering backend for React.js

Blueprint is an experimental JavaScript/C++ framework that enables a React.js frontend for a JUCE application or plugin. It provides an embedded, ECMAScript-compliant JavaScript engine via Duktape, native hooks for rendering the React component tree via juce::Component instances, and a flexbox layout engine via Yoga.

For more information, see the introductory blog post here: Blueprint: A JUCE Rendering Backend for React.js

Examples

Blueprint is a very young project, but already it provides the framework on which the entire user interface for Creative Intent's forthcoming plugin, Remnant, is built.

Creative Intent Remnant: Beta screenshot

Besides that, you can check out the BlueprintPlugin example in the examples/ directory. See the "Getting Started" section below for building and running the demo plugin.

Getting Started

First, you'll need to collect the code and its dependencies.

Getting the code

$ git clone --recurse-submodules [email protected]:nick-thompson/blueprint.git

or

$ git clone [email protected]:nick-thompson/blueprint.git
$ cd blueprint
$ git submodule update --init --recursive

Running the examples

$ cd blueprint/packages/juce-blueprint
$ npm install
$ npm run build
$ cd ../../examples/BlueprintPlugin/Source/ui/
$ npm install
$ npm run build

Then open up the appropriate exporter for your platform from the appropriate example plugin directory and build as usual.

Starting your project

$ cd blueprint/packages/juce-blueprint
$ npm install
$ npm run build
$ npm run init -- path/to/your/project/directory
$ cd path/to/your/project/directory
$ npm start

Now Webpack will watch your JavaScript files for changes and update the bundle on save. The last step is to add the blueprint::ReactApplicationRoot to your project and mount it into your editor. See the PluginEditor.cpp file in the BlueprintPlugin example for how to do that.

Contributing

Yes, please! I would be very happy to welcome your involvement. Take a look at the open issues or the project tracker to see if there's outstanding work that you might be able to get started. Or feel free to propose an idea or offer feedback by opening an issue as well.

I don't have a formal style guide at the moment, so please try to match the present formatting in any code contributions.

License

See LICENSE.md

blueprint's People

Contributors

nick-thompson avatar tobiashienzsch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.