When working in a terminal it is often useful to view non-text based files, such as generated images or pdfs. If the session is local, this may not a problem using the default app viewers for the given file. If the session happens on a remote server, this is not possible.
terminalpp introduces special escape sequences that allows it to send any file through the existing connection to the machine that runs the terminal where it is stored in temporary files and can then be viewed by local applications. To use this feature,
ropen, the program responsible for sending the file to the terminal, must be installed on the remote server.
ropen via snap, simply execute the following:
sudo snap install ropen --edge --classic
To open a remote file, simply type
ropen followed by a path to the file, such as:
If file of same name (relative path on the remote host from the
ropen command) is downloaded multiple times, the old versions are automatically overwriten if possible, and if opened in viewer that supports refreshes, the file will refresh.
tmux(of course you cannot change sessions or screens during the transfer).
Remote files are by default stored in a temporary directory, but the configuration file may overwrite their location to any existing directory in the
This has the advantage of having all the remotely opened files easily accessible from the local machine by other programs as well.