Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 3.24 KB

README.md

File metadata and controls

41 lines (30 loc) · 3.24 KB

NoteTakingLLM

NoteTakingLLM is a completely local, privacy-first web application designed to supercharge your note-taking process. It acts as an intelligent bridge between raw content (text or images) and your Obsidian vault by utilizing local Large Language Models (LLMs) via Ollama.

Instead of manually formatting notes or relying on cloud-based AI, this app allows you to paste unstructured text, upload diagrams, and provide custom prompt instructions. The local LLM processes it and generates beautifully structured Markdown notes that can be previewed, edited, and saved directly into your Obsidian vault.

✨ Key Features

  • 100% Local & Private: Powered entirely by Ollama, meaning your notes and data never leave your machine.
  • Multimodal Image Support: Using models like qwen-vl or llava, you can upload images, screenshots, or whiteboard photos for the LLM to analyze and summarize alongside your text.
  • Obsidian Vault Integration: The app automatically scans your vault directory and provides a dropdown UI to select exactly which folder you want to save the new note into (or lets you create a new one on the fly).
  • Saved Prompts Library: Create and manage a personal library of custom instructions (e.g., "React Notes Format", "Biology Summary"). You can swap between these saved instructions with a single click.
  • Automated Lifecycle Management: You don't have to manually start or stop Ollama. The app detects if Ollama is running, starts it in the background if it isn't, and gracefully shuts it down when you close the app terminal.
  • Obsidian Aesthetic: The UI is designed with a premium, dark-mode glassmorphic aesthetic matching Obsidian's signature deep violet and purple tones.

🏗️ Architecture

  • Frontend: Built with React and Vite. Features a two-step workflow (Generate → Review & Save) with markdown preview capabilities powered by react-markdown.
  • Backend: An Express.js server that acts as a proxy and manager. It handles file system operations (reading the vault, saving .md files, persisting settings.json) and safely orchestrates communication with the local Ollama instance (using the /api/chat endpoint).
  • Launcher: A simple batch script (Start NoteTakingLLM.bat) that spins up both the frontend dev server and the Express backend concurrently, automatically opening the app in your default browser.

🚀 Getting Started

  1. Prerequisites:

    • Node.js installed.
    • Ollama installed.
    • Pull at least one model in Ollama (e.g., ollama pull qwen3:8b or ollama pull llava).
  2. Launch the App: Simply double-click the Start NoteTakingLLM.bat file. This will start the backend server, the frontend server, and automatically launch your browser.

  3. Configure Settings:

    • On first launch, navigate to the Settings tab.
    • Set your Obsidian Vault Path (e.g., C:\Users\you\Documents\Obsidian).
    • Select your downloaded Model from the dropdown.
    • Save your settings!
  4. Generate Notes:

    • Head over to the Notes tab.
    • Attach any images, paste your content, and select or write a prompt.
    • Click Generate, preview the results, pick a folder, and hit Save to Obsidian.