AutoGit
unlistedby Nikita Berezhnyj
Automatically runs 'git pull' when the app loads and prompts to commit changes when a file is modified. Designed to help version control your Obsidian vault with Git.
Obsidian Auto Git
Obsidian Auto Git is a plugin for Obsidian that automates interactions with a Git repository, keeping your notes up to date across all your devices. The plugin automatically performs a pull on startup and a push at a defined interval, eliminating the need to manually manage synchronization.
Overview
The goal of this project is to make using Obsidian in a multi-device environment convenient and reliable while minimizing the risk of data loss and conflicts. The plugin works on top of Git and integrates with your Vault repository to ensure continuous synchronization of changes.
Features
- 🔄 Auto Pull on Start — automatically fetch changes when Obsidian starts.
- ⏱️ Scheduled Auto Push — automatically push changes at a specified interval.
- 🔧 Configurable Settings — adjust push interval, notifications, and more.
- 📦 Written in TypeScript — modern, readable code leveraging the Obsidian API.
Technologies Used
- TypeScript
- Node.js / npm
- Obsidian Plugin API
- Git (CLI)
Getting Started
To get started with Obsidian Auto Git, follow these steps:
-
Clone the repository:
git clone https://github.com/NikitaBerezhnyj/OsidianAutoGit.git cd OsidianAutoGit -
Install dependencies:
npm install -
Build the project:
npm run build -
Prepare for usage:
npm run prepare -
Copy the generated plugin to your directory:
<vault>/.obsidian/plugins/obsidian-auto-git -
Enable the plugin in Obsidian settings.
Usage
Once the project is running, you can:
- Configure the automatic push interval in the plugin settings.
- View Git status in the status bar (if this feature is enabled).
- Use Obsidian as usual — the plugin will keep the repository up to date automatically.
- Customize commit behavior, logging, and other parameters if needed.
License & Community Guidelines
- License — project license.
- Code of Conduct — expected behavior for contributors.
- Contributing Guide — how to help the project.
- Security Policy — reporting security issues.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.