<commit_before># Lnd Web Client

## Installation


### Requirements

* [Git](https://git-scm.com/)
* [NodeJS / npm](https://nodejs.org)

### Procedure

Fetch sources from the Lnd Web Client git repository:

```
git clone https://github.com/mably/lncli-web.git
```
Move into the newly created directory:

```
cd lncli-web
```

Fetch and install all the backend server dependencies by running:

```
npm install
```

Fetch and install all the front end dependencies by running:

```
"./node_modules/.bin/bower" install --allow-root
```

## Execution

Start de back-end server:

```
node server
```

Available command-line arguments:

```
node server --help

  Usage: server [options]

  Options:

    -h, --help                  output usage information
    -V, --version               output the version number
    -s, --serverport [port]     web server listening port (defaults to 8280)
    -l, --lndhost  [host:port]  RPC lnd host (defaults to localhost:10009)
<commit_msg>Basic auth command line parameters added<commit_after># Lnd Web Client

## Installation


### Requirements

* [Git](https://git-scm.com/)
* [NodeJS / npm](https://nodejs.org)

### Procedure

Fetch sources from the Lnd Web Client git repository:

```
git clone https://github.com/mably/lncli-web.git
```
Move into the newly created directory:

```
cd lncli-web
```

Fetch and install all the backend server dependencies by running:

```
npm install
```

Fetch and install all the front end dependencies by running:

```
"./node_modules/.bin/bower" install --allow-root
```

## Execution

Start de back-end server:

```
node server
```

Available command-line arguments:

```
node server --help

  Usage: server [options]

  Options:

    -h, --help                  output usage information
    -V, --version               output the version number
    -s, --serverport [port]     web server listening port (defaults to 8280)
    -l, --lndhost  [host:port]  RPC lnd host (defaults to localhost:10009)
    -u, --user [login]          basic authentication login
    -p, --pwd [password]        basic authentication password	

{'fraction_non_alphanumeric': 0.1269689737470167, 'fraction_numerical': 0.008591885441527447, 'mean_word_length': 2.9923809523809526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '7600391', 'n_tokens_mistral': 682, 'n_tokens_neox': 619, 'n_words': 221}