Run rifle(1) known from ranger from a dired buffer. Press 'r' to open the current file. See the `dired-rifle' command documentation for more running options.