All Projects → zonayedpca → electron-gatsby-boilerplate

zonayedpca / electron-gatsby-boilerplate

Licence: other
Simple Minimal Electron Gatsby Boilerplate. Create new BrowserWindow easily and speed up your development experience. Also included Automatic Linting, Redux, TravisCI Configuration and GitHub Release.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to electron-gatsby-boilerplate

subtle-ui
A collection of clever yet understated user interactions found on the web
Stars: ✭ 39 (+8.33%)
Mutual labels:  gatsby
gatsby-contentful-typescript-starter
Gatsby.js starter with TypeScript and Contentful
Stars: ✭ 15 (-58.33%)
Mutual labels:  gatsby
gatsby-firebase-starter
🔥 Starter Project / Boilerplate for Authentication and creating Dynamic pages from collections with Firebase and Gatsby.js.
Stars: ✭ 61 (+69.44%)
Mutual labels:  gatsby
snipcart-gatsby-demo
Simple e-commerce for socks made with Gatsby, Snipcart and DatoCMS
Stars: ✭ 15 (-58.33%)
Mutual labels:  gatsby
gatsby-starter-shopify
A Gatsby starter using the latest Shopify plugin showcasing a store with product overview, individual product pages, and a cart
Stars: ✭ 229 (+536.11%)
Mutual labels:  gatsby
yezz.me
My personal website 🚀
Stars: ✭ 23 (-36.11%)
Mutual labels:  gatsby
gatsby-simple-blog
an easily configurable gatsby-starter-blog with overreacted looking and tags, breadcrumbs, disqus, i18n, eslint, algolia supported
Stars: ✭ 48 (+33.33%)
Mutual labels:  gatsby
gatsby-starter-i18n-bulma
A gatsby multilanguage template with bulma and i18n: it is a work in progress...
Stars: ✭ 22 (-38.89%)
Mutual labels:  gatsby
gatsby-starter-sass
👓 A Gatsby starter with Sass and no assumptions!
Stars: ✭ 26 (-27.78%)
Mutual labels:  gatsby
www
🦁 Source files for my personal site
Stars: ✭ 64 (+77.78%)
Mutual labels:  gatsby
gatsby-starter-simple
A simple blogging Gatsby starter
Stars: ✭ 13 (-63.89%)
Mutual labels:  gatsby
WebSheets-Listing-Page
This is a Gatsby template for creating a catalogue websites based on Google Sheets data.
Stars: ✭ 29 (-19.44%)
Mutual labels:  gatsby
gatsby-starter-landing-page
🖱 A simple, minimal Gatsby starter for quick and easy landing pages
Stars: ✭ 132 (+266.67%)
Mutual labels:  gatsby
gatsby-wordpress-typescript-scss-blog
Gatsby Wordpress Typescript Blog Boilerplate
Stars: ✭ 50 (+38.89%)
Mutual labels:  gatsby
livestream-gatsby-themes
Source code to demonstrate how to build Gatsby themes, child themes, and sites using themes.
Stars: ✭ 24 (-33.33%)
Mutual labels:  gatsby
gatsby-theme-gallery
🏞 A Gatsby Theme for adding a gallery to your site.
Stars: ✭ 40 (+11.11%)
Mutual labels:  gatsby
prettier-markdown
Parse code blocks in markdown files and run prettier on them
Stars: ✭ 37 (+2.78%)
Mutual labels:  gatsby
donations
Grounding corporate donations in the reality of the individual
Stars: ✭ 17 (-52.78%)
Mutual labels:  gatsby
gatsby-starter-docz
📝 Gatsby starter with Docz and a blog for your documentation
Stars: ✭ 87 (+141.67%)
Mutual labels:  gatsby
skin-ui
A Theme UI Live Preview and Code Editor 🎟️
Stars: ✭ 73 (+102.78%)
Mutual labels:  gatsby

electron-gatsby-boilerplate

Just another Electron boilerplate with Gatsby.

Quick start

Make sure you have Node.js installed:

node -v

If you don't have Node.js installed into your system. Get it from here Once you're done with the installation, then type the following commands:

git clone https://github.com/zonayedpca/electron-gatsby-boilerplate.git
cd electron-gatsby-boilerplate
npm install
npm start

And now you'll see a running desktop application on your screen: screenshot

Structure of the project

This app has two main directory:

  • app (Electron Side)
  • client (Gatsby Side)

app (Electron Side)

Here you will put all of your logic related to Electron itself

client (Gatsby Side)

Here you will put all of you logic for the UI. Inside this directory, you will find another directory called screens. You can create new screens from here. Just give it a name, and you will able to create new BrowserWindow using the name. This boilerplate has also included a helper util function called getWindowURL which will help you to create new BrowserWindow for both production and development mode without any trouble. Just take a look at the given examples with the boilerplate.

Automatic Deployment

This project has also included a very basic configuration for TravisCI to build and deploy the production files to the GitHub release. But you must set an environment variable inside TravisCI's settings: Generate a new personal access token from your GitHub account with scope of repo(All Selected). And then set GH_TOKEN environemt variable inside TravisCI to work it properly.

You can also configure np inside package.json to personalize your deployment:

...
"np": {
		"publish": true,
		"releaseDraft": true
},
...

Development

You are welcome to make a PR for any kind of improvement of this project. If you find any issue, let us know. Thank You!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].