<commit_before>cryptonote-cli
==============

Use [CryptoNote](https://cryptonote.org/) from the command line:

```bash
$ cryptonote 'I am using CryptoNote.org from the command line'
https://cryptonote.org/messages/387213a5-1f2a-4b78-b8db-f1987644f95f?gen_password=<PASSWORD>
```

Config
------

This depends on:

 * CasperJS
 * Coffee Script

Use [brew](http://brew.sh/) and [npm](https://npmjs.org/) to install:

```bash
$ brew update
$ brew install casperjs
```

```bash
$ sudo npm install -g coffee-script
```

Setup
-----

Clone wherever:

```bash
$ cd ~/Downloads
$ git clone <EMAIL>:backus/cryptonote-cli.git
```

Link the two files into your path:

```bash
$ cd ~/usr/local/bin
$ ln -s ~/Downloads/cryptonote-cli/cryptonote.coffee
$ ln -s ~/Downloads/cryptonote-cli/cryptonote
$ chmod 777 cryptonote
```

*Optional*: If you don't link into `/usr/local/bin` then change `cnpath` in `cryptonote` to the appropriate directory.

Usage
-----

Open the command line and type:

```bash
$ cryptonote 'YOUR SECRET MESSAGE'
```

and get your URL. Remember the single quotes.

Bonus
-----

I made this so I could create notes from [Alfred](http://www.alfredapp.com/). With cryptonote-cli I can now activate alfred via a hotkey and type my message like so:

Picture #1

and a few seconds later Alfred copies the CryptoNote URL to my clipboard and notifies me:

Picture #2

Setting Up CryptoNote + Alfred
------------------------------

I've included the Alfred Workflow in the repo.  To install it you can just go to the repo directory and open the file, Alfred should do the rest:

```bash
$ cd ~/Downloads/cryptonote-cli
$ open cryptonote.alfredworkflow
```
<commit_msg>images<commit_after>cryptonote-cli
==============

Use [CryptoNote](https://cryptonote.org/) from the command line:

```bash
$ cryptonote 'I am using CryptoNote.org from the command line'
https://cryptonote.org/messages/387213a5-1f2a-4b78-b8db-f1987644f95f?gen_password=<PASSWORD>tjzTGeDnQc6vcf<PASSWORD>irSBbAt
```

Config
------

This depends on:

 * CasperJS
 * Coffee Script

Use [brew](http://brew.sh/) and [npm](https://npmjs.org/) to install:

```bash
$ brew update
$ brew install casperjs
```

```bash
$ sudo npm install -g coffee-script
```

Setup
-----

Clone wherever:

```bash
$ cd ~/Downloads
$ git clone git@github.com:backus/cryptonote-cli.git
```

Link the two files into your path:

```bash
$ cd ~/usr/local/bin
$ ln -s ~/Downloads/cryptonote-cli/cryptonote.coffee
$ ln -s ~/Downloads/cryptonote-cli/cryptonote
$ chmod 777 cryptonote
```

*Optional*: If you don't link into `/usr/local/bin` then change `cnpath` in `cryptonote` to the appropriate directory.

Usage
-----

Open the command line and type:

```bash
$ cryptonote 'YOUR SECRET MESSAGE'
```

and get your URL. Remember the single quotes.

Bonus
-----

I made this so I could create notes from [Alfred](http://www.alfredapp.com/). With cryptonote-cli I can now activate alfred via a hotkey and type my message like so:

![Alfred CryptoNote Usage](http://i.imgur.com/Tua0KSf.png)

and a few seconds later Alfred copies the CryptoNote URL to my clipboard and notifies me:

![CryptoNote Notification](http://i.imgur.com/qG5JfTC.png)

Setting Up CryptoNote + Alfred
------------------------------

I've included the Alfred Workflow in the repo.  To install it you can just go to the repo directory and open the file, Alfred should do the rest:

```bash
$ cd ~/Downloads/cryptonote-cli
$ open cryptonote.alfredworkflow
```

{'fraction_non_alphanumeric': 0.14958128790066416, 'fraction_numerical': 0.015882183078255847, 'mean_word_length': 3.700135685210312, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4164505', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1163, 'n_words': 383}