makew0rld / amfora

A fancy terminal browser for the Gemini protocol.
GNU General Public License v3.0
1.16k stars 67 forks source link

Open files with relative path #231

Closed makew0rld closed 2 years ago

makew0rld commented 3 years ago

Right now, Amfora can open files with a command like amfora file:///absolute/path/to/file. But it'd be nice if like the firefox command, it could just open files and folders with a relative path, like amfora file.txt.

The code would first check if the file or folder exists, and then if not interpret it as a URL.

singalhimanshu commented 3 years ago

I can work on this if no one else is already on it.

makew0rld commented 3 years ago

Sounds good! I'll assign it to you. If you end up being unable to work on it for whatever reason, just let me know.