Sign inSign up

oaklabs/app-keyboard-oak

By oaklabs

•Updated about 6 years ago

This example shows how to capture key events using Oak and Electron on OakOS

Image
0

1.2K

oaklabs/app-keyboard-oak repository overview

⁠app-keyboard-oak

An example app that demonstrates how keypress events can be captured usin the oak npm module

⁠Running locally

Make sure that you are running the right version of Node locally. You will find the required version in the .nvmrc file If you are not running the same version (node -v) then you will need to run

nvm install $(cat .nvmrc)
npm run rebuild
⁠Now you can run electron locally
npm run dev
⁠Running in a docker container
xhost +
docker-compose up --build
⁠Shutting down the docker container
docker-compose down

⁠Example Installation

{
  "services": [
    {
      "image": "index.docker.io/oaklabs/app-keyboard-oak:release-1.0.0",
      "environment": {
        "TZ": "America/Phoenix"
      }
    }
  ]
}

Tag summary

Content type

Image

Digest

Size

559.1 MB

Last updated

about 6 years ago

docker pull oaklabs/app-keyboard-oak