Skip to main content

Obsidian workflow tools for automating my obsidian workflow

Project description

Obsidian Workflow

Obsidian Workflow is a command line application to automate my obsidian workflows. This application is specific to my workflow and might not fit yours. See each command for more details.

Commands

Daily

The daily note in Obsidian serves as a scratchpad for capturing ideas and information throughout the day. Each train of thought is organized under a top-level heading and linked to relevant indexes, maps of content (MOCs), projects, and other atomic notes. This flexible approach allows for quick note-taking without worrying about where in the hierarchy to create a one. However, keeping content in the daily note creates an issue with backlinks, as references show the date (e.g., 2025-01-01-Monday) rather than descriptive titles, making them harder to recognize in linked mentions or unmapped backlink views. To resolve this, each top-level heading is extracted into its own standalone note with a meaningful name. This improves backlink readability and prepares the notes for migration to a folder in the permanent hierarchy when necessary during gardening.

Daily Note Format: YYYY/MM-MMMM/YYYY-MM-DD-dddd

See (Python Scripter Plugin directory)[./plugins/python scripter/README.md] for how to use this within the Obsidian application.

Process a Single File

obsidian-workflow daily --file /path/to/note.md

Process the Last N Days

To process the last 7 days of notes (excluding today):

obsidian-workflow daily --days 7 --root-dir /path/to/notes

Include Today in Processing

To include today’s note in the processing:

obsidian-workflow daily --days 7 --include-today --root-dir /path/to/notes

Default Behavior

Running the daily workflow without arguments processes today’s daily note:

obsidian-workflow daily

Examples

Input:

Daily note contains:

# Header 1

Content A

# Header 1

Content B

# Header 2

Content C
Output:

File: header 1.md

# Header 1

Content A

Extracted from: [[2024-12-05-Thursday]]

---

# Header 1

Content B

Extracted from: [[2024-12-05-Thursday]]

File: header 2.md

# Header 2

Content C

Extracted from: [[2024-12-05-Thursday]]

Daily Note After Processing

# Header 1

![[header 1.md]]

# Header 1

![[header 1.md]]

# Header 2

![[header 2.md]]

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/obsidian-workflow.git
    cd obsidian-workflow
    
  2. Install the package:

    uv install .
    

Development commands

After cloning

Install packages

uv sync

Run Tests

uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

obsidian_workflow-0.0.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

obsidian_workflow-0.0.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file obsidian_workflow-0.0.1.tar.gz.

File metadata

  • Download URL: obsidian_workflow-0.0.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.6

File hashes

Hashes for obsidian_workflow-0.0.1.tar.gz
Algorithm Hash digest
SHA256 14cee03e0deebf8c5324c38e1ce1812c58be603c92e774460ed999f4eeb6ee2f
MD5 7971a9486e223261d2824728946e337d
BLAKE2b-256 a36a838fa85526f6413e9129d271bf590bc251ca3b078d87670b5a23f9599d2e

See more details on using hashes here.

File details

Details for the file obsidian_workflow-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for obsidian_workflow-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f6e396fd6c7b2aebdd46229fd5edf3f876b5d047f90514e7dd9b8abc7738854
MD5 10e9589d4338dc80e58e154df2253d8d
BLAKE2b-256 74e4ef6be39fd92d4ef458f5133e95e26570d8a91889499a4a662228a9784478

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page