Repository navigation
Share a PDF or image as its bytes, not as an empty file (v0.26.3) - #72
Merged
Merged
Conversation
Anthony: "this link is still broken" (a readm3 share of Desktop/public/infographics/*.png that renders blank). The desktop app keeps images it reads from disk as stored files: the workspace holds a reference and an empty source. Share and Paste link sent that empty source, so every shared image was a 0 byte document. - Share and Paste link read a stored file's bytes and send a PDF or image as base64 (text as text); an empty file says so instead of sharing blank. - The server takes a PDF or image document as base64 up to 8 MB (a 6 MB file), rejects an empty or non-base64 one, and text keeps its 1 MB limit. - `readm3 share image.png` sends base64 too (it read the bytes as UTF-8). - No secret scan on base64: it only misfires. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Anthony: "this link is still broken" (a readm3 share of
Desktop/public/infographics/*.png that renders blank).
The desktop app keeps images it reads from disk as stored files: the
workspace holds a reference and an empty source. Share and Paste link sent
that empty source, so every shared image was a 0 byte document.
as base64 (text as text); an empty file says so instead of sharing blank.
file), rejects an empty or non-base64 one, and text keeps its 1 MB limit.
readm3 share image.pngsends base64 too (it read the bytes as UTF-8).🤖 Generated with Claude Code