<commit_before># colorpicker-beaglebone
A socket.io 1.0 client that connects to a [colorpicker-server](http://github.com/lordnibbler/colorpicker-server) socket.io server.  

Its main purpose is to write rgb color data to a colors.txt file for [halo](https://github.com/lordnibbler/halo) to read.

## Getting Started
You'll need a [colorpicker-server](http://github.com/lordnibbler/colorpicker-server) instance running before this client is useful.  You can deploy this server to a free host like Heroku or Nodejitsu, or test locally.

```sh
# set up the GUI and server
git clone <EMAIL>:Lordnibbler/colorpicker-server.git
cd colorpicker-server
npm install -d
npm start

# set up the client
git clone <EMAIL>:Lordnibbler/colorpicker-beaglebone.git
cd colorpicker-beaglebone
npm install
npm start
```
You should see a `connected to socket at http://127.0.0.1:1337` message.

Browse to <http://localhost:1337> to use the GUI.

## Configuring a Beaglebone Black with Angstrom Distro<commit_msg>Update readme to be accurate<commit_after># colorpicker-beaglebone
A socket.io 1.1 client that connects to a [colorpicker-server](http://github.com/lordnibbler/colorpicker-server) socket.io server.

Its main purpose is to convert an array of JSON RGB objects like `[{ r: 100, g: 50, b: 0 }, { r: 100, g: 50, b: 0 }` into a UART instruction like `'345,5,1,100,50,0;2,100,50,0,3,000,000,000,4,000,000,000,5,000,000,000;'`, and pipe it over UART to `/dev/ttyO1`.

## Getting Started
You'll need a [colorpicker-server](http://github.com/lordnibbler/colorpicker-server) instance running before this client is useful.  You can deploy this server to a free host like Heroku or Nodejitsu, or test locally.

```sh
# set up the GUI and server
git clone <EMAIL>:Lordnibbler/colorpicker-server.git
cd colorpicker-server
npm install -d
npm start

# set up the client
git clone <EMAIL>:Lordnibbler/colorpicker-beaglebone.git
cd colorpicker-beaglebone
npm install
npm start
```
You should see a `connected to socket at http://127.0.0.1:1337` message.

Browse to <http://localhost:1337> to use the GUI.

## Configuring a Beaglebone Black with Angstrom Distro
{'fraction_non_alphanumeric': 0.1050656660412758, 'fraction_numerical': 0.04362101313320826, 'mean_word_length': 4.796195652173913, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5718755', 'n_tokens_mistral': 771, 'n_tokens_neox': 685, 'n_words': 250}