Molecule
⚛️ – :atom: – :atom_symbol: Boilerplate for cross platform web/native react apps with electron.
Install / Use
/learn @vectordotdev/MoleculeREADME
molecule
:fire: used in production at Timber.io
:atom_symbol: – :atom: – :atom_symbol: Modern starter kit for React + Electron projects.
Features
- :couple: Builds target both web and native
- :atom: React
- :recycle: Redux
- :blue_book: Redux Saga
- :link: React Router
- :link: :recycle: React Router Redux
- :fire: Hot reloading
- :computer: Webpack dashboard
- :zap: Optimized webpack builds (DLL and CommonsChunks)
- :six: ES6/ES2015
- :curly_loop: Yarn
- :nail_care: Styled Components
- :black_joker: Testing with Jest
- :file_folder: Feature based structure
- :wrench: absolute project imports
import Navigation from 'components/Navigation'
Getting Started
yarnyarn startyarn electron(different tab)
Hot reloading in action (web & native simultaneously)
<a href="https://github.com/timberio/molecule"> <img alt="hot reloading" src="http://g.recordit.co/iHAbdaTheO.gif" height="300px" /> </a>TODO
- [x] jest tests
- [x] don't include node_modules in electron builds
- [ ] look into electron-builder for multi platform builds
- [ ] hot reloading sagas/reducers
- [ ] electron cross process communication (https://github.com/samiskin/redux-electron-store)
- [ ] provide stack examples + installation
- [x] iterate over dev dependencies instead of using explicit vendors.js
- [ ] Deployment guides
- [x] better build logs (https://github.com/ngryman/speedracer for insp.)
- [x] add electron react/redux devtools
Inspiration (Major thanks to these awesome projects/contributors)
- https://github.com/mxstbr/react-boilerplate/
- https://github.com/stsiarzhanau/webpack-react-redux-starter/
- https://github.com/chentsulin/electron-react-boilerplate
- https://github.com/facebookincubator/create-react-app
- https://github.com/pbarbiero/enhanced-electron-react-boilerplate
Related Skills
bluebubbles
339.3kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
slack
339.3kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
