Skip to content

SongleJp/songle-sync-app-pi

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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