Skip to content
Nat Lee

Keyboard shortcuts

Turn these off if they get in the way of a screen reader or voice control. The setting is saved in this browser.

1
Home
2
Work
3
Projects
4
About
5
Experience
/
Search projects
?
Show this panel

Productivity Tools

Obsidian Attachmenter

Obsidian Attachment Management Plugin

An Obsidian plugin that gives attachments per-note folders, downloads remote images and checks paths. For people whose notes have more images than notes.

Role
Creator & Maintainer
Period
2026 – Present
Status
Completed
Categories
Web apps & extensions
Stack
  • TypeScript
  • Obsidian API
  • JavaScript
  • CSS
Obsidian Attachmenter, screenshot 1

Overview

A comprehensive Obsidian plugin designed to streamline attachment management. It enforces a per-note attachment folder structure, keeping your vault organized. Key capabilities include automatically moving pasted images to the correct folder, downloading remote images (including from Canvas) to local storage, and providing tools to check and repair broken attachment paths or clean up empty folders. It supports multiple languages and integrates seamlessly with Obsidian's file explorer.

What it's good for

Pasted images stop arriving as 'Pasted image …' files: each one is renamed after its note and filed beside it. File Explorer also marks which notes still lean on remote images, and one click saves them locally.

Diagrams

Main paths only. The edge cases stayed in the code.

Pasted images stop being called "Pasted image". A small victory.

Point at a box to see what it connects to.

  1. Ask to download remote images(Palette, right-click or the tree) → Create the note's folder if missing
  2. Create the note's folder if missing(Note name plus a suffix) → Markdown note or Canvas?
  3. Markdown note or Canvas? → Markdown: Find image links to URLs → Canvas: Find link cards with URLs
  4. Find image links to URLs(Local paths are left alone) → Download them all at once
  5. Find link cards with URLs → Download them all at once
  6. Download them all at once → Arrived as a real image?
  7. Arrived as a real image?(Content type, else URL ending) → yes: Save into the note's folder → no: Leave that link as it was
  8. Save into the note's folder(Named after the note and date) → Point the link at the copy
  9. Point the link at the copy(Alt text kept; cards become files) → Anything replaced?
  10. Leave that link as it was(Other images still download) → Anything replaced?
  11. Anything replaced? → yes: Update the note, report the count → no: Say no remote images found
  12. Update the note, report the count("Replaced N remote image(s)")
  13. Say no remote images found(Nothing to rescue today)

Features

  • Per-note attachment folder management
  • Auto-move pasted images
  • Download remote images (Markdown & Canvas)
  • File Explorer attachment tree
  • Attachment Manager view
  • Path check and repair tool
  • Empty folder cleanup

The problem

  • Handling cross-platform file path sanitization
  • Integrating with Obsidian's internal link management
  • Supporting both Markdown and Canvas files
  • Real-time file system synchronization

What I did

  • Implemented robust path sanitization logic
  • Used Obsidian's vault events to track changes
  • Developed custom handlers for Canvas nodes
  • Created a centralized attachment manager

Results

  • Simplified attachment workflow for users
  • Automated remote image archiving
  • Consistent vault structure
Attachment Manager: every attachment folder in the vault, with preview, rename and delete
Attachment Manager: every attachment folder in the vault, with preview, rename and delete

What I learned

  • While enabled, it borrows one Obsidian setting: newLinkFormat becomes relative unless it is already relative or shortest, and is put back on unload.
  • Renaming a single attachment means reading every .md and .canvas file in the vault, just to update the links to it.
  • After a paste the image is already renamed and filed; keep it, delete it or move it
    After a paste the image is already renamed and filed; keep it, delete it or move it
  • Right-click a note, pick Download remote images, and the link now points to a local file
    Right-click a note, pick Download remote images, and the link now points to a local file
  • A globe icon marks notes that still use remote images; one click in the tree saves them
    A globe icon marks notes that still use remote images; one click in the tree saves them
  • Check paths counts files and links, finds a missing folder, previews the fix, then runs it
    Check paths counts files and links, finds a missing folder, previews the fix, then runs it
  • Web apps & extensions77 stars on GitHub

    Streaming Player

    Twitch, YouTube live chat and chat bots share one song queue. A Rust backend keeps the OBS player, overlay and moderator dashboard in sync.

    2023Completed
  • Web apps & extensions11 stars on GitHub

    Gantt Studio

    Drag a schedule into place, draw dependencies and see the critical path. Switch to Mermaid text without losing the plan. Everything stays in your browser.

    2026Completed
  • Web apps & extensions33 stars on GitHub

    MorphKit

    Converts and edits images, audio, video, PDFs and documents entirely in the browser. Nothing gets uploaded, mostly because there is nowhere to upload it to.

    2026Active