VAULT
cwnazeObsidian-Lecture-Notes
AI tool that takes in lecture videos, supplemental documents, and a template. It then generates notes in an Obsidian vault following the template.
Obsidian Lecture Notes (OLN)
AI-powered lecture note generator for Obsidian that transforms lecture materials (PDFs, PPTXs) into structured Obsidian notes using LLMs.
🚀 Features
- Multimodal Extraction: Supports PDF and PPTX file uploads.
- Template-Driven Generation: Uses custom templates from your Obsidian vault to structure the generated notes.
- Automated Vault Integration: Writes processed notes directly to a specified Obsidian vault path.
- Modern Stack: FastAPI backend for high-performance processing and a Svelte 5 frontend.
- Containerized Deployment: Ready-to-go Docker configuration for consistent environments.
🛠 Installation
Backend
- Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate - Install dependencies:
pip install -r requirements.txt - Setup environment variables:
cp .env.example .env # Edit .env with your OPENAI_API_KEY and other required settings - Start the server:
uvicorn main:app --reload
Frontend
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install - Run the development server:
npm run dev
💻 Usage
- Upload: Upload your lecture PDF or PPTX via the frontend.
- Template Selection: Choose a template from your
~/Notes/Templatesdirectory. - Generate: The system extracts content, applies the template, and writes the resulting
.mdfile to your Obsidian vault.
⚙️ Configuration
The following environment variables are required in your .env file:
OPENAI_API_KEY: Your OpenAI API key for note synthesis.OBSIDIAN_VAULT_PATH: Absolute path to your Obsidian vault.TEMPLATES_DIR: Path to your templates folder (defaults to~/Notes/Templates).
📦 Deployment
Deploy the project locally using the provided shell script:
./deploy.sh
This script handles Docker image builds and container orchestration via docker-compose.yml.
Project Tag: OLN
How to Install
- Download the ZIP or clone the repository
- Open the folder as a vault in Obsidian (File → Open Vault)
- Obsidian will prompt you to install required plugins
Stats
Stars
0
Forks
0
Last updated 1mo ago