Skip to content

Add support for downloading - #488

Draft
davep wants to merge 7 commits into
mainfrom
download-support
Draft

davep wants to merge 7 commits into
mainfrom
download-support

Conversation

@davep

@davep davep commented Oct 3, 2026

Copy link
Copy Markdown
Owner

This PR adds support for unconditionally downloading the content of a link, or conditionally downloading the content of an unsupported URI.

Closes #478.

This doesn't add the code that does the downloading. This adds the code that
funnels other UI elements towards allowing for downloading.
@davep davep self-assigned this Oct 3, 2026
@davep davep added Enhancement New feature or request TODO A thing I'm planning on doing Protocol: Gemini Things to do with Gemini and Gemtext labels Oct 3, 2026
davep added 6 commits October 3, 2026 10:46
This is a pretty simple approach for now. The problem I see here is that I
probably want to handle downloading via input too, and the like. For now
this simply assumes that the data on the end of the URI is available without
the need to mess with new certificates or get user input.
While what I had was working, I didn't like where it was going. I want to
try, as much as possible, to work via the existing code that handles
requests. So let's funnel the requests into a DownloadLocation class that
can be fed to the handlers and then they can just save to the target file
once all the other work is done.

Is the idea anyway. This is just a placeholder for now as I have to go afk.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request Protocol: Gemini Things to do with Gemini and Gemtext TODO A thing I'm planning on doing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the option to download an unhandled mime type

1 participant