Skip to content

๐Ÿ”ฎโœ๐Ÿป Automatically organize, analyze, and augment the quality of your obsidian.md notes with AI.

License

Notifications You must be signed in to change notification settings

QuentinWach/obsidian.ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Obsidian.ai

Quickly organize your markdown notes in Obsidian.md using OpenAIโ€™s large language models.

Any random, untagged, empty, or unlinked notes? No more. This little script will fill the gaps, connect what belongs together, and even create high level organizing nodes if a specific topic has a lot of notes.

๐Ÿงถ Organizes Your Notes

The script works through your entire vault, letting ChatGPT read and understand every note, remembering potential tags and topics, and linking and tagging up what belongs together so there are no more empty and lonely notes.

๐ŸŽจ Shows Meta-data of Your Vault

Print out statistics of your vault like how many notes you have, how many words, how many tags, which tags, and so on. The script also creates a GitHub-like activity timeline and a bar-chart of your most popular tags:

a. Activity map. b. Tag frequency.

๐Ÿง  How Does It Work?

  1. First Analysis. Go through every note and save in a .csv-file:
    1. unique ID
    2. name
    3. date of creation
    4. number of words
    5. tags
    6. number of tags
    7. link names to other notes in the vault
    8. number of links
  2. Meta-Stats.
    1. Count how often each tag is used. Create a tag frequency bar chart.
    2. Count how many words are written over time. Create a vault activity chart.

โ“ How to Use

  1. Install Python3 and pip install matplotlib openai.
  2. Copy-paste the link to your vault's directory and optionally your OpenAI key into the script.
  3. Run the script!

It is that easy.


Give this repo a โญ and let me know right here if you have any ideas or reach out to me on X @QuentinWach.

About

๐Ÿ”ฎโœ๐Ÿป Automatically organize, analyze, and augment the quality of your obsidian.md notes with AI.

Topics

Resources

License

Stars

Watchers

Forks

Languages