<commit_before># ledman

A LED command and control thing. Build with [pi-blaster](https://github.com/sarfata/pi-blaster) and [Bottle](http://bottlepy.org/).

# Install

    cd ~
    git clone https://github.com/victorhaggqvist/ledman
    cd ledman
    sudo apt-get install python-pip
    sudo pip install -r requirements.txt
    sudo rm /etc/nginx/sites-enabled/default
    sudo ln -s /home/pi/ledman/nginx.conf /etc/nginx/sites-enabled/ledman
    chmod +x ledman.py
    ./ledman -s start

# License
<commit_msg>feat: add some config details<commit_after># ledman

A LED command and control thing. Build with [pi-blaster](https://github.com/sarfata/pi-blaster) and [Bottle](http://bottlepy.org/).

# Install

    cd ~
    git clone https://github.com/victorhaggqvist/ledman
    cd ledman
    sudo apt-get install python-pip
    sudo pip install -r requirements.txt
    sudo rm /etc/nginx/sites-enabled/default
    sudo ln -s /home/pi/ledman/nginx.conf /etc/nginx/sites-enabled/ledman
    chmod +x ledman.py
    ./ledman -s start
    
# Config
On first run a config file will be created. Edit it as you like.

Multiple apikeys may be added comma (,) separeted.

Also since the the server make use of tmiebased tokens for auth, make sure to have your timezone setup. On a debian system this can be done like so.

    sudo dpkg-reconfigure tzdata

# License

{'fraction_non_alphanumeric': 0.0988929889298893, 'fraction_numerical': 0.0, 'mean_word_length': 3.0237388724035608, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '3240799', 'n_tokens_mistral': 480, 'n_tokens_neox': 448, 'n_words': 146}