Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/torao/doorstep-navi

Repository for the development of information terminals to be installed at the doorstep, displaying the status of the neighbourhood and the near future.
https://github.com/torao/doorstep-navi

Last synced: about 2 months ago
JSON representation

Repository for the development of information terminals to be installed at the doorstep, displaying the status of the neighbourhood and the near future.

Awesome Lists containing this project

README

        

# doorstep-navi

Repository for the development of information terminals to be installed at the doorstep, displaying the status of the neighbourhood and the near future.

Sample Screen

To run doorstep-navi, you must first create a `secrets.json` that will contain
your API keys.

```json
{
"api-keys": {
"openweather": "API_KEY",
"newsapi": "API_KEY",
"google-calendar": { // service account key
"type": "service_account",
"project_id": "xxx",
"private_key_id": "xxx",
"private_key": "-----BEGIN PRIVATE KEY-----\nxxxxxx\n-----END PRIVATE KEY-----\n",
"client_email": "[email protected]",
"client_id": "xxx",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/xxx%40xxx.iam.gserviceaccount.com",
"universe_domain": "googleapis.com"
},
"chatgpt": "xxx"
}
}
```

After preparing `secrets.json`, run doorstep-navi to create the Kiosk screen.

```shell
$ npm start
```

## Linux

Install headless Chrome browser, Japanese fonts, imagemagick, and refresh font
cache.

```shell
$ sudo apt-get install -y chromium-browser libx11-xcb1 libxcomposite1 \
libasound2t64 libatk1.0-0 libatk-bridge2.0-0 libcairo2 libcups2 libdbus-1-3 \
libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 \
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 \
libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 \
libxrender1 libxss1 libxtst6 \
language-pack-ja fonts-ipafont fonts-ipaexfont \
imagemagick

$ fc-cache -fv
```

```shell
$ timedatectl set-timezone Asia/Tokyo
```