Git Product home page Git Product logo

alfred-obsidian's Introduction

Obsidian Daily Note - An Alfred workflow

An Alfred workflow that opens and appends a breadcrumb and header to Obsidian's Daily Note.

Supports Alfred 4 on macOS 10.7+ on Obsidian 0.8.15 and 0.9.1.

Features

  • Set a hotkey or keyword
  • Checks to see if there is already a breadcrumb in the file. If there is not, it will append the breadcrumb and header to the note.
  • Opens the Obsidian app.

This workflow does the following:

  • Checks to see if you have a breadcrumb, if not;
  • Appends a breadcrumb and "h2 date" to the top of the daily note in the follow format:

[[YYYY-MM-DD-1day]] | [[YYYY-MM-DD+1day]] > ## h2 Day of week, MM DD YYYY

  • opens the Obsidian app.

Installation

  • Goto Obsidian's settings under 'Plugins', enable 'Daily Notes'.

  • Download the Extension.

  • Install the extension.

  • Navigate to the Workflow area on Alfred and select Obsidian Daily.

  • Double click on 'Hotkey' and setup your hotkey if you wish to use hotkeys.

  • Double click on 'keyword' to configure your keyword.

  • Double click on 'Run Script' to configure the script.

  • In the script editor, change Step 1 to your vault name.

    • vault="change this value to your vault name"
  • In the script editor, change Step 2 to where your vault is located. (You can find this information by clicking on 'Open another vault' and looking at the left column under your vault name.)

    • If your vault is located in "Users//Documents/" then the default location is below. $HOME represents the home directory, in this case "/Users//"
    • change "loc=$HOME"/Documents" to your vault directory. (Don't add a forwardslash at the end)
  • Make sure Obsidian's settings > Plugins > Daily note, the date format is default at "YYYY-MM-DD".

  • Run Alfred Workflow

alfred-obsidian's People

Contributors

dayidp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.