dev-resources.site
for different kinds of informations.
Free Obsidian PC Android sync
Published at
1/2/2025
Categories
github
obsidian
android
syncthing
Author
matsch1
Author
7 person written this
matsch1
open
Obsidian is a great tool for collecting ideas.
I use it mainly for the following reasons:
- Research
- Collecting information
- Saving some spontaneous ideas
Depending on my actual situation I prefer to use my laptop or my phone.
To always have access to my vaults, regardless of the device I am using, I need to sync the data between my devices. For that purpose Obsidian provides the Sync Plugin. But for this plugin they charge you 4$ a month, which I don't want to spend, if there is another option.
I found a solution which meets my requirements:
- Crossplatform availability: Linux, Windows and Android
- No manual work: no downloads, no copies, no nothing
- free to use
What I use now:
- Syncthing-fork on my android phone
- Syncthing on my windows and linux machine
- Shell script to backup the data in a git repository
Setup:
- Install syncthing on the devices you want to use Obsidian
- Create folders on every device to store the Obsidian files locally
- Linking the devices using the QR code
- Share the folders (also using QR code)
- Copy your vault into the new directory and open it in Obsidian
-
optional:
- create a git repository in your Obsidian directory and backup the files to your github account
Obsidian Git autobackup
#!/bin/bash
git-autopush() {
REPO_DIR = $1
cd "$REPO_DIR" || {
echo "Repository not found: $REPO_DIR"
exit 1
}
# Check if the repository has changes
if [[ -n $(git status --porcelain) ]]; then
git add .
git status
TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S")
git commit -m "Auto-commit: $TIMESTAMP"
git push origin "$(git rev-parse --abbrev-ref HEAD)" || {
echo "Failed to push changes."
exit 1
}
echo "Changes pushed successfully."
else
# Check if there are committed changes to push
LOCAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ -n $(git rev-list origin/"$LOCAL_BRANCH"..HEAD) ]]; then
# Push changes
git push origin "$LOCAL_BRANCH" || {
echo "Failed to push changes."
exit 1
}
echo "Changes pushed successfully."
fi
fi
}
git-autopush $1
obsidian Article's
30 articles in total
Exporting Mac OSX Book Highlights into an Obsidian Vault or Markdown Files
read article
Mi plugin de Obsidian para facilitar el estudio de AWS!
read article
How Smart Notes with Obsidian Helped Me
read article
Obsidian 101: How to Get Started and Stay Organized!
read article
TIL: Styling Obsidian text paragraphs
read article
Journey Developing an Obsidian Plugin Part 2 - Improving the Architecture, Basic Error Handling and more!
read article
Free Obsidian PC Android sync
currently reading
Atomic Note-Taking Guide
read article
✍️ Obsidian: Journaling
read article
✍️ Obsidian: Journaling
read article
How to Install, Activate, and Update Obsidian Plugins
read article
Obsidian's New Web Clipper - You'll Want to Try It
read article
How to Sync Obsidian Across All Your Devices (Including Free Methods)
read article
How to sync your Obsidian vault using GitHub: A complete guide
read article
Create a New Note for Your Obsidian Vault from the Terminal
read article
Project Planning
read article
Obsidian - How to create Daily note every day, even if I don't open it
read article
Deploy obsidian as container
read article
ovm (Obsidian Vaults Manager)
read article
Obsidian: The All-in-One Knowledge Management Tool for Efficient Information Organization
read article
Information flow - how I capture the notes
read article
How to install latest Obsidian on Ubuntu 24.04 or older versions
read article
Migrating From DokuWiki to Obsidian
read article
My Obsidian + Hugo blogging setup
read article
Leaving the Comfort Zone Behind: The Journey to Developing a Plugin for Obsidian.md
read article
Journey: Developing an Obsidian Plugin Part 1 - Getting Started
read article
Why Obsidian Falls Short as a Note-Taking Tool
read article
Plugins de Obsidian para Programadores
read article
Building A SimpleNote to Obsidian notes converter
read article
don't know the title yet
read article
Featured ones: