Giter VIP home page Giter VIP logo

display's Introduction

ACM Display

Digital signage for the ACM Office television.

Setup

npm install
cd src
cp secrets.js.sample secrets.js

Populate secrets.js with your API keys.

How to run

Download a prebuilt binary of Electron. Then run:

npm start

If you need to use a custom version of electron:

npm run build
/path/to/electron . # Replace with actual path to Electron binary

Adding a new Panel

A panel is just a React component that can be fit flexibly inside a div (to conform with the dashboard layout). To add a new type of panel:

  1. Create a new panel component in src/panels/.
  2. Import your panel component in src/panels.js and give it a representative name.
  3. Add an entry in src/layout.json to render your panel on the dashboard.
  4. Follow the instructions for 'Changing the layout' to graphically resize and position your panel.

Changing the layout

You can manually edit src/layout.json to change the layout of the Dashboard. However, you can also run dashboard in layout mode with --layout, which allows you to drag and resize panels.

  1. Run npm run start:layout or /path/to/electron . --layout

  2. Drag and resize panels on the dashboard.

  3. Copy the newly created current_layout.json from the project root directory to src/layout.json.

    mv curent_layout.json src/layout.json

Raspberry Pi setup guide

See the wiki for instructions for setting up a production display on a Raspberry Pi.

display's People

Contributors

bcongdon avatar berwinxie avatar dl-eric avatar justinyangusa avatar kevinwang avatar pranaygp avatar sskhandek avatar tommypacker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

display's Issues

Post April Fools

Need to revert title from Academy of Country Music since April Fools has ended

Intermittent freezing

The display will freeze and require a hard reboot to work again. Sometimes the freeze is at random, however many times it freezes at a blank white screen which I believe comes during boot and then gets stuck. There could be other things other than bootup causing the white screen to come and freeze but currently unsure

Add a maintance / contributors guide

since @kevinwang is graduating at the end of the semester it would be good to have a guide that explains the standards and practices used in this repo, and potential new features / bugs to be resolved in the pipeline.

BeatsPanel Content Overflow

Overflow isn't handled gracefully in BeatsPanel at the moment. (Occurs for long song/album/artist names)

Should consider adding something like jQuery.Marquee. I tried using react-marquee, but found it lacking. Also, probably possible in bare CSS.

image

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.