-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: file preview #26
Comments
This app looks very interesting. If you add preview, how about reusing scope.sh that ranger uses. |
Image preview can use similar protocols utilised by Yazi. |
Image preview: https://github.com/yorukot/Termage
|
Screencast.from.2024-05-19.18-06-10.mp4A quick update. The text file preview is now complete. |
why not just invoke chafa or viu and pass it dimensions to use. |
As far as I know, it's not that simple. :( |
I know that both ranger and vifm do image preview with chafa. you could look at their code to see how they do it. |
Ctpv is good for that we can use it and it's fast as it's written in C |
@yorukot can we integrate c or c++ tools for image preview? we can use ueberzugpp, it is a continuation of ueberzug and is in c++ as it's pretty fast. also why are we making a custom file previewer? |
For now, I can definitely accept the use of third-party software, but even so, I still don't know how to do it... |
@yorukot i have an idea. maybe we can use image previewing as a plugin for superfile. In the plugin we can put ueberzugpp to be a dependency that has to be either manually installed by the user or we will install by ourselves. then the image preview can use ueberzugpp by running the command. like exec.cmd or something like that |
Pixel, which is written in Go. You may be able to integrate it. https://github.com/sachinsenal0x64/pixel |
hmm, it looks good. I think we can integrate it considering that we can customize the size and position of the image to be rendered. let's see to yorukot |
Text file preview has been implemented. ![]() @yorukot Is there more planned work to be done for file previews ? Or are we done with it for now. |
@lazysegtree |
It'd be great, if superfile could preview files, like ranger does. At least text files
The text was updated successfully, but these errors were encountered: