Zettelkasten-Method / Zkviz

Licence: mit
Zettel Network Visualizer

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Zkviz

Kenlg Reading
Reading list for knowledge-enhanced text generation, with a survey
Stars: ✭ 257 (+192.05%)
Mutual labels:  knowledge-graph, knowledge
ke-dialogue
KE-Dialogue: Injecting knowledge graph into a fully end-to-end dialogue system.
Stars: ✭ 39 (-55.68%)
Mutual labels:  knowledge, knowledge-graph
Vizel
Zettelkasten visualization and stats🤩🗒
Stars: ✭ 33 (-62.5%)
Mutual labels:  knowledge-graph, plaintext
Graphbrain
Language, Knowledge, Cognition
Stars: ✭ 294 (+234.09%)
Mutual labels:  knowledge-graph, knowledge
Gitjournal
Mobile first Note Taking integrated with Git
Stars: ✭ 1,138 (+1193.18%)
Mutual labels:  knowledge-graph
Programming Notes
Semua catatan tentang teknologi dan development 😎
Stars: ✭ 41 (-53.41%)
Mutual labels:  knowledge
Omni
Distributed publishing platform and discussion network for scholars. Establishing an unenclosable scholarly commons.
Stars: ✭ 34 (-61.36%)
Mutual labels:  knowledge
Knowledgegraph
This repository for Web Crawling, Information Extraction, and Knowledge Graph build up.
Stars: ✭ 28 (-68.18%)
Mutual labels:  knowledge-graph
Kgpolicy
Reinforced Negative Sampling over Knowledge Graph for Recommendation, WWW2020
Stars: ✭ 83 (-5.68%)
Mutual labels:  knowledge-graph
Soweego
Link Wikidata items to large catalogs
Stars: ✭ 74 (-15.91%)
Mutual labels:  knowledge-graph
Tianchi Ruijin
瑞金医院MMC人工智能辅助构建知识图谱大赛-baseline
Stars: ✭ 62 (-29.55%)
Mutual labels:  knowledge-graph
Bbw
Semantic annotator: Matching CSV to a Wikibase instance (e.g., Wikidata) via Meta-lookup
Stars: ✭ 42 (-52.27%)
Mutual labels:  knowledge-graph
Daas Start Kit
React/Java 技术栈,代码和数据云端生成,本地部署低代码平台,手写代码和生成代码目录分离,适合专业开发人员开发长期维护的软件。
Stars: ✭ 71 (-19.32%)
Mutual labels:  knowledge-graph
Minerva Training Materials
Learn advanced data science on real-life, curated problems
Stars: ✭ 37 (-57.95%)
Mutual labels:  knowledge
Alexandria Library
📝 My method to capture, study, and recall interesting knowledge
Stars: ✭ 80 (-9.09%)
Mutual labels:  knowledge
Stardog.js
Stardog JavaScript Framework for node.js and the browser
Stars: ✭ 57 (-35.23%)
Mutual labels:  knowledge-graph
Tematres Vocabulary Server
Web application for management formal representations of knowledge, like controlled vocabularies, taxonomies, thesauri and glossaries
Stars: ✭ 73 (-17.05%)
Mutual labels:  knowledge
Elliot
Comprehensive and Rigorous Framework for Reproducible Recommender Systems Evaluation
Stars: ✭ 49 (-44.32%)
Mutual labels:  knowledge-graph
Crowi
Crowi - The Markdown Wiki - Empower the team with sharing your knowledge
Stars: ✭ 1,031 (+1071.59%)
Mutual labels:  knowledge
Knowledge Base
pdf,txt,djvu, various useful books
Stars: ✭ 63 (-28.41%)
Mutual labels:  knowledge

zkviz: Visualize Link Network Between Zettels (Notes)

Version License

Produce an interactive overview of all your notes and their connections.

Installing

I recommend using Python 3 and an environment specifically for zkviz.

Assuming that you're using macOS or Linux, to create the environment, open a Terminal window and type the following to create the standalone environment and activate it.

python3 -m venv ~/envs/zkviz
source ~/envs/zkviz/bin/activate

Then install zkviz with:

pip install zkviz

If Graphviz is installed on your computer, zkviz can use it to draw the network. It is not a Python package so it needs to be installed independently. If you're on a Mac and have Homebrew installed, you can install Graphviz from a Terminal with:

brew install graphviz

Usage

To execute zkviz from the Terminal, you either need to add the zkviz environment path to your PATH environment variable or specify the path to the zkviz executable directly. Below, I use the explicit path.

Executing zkviz without any argument will build the visualization based on all the *.md files found in the current directory.

~/envs/zkviz/bin/zkviz

You can also point zkviz to the folder containing your notes. For example:

~/envs/zkviz/bin/zkviz --notes-dir ~/Notes

By default zkviz will look for files with the .md extension, but you can override the default with the --pattern option:

~/envs/zkviz/bin/zkviz --pattern '*.mkdown'

You can also specify multiple patterns separately. With the following, zkviz will find all txt and md files. I recommend wrapping the pattern in quotes.

~/envs/zkviz/bin/zkviz --pattern '*.md' --pattern '*.txt'

You can also pass a list of files to zkviz:

~/envs/zkviz/bin/zkviz "~/Notes/201906021303 the state of affairs.md" "~/Notes/201901021232 Journey to the center of the earth.md"

To use Graphviz to generate the visualization, add the --use-graphviz option:

~/envs/zkviz/bin/zkviz --notes-dir ~/Notes --use-graphviz

By default, zkviz will draw a node for every reference found in the files provided, even if the referenced zettel does not exist, and even if a zettel refers to itself. You can change that behavior in two ways. The --only-list option tells zkviz to draw links only to zettels that have been provided to it. In the example below, only links between the two zettels will be shown:

~/envs/zkviz/bin/zkviz --only-list "20190810190224 Note 1.md" "20190810190230 Note 2.md"

The other way to change the behavior is to disable self-reference links using the --no-self-ref option.

Using zkviz with Keyboard Maestro

The keyboard-maestro folder includes a Keyboard Maestro macro to automatically create a visualization based on the list of files currently selected in The Archive. To use this macro, download it and import it into Keyboard Maestro. The follow the README comment within the macro to set the necessary variables.

Making a Release

  1. Bump the version in zkviz/__init__.py
  2. Update the changelog, link the versions.
  3. Commit and tag with version number
  4. Build a source dist with python setup.py clean && rm dist/* && python setup.py sdist
  5. Test upload to PyPI test with twine upload --repository-url https://test.pypi.org/legacy/ dist/*
  6. Create a temporary environment mktmpenv and test install with pip install --index-url https://test.pypi.org/simple/ zkviz
  7. If everything looks good, upload for real with twine upload dist/*
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].