Giter VIP home page Giter VIP logo

office-sign-electron's Introduction

Office Sign

Electron edition

This is an electron version of my digital office sign.

It can dispay configurable messages and timers.

Features

  • Different statuses (Open, Closed, etc)
  • Adjustable timer ⏲️
  • Timer triggered changes ⚡
  • Launch on Startup 🌅

Open and Closed

Controls

  • Number Keys 0-9: Switch between messages
  • Spacebar: Add 10 mins or start 10 min timer
  • Backspace: Reset timer
  • Escape: Exit app
  • F11: toggle Fullscreen

Customising

The business logic is located at /src/routes/index.svelte

You'll find an object called 'messages' you can add to.

The message object looks like:

'keyEvent.key': {     <- key press to switch to message
  title: '',          <- BIG TEXT
  body: '',           <- small text
  bg: '',             <- Classes to add to the back panel
  onStart: () => {},  <- Function to run when switched to
  onTimeout: () => {},<- Function to run when timer runs out
  onEnd: () => {},    <- Function to run when switched from
}

Building

Open the root directory in a terminal and run:

npm i
npm run dev   <- to test program
npm run build <- to build installer

Installer will be located at ./dist/Office Sign Setup x.x.x.exe

office-sign-electron's People

Contributors

garystrousers avatar

Watchers

 avatar

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.