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.2.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.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: obsidian_workflow-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 60851b3293d03a8fb3fc5b379ab246d35f94752d49d030dadea6ad94f907d952
MD5 d2344d501a8505d85f65d204e46bca2d
BLAKE2b-256 0293ddfcbf4518239b6726bbd3d4db8eee1564fdfd959db53590deaaa23831c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for obsidian_workflow-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6cdb6473db44f4447f683e98c577450054651f1e546783e5bb72355e9e874e42
MD5 b0e369f56f55f3d53bc74226b410f30d
BLAKE2b-256 945ae783436c1c921b0f6dbf94212c0e4938d555d1b1ec03d3d3c9d46237dd52

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