{"id":20410809,"url":"https://github.com/aerolab/rooms","last_synced_at":"2025-09-08T02:40:08.373Z","repository":{"id":49519341,"uuid":"100632163","full_name":"Aerolab/rooms","owner":"Aerolab","description":"A simple Display for Meeting Rooms","archived":false,"fork":false,"pushed_at":"2024-01-26T08:39:39.000Z","size":1321,"stargazers_count":103,"open_issues_count":1,"forks_count":31,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-04-18T13:01:10.501Z","etag":null,"topics":["google-calendar","meeting-rooms","nodejs","react"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aerolab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-17T18:12:30.000Z","updated_at":"2024-03-16T05:28:00.000Z","dependencies_parsed_at":"2022-08-29T14:41:25.287Z","dependency_job_id":null,"html_url":"https://github.com/Aerolab/rooms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aerolab%2Frooms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aerolab%2Frooms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aerolab%2Frooms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aerolab%2Frooms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aerolab","download_url":"https://codeload.github.com/Aerolab/rooms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224737156,"owners_count":17361345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-calendar","meeting-rooms","nodejs","react"],"created_at":"2024-11-15T05:48:25.491Z","updated_at":"2024-11-15T05:48:26.066Z","avatar_url":"https://github.com/Aerolab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meeting Room Display\n\n![Meeting Room Display](http://i.imgur.com/jBEWBWr.jpg)\n\nThis is a side project we built at [Aerolab](https://aerolab.co) to show which meeting rooms are currently available (and for how long), as well as giving you the ability to anonymously book them for 30' with a single tap. This is all based on Google Calendar in a typical Google Apps for Business package.\n\nThe motivation behind this is that most meeting room software is needlessly complicated (and expensive!), so we built exactly what we needed as a Web App, which is then deployed to a bunch of cheap Fire HD 8 tablets using a headless web browser. It's simple, it works well to let people know that they shouldn't use a specific meeting room, and it looks kind of cool.\n\n\n## Setup \u0026 Config\n\nThis is a standard Node.js project, so you just need to run `npm ci` to install the dependencies and `npm run dev` to start development mode with live reload. Run `npm run build` and then `npm start` to run the app in production mode.\n\nThis is the most complicated step, as you are going to need to add two JSON files to make things work: A Google Credentials File, and a list of Meeting Rooms (also known as Resources in Google Calendar).\n\n### Google Credentials\n\nGo to the [Google Developer Console](https://console.developers.google.com/) and create a new Project. After that's done, you need to do a few more things:\n\n* From the Library menu, you need to **Enable the Google Calendar API** (use the search if it's not in the popular list)\n* From the Credentials menu, **Create a Service Account**, and select JSON as the key type. Save this file as you'll need it in a while.\n* Take note of the **Service Account ID** as well (it looks like accountname@(...).iam.gserviceaccount.com)\n* Rename the JSON key file to **rooms-client.json** and place it in the root of the project.\n\n### Configure the supported Meeting Rooms\n\nGo to [Google Calendar](https://calendar.google.com) and click edit on each meeting room calendar. For each one of them do the following:\n\n* On the Calendar Details tab, **Take note of the Calendar ID** (it looks like domain_123@resource.calendar.google.com).\n* Under the Share this Calendar, **Share it with the Service Account ID** (add accountname@(...).iam.gserviceaccount.com to the calendar and give it full access)\n\nAfter you've done that, you need to **Create a rooms.json file** in the root of the project detailing all the enabled rooms, their names and Calendar IDs, using a slug as the key. It should look like this:\n\n```json\n{\n    \"lounge\": {\"name\": \"Lounge\", \"slug\": \"lounge\", \"position\": \"right\", \"id\": \"domain_123@resource.calendar.google.com\"},\n    \"super-room\": {\"name\": \"Super Room\", \"slug\": \"super-room\", \"position\": \"left\", \"id\": \"domain_456@resource.calendar.google.com\"},\n}\n```\n\nThe `position` just shows where the room is located relative to the display. The only options are `left` or `right`.\n\n## Using the app\n\nOpen a browser on **http://localhost:3000/room-slug** (not literally, replace room-slug with the proper room key, like *lounge* or *super-room*). You should be able to see the current status of the room and book it.\n\n## Deploying\n\nWe provide a Dockerfile, which you can easily use on [Now](https://zeit.co/now), or any other service you prefer. We are not using any sort of authentication or env variables as this is a quick internal project, but you're free to add some sort of auth if you want.\n\n## License\n\nMIT, of course.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerolab%2Frooms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faerolab%2Frooms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerolab%2Frooms/lists"}