Skip to content

feat(page): add api fallback for local markdown images#12

Open
0xble wants to merge 1 commit intofeat/api-clientfrom
feat/api-local-image-upload
Open

feat(page): add api fallback for local markdown images#12
0xble wants to merge 1 commit intofeat/api-clientfrom
feat/api-local-image-upload

Conversation

@0xble
Copy link
Copy Markdown
Owner

@0xble 0xble commented Feb 28, 2026

  • Adds API fallback for local markdown images during page upload / page sync.
  • Keeps existing behavior when --asset-base-url is provided.
  • When --asset-base-url is unset and local image paths are present: detect local links, upload via official file upload API, then append uploaded image blocks after MCP content sync.
  • Deduplicates repeated local file paths so the same asset is uploaded once.

@0xble 0xble force-pushed the feat/api-local-image-upload branch from cf4d289 to 5881783 Compare February 28, 2026 20:03
@0xble 0xble changed the base branch from main to feat/api-client February 28, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant