A simple Android utility to bridge the gap between Obsidian's mobile "Share" functionality and the Android Print service.
The Obsidian mobile app on Android does not have a built-in "Print" function. The standard way to get content out is to use the "Share" menu. This app registers itself as a target for shared plain text, converts the incoming Markdown to HTML, and sends it directly to the Android Print service for printing or saving as a PDF.
This project is a standard Android application and can be built using Android Studio.
-
Clone the repository:
git clone [https://github.com/YOUR_USERNAME/obsidian-print-helper.git](https://github.com/YOUR_USERNAME/obsidian-print-helper.git) cd obsidian-print-helper
-
Open in Android Studio:
- Launch Android Studio.
- Select File > Open and choose the cloned
obsidian-print-helper
directory.
-
Build the APK:
- Wait for Android Studio to sync the project with Gradle.
- Go to Build > Build Bundle(s) / APK(s) > Build APK(s).
- The compiled
app-debug.apk
will be located inapp/build/outputs/apk/debug/
.
This repository is configured with GitHub Actions to automatically build the app-debug.apk
on every push to the main
branch. You can download the latest compiled APK from the "Actions" tab of the repository under the "Artifacts" section of the latest successful workflow run.
- Install the
app-debug.apk
on your Android device. - Open any note in your mobile Obsidian vault.
- Tap the three-dot menu and select "Share".
- In the Android Share Sheet, find and select "Obsidian Print Helper".
- The Android Print dialog will appear, allowing you to print the document or save it as a PDF.