Skip to content

Capture Safari images and clarify iOS setup - #13

Merged
patrickschiller merged 1 commit into
mainfrom
codex/capture-safari-images
Aug 14, 2026
Merged

patrickschiller merged 1 commit into
mainfrom
codex/capture-safari-images

Conversation

@patrickschiller

Copy link
Copy Markdown
Owner

What changed

Safari captures now include up to 12 relevant article images. The Share Extension downloads valid public image responses, saves them under the clip’s local asset directory, links them relatively from the Markdown document, and records image metadata in the index entry.

The configuration screen now says: “Weave the web into durable Markdown in your own GitHub repository.” The iOS and German/English project documentation were updated accordingly.

Why

Safari previously sent only page text. The saved Heise clip therefore had no image assets despite SourceBraid’s durable-archive contract.

Privacy and permissions

No new user permissions, credentials, or external services were introduced. Image requests use the public URLs Safari already exposes, accept image content only, limit each image to 8 MB and a capture to 25 MB, and store successful assets directly in the configured private repository.

Validation

  • node --test tests/capture-utils.test.js
  • python3 -m unittest discover -s tests -p 'test_*.py'\n- python3 scripts/validate_ios_release.py\n- xcodebuild -project SourceBraid.xcodeproj -scheme SourceBraid -destination 'platform=iOS Simulator,id=F8D5E279-4FAF-4DA0-AE17-4903706F4E7C' CODE_SIGNING_ALLOWED=NO test

Signed-off-by: Patrick Schiller <p@trickschiller.de>
@patrickschiller
patrickschiller merged commit 35fa163 into main Aug 14, 2026
1 check passed
@patrickschiller
patrickschiller deleted the codex/capture-safari-images branch August 14, 2026 13:39
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