Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/torao/doorstep-navi
- Owner: torao
- License: mit
- Created: 2024-05-16T23:20:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-28T21:20:03.000Z (7 months ago)
- Last Synced: 2024-05-29T01:14:53.467Z (7 months ago)
- Language: JavaScript
- Size: 6.63 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
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
```