Enhance creativity by generating random associations between custom user-defined words.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
.gitignore
LICENSE.md
README.md
cr.py

README.md

cr

Generate random associations between your own concepts and manage them from the command line

Table of contents

Requirements

  • Python 3

Installation

These instructions apply for Linux but can be tweaked for other operating systems.

  1. Go to your installation path: cd your/desired/installation/path
  2. Clone the repo: git clone https://github.com/timotheechauvin/cr
  3. Go into it: cd cr
  4. Make the file executable: sudo chmod +x cr.py
  5. Launch with: ./cr.py
  6. It is strongly recommended to create an alias in order to save time. Go to the end of your ~/.bashrc file and add the following line: alias cr="your/desired/installation/path/cr/cr.py
  7. If you've completed the previous step, you can launch cr by simply typing cr from any directory.

Usage

Every reasonable action can be done from the command line:

  • Enter Generate a random association.
  • a word filename Add word to filename.txt if it is not already there. Example: a signal vs noise concepts will add signal vs noise to concepts.txt. If the file does not yet exist, it is created.
  • af word filename Stands for add force: add the word even if it is already somewhere in the file.
  • c word Return the list of files containing word.
  • rm word Remove word from all files.
  • s Sort all words alphabetically in all files.
  • q Quit the program.

If you wish to manage your concepts manually, the txt files are (and must be) located here:

.
├── cr
│   ├── cr.py
│   ├── README.md
|   └── ...
├── yourfile1.txt
├── yourfile2.txt
└── ...

The format inside the files is simple: one word (which can contain spaces) per line.

Useful lists to get started

See https://timchauvin.com/cr/lists

Contributing

Issues, feedback and pull requests are all warmly welcome!

License

This project is under the MIT license.