Skip to content

Latest commit

 

History

History
76 lines (43 loc) · 2.59 KB

README.md

File metadata and controls

76 lines (43 loc) · 2.59 KB

balena-electron-vue-pidisplay

A Raspberry Pi project to display the time and weather next to the most recent image in an Instagram feed. Based on balena-electron-vuecli3

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

Development

Create a .env.local 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 VUE_APP_DARKSKY=YOUR_API_KEY_HERE Add an environment variable containing your Instagram token on a new line in the form of VUE_APP_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 in a web page 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