I think the blog naturally breaks into Base Setup and Quality-of-Life / Integrations. That makes it easy for readers to stop wherever they want.


1. Install Termux

pkg update
pkg upgrade

pkg install git openssh

2. Configure SSH

Phone → Laptop/VPS

This allows the phone to SSH into your other machines.


Laptop → Phone

Now your laptop (or an automation agent) can manage your phone remotely.


3. Configure Git


4. Android storage

Run

termux-setup-storage

Now scripts can access

Downloads
Documents
Pictures
Music
Videos

5. Automatic Git sync

Create a small script that

Schedule it using

termux-job-scheduler

6. Scheduled jobs

Use Android’s JobScheduler instead of cron.

Example:

Every 2 hours



Run Git sync



Phone automatically backs up notes

Add-ons

Termux:API

Install

Useful commands include

This turns the phone into a remotely controllable Android device rather than just a Linux shell.


Termux:Boot

Install the Termux:Boot app.

Create a boot script that starts services automatically.

For example

Boot



Start sshd



Start automation



Phone is immediately manageable

Networking

Install Tailscale

Join the phone to your tailnet.

Now every device has a stable private IP.

Example:

Laptop


 VPS ─── Tailscale ─── Phone

No port forwarding.

No dynamic DNS.

Works from anywhere.


Restrict SSH to Tailscale

Instead of exposing SSH publicly:

Result:

Internet


Tailnet

That dramatically reduces the attack surface while still allowing remote management.


Obsidian setup

Create a Git repository for your vault.

Clone it onto:

Use SSH remotes.

Your scheduled sync script keeps the phone copy up to date.


Vault organization

Examples:

Vault

Daily/

Projects/

Research/

Links/

Inbox/

Because it’s Git-backed, every device stays synchronized.


Community plugins

Useful plugins to mention:

Daily Notes

For maintaining a daily journal or work log.


Periodic Notes

Weekly, monthly, yearly notes.


Calendar

Quick navigation between daily notes.


Git (optional)

If someone doesn’t want to use your Termux automation, the Obsidian Git plugin is an alternative.

Your approach is nicer because it works independently of the Obsidian app and can run even when Obsidian isn’t open.


Future improvements

Because everything is already reachable over SSH, it’s easy to extend the setup.

Examples: