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 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

To publish

rm -rf dist
uv build
uv publish --token <pypi-token>

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.3.tar.gz (7.4 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.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for obsidian_workflow-0.0.3.tar.gz
Algorithm Hash digest
SHA256 bf2c117f3cbdbdbfcc851b312b8c8b98ccfcaaa8957fd49d851578bcedd03f16
MD5 1b2a4b31184d105b2e78854e32abef95
BLAKE2b-256 b60d9b44ac7604ee855af8b0fda14f3487fad5d884d64d2186412874240758bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for obsidian_workflow-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e113ecaac1b01c954c31cee2b991f01634e5eb9e503988a385c4a45eb239e858
MD5 77de4f748582caa02c47e00a8f240699
BLAKE2b-256 8526418f50d3dba8ce261ec6f22df0cd21a296d87af9acd95555577cdbb44c0e

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