<commit_before># LoL ItemSet Creator

**Powered by the Champion.gg API and Electron**

## What is this for:

- the app accesses the Champion.gg API and creates ItemSets as .json files, usable in `League of Legends`
- it creates an ItemSet for each role suggested/available in the Champion.gg API
- There are always the following "rows" in each Set
    - StartItems
        - Most Picked
        - Highest Winrate
    - Build
        - Most Picked
        - Highest Winrate
    - Consumables
    - Wards & Trinkets

(The last two will have the skill maxing order for highest winrate and most picked as their "names")

**Note: You will still get flamed for feeding but now you show them your dominance by having the right items**

## But Why?

**mostly for fun, but apart from that**
- learn Node.js & npm
- learn Electron and cross platform developing
- learn git/github
- climb from Bronze V (Silver V now, wohoo)

## How?

To clone and run this repository you'll need [Git](https://git-scm.com), [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)), [Bower](http://bower.io/) and [Electron](http://electron.atom.io/docs/latest) installed on your computer. From your command line:

```bash
# Clone this repository
git clone https://github.com/primus852/c-gg
# Go into the repository
cd c-gg
# Install dependencies and run the app
bower update && npm install && npm start
```

To create an executable please refer to [Electron-Packager](https://github.com/electron-userland/electron-packager)
 
## What's next
A lot actually, some major stuff first
- Make really "cross platform" (I need the Executable "Names" for Mac though)
- Beautify UI
- Give more feedback of what is going on currently in the App
- Error handling

## But I want the compiled stuff
Please see the "compiled" folder

## Meh, can't I have just one Executable?
Soon
- What is stopping me?
    - On Linux, error with windows installer, see [issue#2](https://github.com/primus852/c-gg/issues/2)
    - On Windows, path too long [issue#1](https://github.com/primus852/c-gg/issues/1)

## But me no speak Englando
Ich spreche auch deutsch und arbeite an einer "Übersetzung.". For more languages I will accept PRs (as soon as I have mastered github)

Learn more about Electron and its API in the [documentation](http://electron.atom.io/docs/latest).

#### License [CC0 (Public Domain)](LICENSE.md)<commit_msg>Windows Installer & API Key Handling<commit_after># LoL ItemSet Creator

**Powered by the Champion.gg API and Electron**

## What is this for:

- the app accesses the Champion.gg API and creates ItemSets as .json files, usable in `League of Legends`
- it creates an ItemSet for each role suggested/available in the Champion.gg API
- There are always the following "rows" in each Set
    - StartItems
        - Most Picked
        - Highest Winrate
    - Build
        - Most Picked
        - Highest Winrate
    - Consumables
    - Wards & Trinkets

(The last two will have the skill maxing order for highest winrate and most picked as their "names")

**Note: You will still get flamed for feeding but now you show them your dominance by having the right items**

## But Why?

**mostly for fun, but apart from that**
- learn Node.js & npm
- learn Electron and cross platform developing
- learn git/github
- climb from Bronze V (Silver V now, wohoo)

## How?

To clone and run this repository you'll need [Git](https://git-scm.com), [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)), [Bower](http://bower.io/) and [Electron](http://electron.atom.io/docs/latest) installed on your computer. From your command line:

```bash
# Clone this repository
git clone https://github.com/primus852/c-gg
# Go into the repository
cd c-gg
# Install dependencies and run the app
bower update && npm install && npm start
```

To create an executable please refer to [Electron-Packager](https://github.com/electron-userland/electron-packager)
 
## What's next
A lot actually, some major stuff first
- Make really "cross platform" (I need the Executable "Names" for Mac though)
- Beautify UI
- Give more feedback of what is going on currently in the App
- Error handling

## But I want the compiled stuff
Please see the "compiled" folder 

## Meh, can't I have just one Executable?
Soon
- What is stopping me?
    - On Windows, path too long [issue#1](https://github.com/primus852/c-gg/issues/1)
    - On Linux, error with windows installer, see [issue#2](https://github.com/primus852/c-gg/issues/2)

## But me no speak Englando
Ich spreche auch deutsch und arbeite an einer "Übersetzung.". For more languages I will accept PRs (as soon as I have mastered github)

Learn more about Electron and its API in the [documentation](http://electron.atom.io/docs/latest).

#### License [CC0 (Public Domain)](LICENSE.md)
{'fraction_non_alphanumeric': 0.10041407867494824, 'fraction_numerical': 0.005797101449275362, 'mean_word_length': 3.676669893514037, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5639131', 'n_tokens_mistral': 1487, 'n_tokens_neox': 1390, 'n_words': 617}