Skip to content

Songle Sync Raspberry Pi向けslaveプロジェクト

Notifications You must be signed in to change notification settings

SongleJp/songle-sync-app-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Songle Sync Raspberry Pi向けslaveプロジェクト

Raspberry PiのオンボードLEDが拍に合わせて明滅します。

必要なもの

初期設定

Node.jsをインストールするには以下を実行します。

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt install nodejs

次に、アクセストークンをsettings.js に設定します。

使い方

以下のようにして実行してください。 npm install は最初の一度だけ必要です。

$ git clone https://github.com/SongleJp/songle-sync-app-pi
$ cd songle-sync-app-pi
$ npm install
$ node index.js

ビルド方法

index.ts はTypeScriptで書かれているので、 tsc コマンドを使ってビルドしてください。 index.js が上書きされます。

$ tsc

tsc がインストールされていない環境では、まず以下のようにしてインストールする必要があります。

$ npm install -g typescript

About

Songle Sync Raspberry Pi向けslaveプロジェクト

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published