Skip to content

Add support for loading gemtext files in the local file system - #49

Merged
davep merged 13 commits into
mainfrom
support-local-files
Jun 26, 2026
Merged

Add support for loading gemtext files in the local file system#49
davep merged 13 commits into
mainfrom
support-local-files

Conversation

@davep

@davep davep commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Closes #5.

@davep davep self-assigned this Jun 25, 2026
@davep davep added Enhancement New feature or request TODO A thing I'm planning on doing labels Jun 25, 2026
@davep

davep commented Jun 25, 2026

Copy link
Copy Markdown
Owner Author

I'm still trying to decide if I should do anything at all to try and at least guess if the requested file might be a gemtext file. I feel it might make some sense, at least to test if a file is plain text (for certain values of plain and text). There seems little sense to allow opening an image file or some random executable binary file to view.

Also, I should test that.

Also, I should add textual-fspicker and a command to open and browse the filesystem to pick a file to view.

Comment thread src/rogallo/widgets/command_line/open_file.py Outdated
@davep
davep marked this pull request as ready for review June 26, 2026 12:33
@davep
davep merged commit eab0504 into main Jun 26, 2026
7 checks passed
@davep
davep deleted the support-local-files branch June 26, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request TODO A thing I'm planning on doing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add local browsing support

1 participant