Skip to content

Parses a color string into RGB format to be send to a Spark Core via the Spark Cloud API.

Notifications You must be signed in to change notification settings

amitburst/texting-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

texting-colors

Parses a color string into RGB format to be send to a Spark Core via the Spark Cloud API.

Usage

Host this server on Heroku or something and make sure to set the PORT environment variable to 80, and the DEVICE_ID and ACCESS_TOKEN environment variables to match those of your Spark Core and account. The server expects a CSS color string (keyword, RGB, HSL, HEX, etc.) in the Body field to POST / (the idea is to set the URL of this server to be hit when an SMS is sent to a phone number given to you by Twilio). The server parses the given CSS color string into RRR,GGG,BBB format and sends it to your Spark Core via the Spark Cloud API at the /color endpoint.

About

Parses a color string into RGB format to be send to a Spark Core via the Spark Cloud API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published