GithubHelp home page GithubHelp logo

sabbyt / alfred-display Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfred-mirror/alfred-display

0.0 2.0 0.0 503 KB

Code Fellows 401 Project Week 2 - Mirror Display

License: Other

HTML 5.43% JavaScript 82.29% CSS 12.27%

alfred-display's Introduction

alfred-display

An Internet-of-Things smart mirror built with JavaScript and Raspberry Pi - works with a client-side dashboard which pushes directly to the mirror display.

The App is on Heroku

It is recommended to use the deployed version of this app so you don't have to constantly run multiple local servers. However, an installation guide for a local server is available at Alfred.

Installation via GitHub Repo

Make sure to have a clean version of Raspbian running on your Raspberry Pi. Git clone this repo, install all dependencies and build:

git clone https://github.com/alfred-mirror/alfred-display
cd alfred-display
npm install
gulp build:dev
npm start

Note: npm install takes a long time - to avoid building locally on the Raspberry Pi, try installing with wget.

A window should automatically open. At the top of the window, enter your user id (created after you have registered as a user on the Alfred Dashboard).

If running the entire system locally, make sure both the Alfred Dashboard's server and the Alfred server are also running. The client-dashboard should be now working on the specified port or defaults to localhost:3000.

You can also open the mirror display on localhost:8081 on your preferred browser.

Installation via wget

Make sure to have a clean version of Raspbian running on your Raspberry Pi. Then run the following commands:

wget <put in mirror app download url>
unzip <name of file>

If haven't yet installed an unzipper on your Raspberry Pi: sudo apt-get install unzip

Then inside the unzipped folder, run the local server:

cd <name of file>
node server.js

Open the browser at localhost:8081 and at the top of the window, enter your user id (created after you have registered as a user on the Alfred Dashboard).

The mirror should now be linked to your dashboard.

Issues? Suggestions? Comments?

Submit an issue on GitHub.

License

MIT Licensed. For more details, see the LICENSE file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.