From 2f303fc98479118eac06c2efd53e196468468a36 Mon Sep 17 00:00:00 2001 From: JustinVollmer Date: Mon, 9 Nov 2026 13:02:59 +0100 Subject: [PATCH] Add .gitignore and .env.example for Obsidian sync configuration --- .gitignore | 5 +++++ scripts/.env.example | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100644 scripts/.env.example diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d6df31b --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# Local settings for the Obsidian sync script +scripts/.env + +# Python +__pycache__/ diff --git a/scripts/.env.example b/scripts/.env.example new file mode 100644 index 0000000..2035aef --- /dev/null +++ b/scripts/.env.example @@ -0,0 +1,12 @@ +# Copy this file to .env (same folder) and adjust the values. +# .env is git-ignored and stays on your machine. + +# Absolute path to your Obsidian vault +OBSIDIAN_VAULT=C:\Users\\path\to\Your Vault + +# Vault folders that contain images, relative to the vault. Separate multiple with ";" +OBSIDIAN_IMAGE_DIRS=03_Resources/Hobby + +# Headings of sections that are not published (whole section incl. subheadings). +# Case-insensitive, HTML tags ignored. Separate multiple with ";". Leave empty for none. +OBSIDIAN_EXCLUDE_SECTIONS=Private Notes