Skip to content

Mobile camera functionality for Obsidian via desktop folder action

License

Notifications You must be signed in to change notification settings

sk365/ObsidianCamera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ObsidianCamera

Mobile camera functionality for Obsidian via desktop folder action

This script and setup offer a way to quickly create camera notes and store them in your Obsidian vault via Dropbox or similar cloud service and a Mac (or Linux) computer

Installation

  1. In your Dropbox, create folders "inbox" and "resources"
  2. Download the Dropbox apps to your mobile and to your computer
  3. On your computer, create symbolic links to your Obsidian vault
    ln -s ~/Dropbox/inbox /path/to/your/obsidian_vault
    ln -s ~/Dropbox/_resources /path/to/your/obsidian_vault
  4. Download inbox_Obsidian_folder_action.sh from repository to your computer
  5. On your Mac, create a new Automator folder action for your Drobbox folder "inbox". Select execute shell script and paste in the content of inbox_Obsidian_folder_action.sh
  6. On Linux, the same result can be attained with a simple watch shell script

Usage

  1. In your mobile Dropbox app, open folder "inbox". Select take photo or scan document.
  2. Store result as jpg or pdf. Name the image file as you wish to entitle your Obsidian note.
  3. Optional: Add @target_folder and a list of tags (#tag1 #tag2 ...) to image file name before the extension such that the image file name becomes e.g. Title of the note @target_folder #tag1 #Tag2 #tag3 .jpg
  4. When Dropbox downloads the image file, the script will automatically:
  • create an Obsidian note named as the image file
  • move the note into target_folder if such folder exists in your Obsidian vault
  • tag the note with your list of tags
  • move the image file into folder _resources of the Obsidian vault
  • link the image file to the note such that the image appears in the note

About

Mobile camera functionality for Obsidian via desktop folder action

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages