Generate random associations between your own concepts and manage them from the command line
Table of contents
- Python 3
These instructions apply for Linux but can be tweaked for other operating systems.
- Go to your installation path:
- Clone the repo:
git clone https://github.com/timotheechauvin/cr
- Go into it:
- Make the file executable:
sudo chmod +x cr.py
- Launch with:
- 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:
- If you've completed the previous step, you can launch cr by simply typing
crfrom any directory.
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 conceptswill add signal vs noise to concepts.txt. If the file does not yet exist, it is created.
af word filename: ("add force") Add the word even if it is already somewhere in the file.
f string: ("find") Return all words containing string and their filenames.
m word filename: ("move") Equivalent of
a word filename.
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
Issues, feedback and pull requests are all warmly welcome!
This project is under the MIT license.