Clio, a digital mental palace and note taking database where I record ideas, code snippets, sources and references, writing projects etc. Organized in tree hierarchy, where any species of record can hold any other (apart from the top "genus").
- Create records of different kinds: "Note", "Book", "Topic", "Code", "Text" etc.
- Organize in a mind map tree an move around
- Add appendices (sources, references, URLs)
- Generate vector embeddings of the records
- Create dynamic relations between records
- Create quick notes with cli tool
clio note- pipe command output to a note:
tail ~/.clio/clio_log.txt | clio note - redirect, e.g. file content:
clio note < /.clio/clio_log.txt
- pipe command output to a note:
Clone repo and install with pip:
git clone https://github.com/fsncps/clio.git
cd clio
pip install .Setup a MySQL/MariaDB database and user:
CREATE DATABASE clio CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'clio_user'@'localhost' IDENTIFIED BY 'strongpassword';
GRANT ALL PRIVILEGES ON clio.* TO 'clio_user'@'localhost';
FLUSH PRIVILEGES;Import Clio schema:
mysql -u clio_user -p clio < db/clio_schema.sqlConfigure environment variable with the connection string:
export CLIO_DB_URL="mysql+pymysql://cliouser:strongpassword@localhost/clio"