Browserific is a framework for building apps in ClojureScript.
This is intended to be a one-stop shop for ClojureScript apps that run on mobile, desktop, or as browser-extensions (wip). Currently, browserific targets Cordova for mobile and NW.js for desktop. Browser extensions that run on Chrome, Firefox, Opera, and Safari are future goals for this project.
Make a new browserific project:
lein new browserific-app awesome-project
Set the configuration stuff for browserific:
lein browserific config
Generate build info:
lein browserific build
Run the compiler commands in separate shells:
lein auto browserific compile
lein cljsbuild auto [platform-dev]
Write app.
Deploy it:
cd resources/[platform-dir]
[insert Cordova or NW.js commands here]
So far the browserific-app
template, lein-browserific
plugin, and
the browserific
library are ready as alpha software.
I set up a Trello board to organize the developement workflow, foster ideas, and discuss some of the design decisions. If you're thinking of contributing please take look at the board.
The biggest item to help with right now would be the browser extension parts. My plan is to work through desktop and mobile first and then focus on the extensions. Any extension work in the meantime would be much appreciated!
This project is meant to assimilate any noteworthy frameworks, so if you have suggestions, file an issue to let me know. Facebook's ReactNative, Mozilla's OpenWebApps, and Google's Chrome Apps are potential candidates for the future.