A Raspberry Pi time and weather display project
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.electron-vue
build/icons
dist
docker
src
static
test
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
Dockerfile.template
LICENSE.md
README.md
package-lock.json
package.json
yarn.lock

README.md

balena-electron-vue-pidisplay

A Raspberry Pi time and weather display project based off of resin-electron-vue

Storing a DarkSky API Key and Instagram Token for Development and Production

Development

Create a .env file in the root directory of your project. Add an environment variable containing your DarkSky API key on a new line in the form of DARKSKY=YOUR_API_KEY_HERE Add an environment variable containing your Instagram token on a new line in the form of INSTAGRAM=YOUR_TOKEN_HERE

Production

For a Balena (formerly Resin.io) device, create a DARKSKY device variable and an INSTAGRAM device variable in the dashboard.

Build Setup

# install dependencies
yarn install

# serve with hot reload at localhost:9080
yarn run dev

# build electron application for production
yarn run build


# lint all JS/Vue component files in `src/`
yarn run lint

Feature Wishlist:

  • Serve up display remotely

Some Things Learned From Working On This Project:


This project was generated with electron-vue@3a1e893 using vue-cli.

Integrated with resin based on resin-electronjs

Documentation about the original structure can be found here.

The weather icons used in this project come from Weather Icons