zloyle / lemonade-rupor

Lemonade is a remote utility tool. (copy, paste and open browser) over TCP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lemonade

Lemonade is a remote utility tool - copy, paste and open browser over TCP.

GoDoc Go Report Card


Installation

From binaries

Download from the releases page and unpack it in a convenient location.

From source

I am using cmake to build it from sources, included CMakeList.txt expects host platform to be up to date linux with go 1.13 or later installed. See build-all.sh for example of cross compile for all supported platforms.

Configuration and examples

Please, see original project here

Reason for forking

Original project felt like an orphan and I needed some additional functionality. In addition latest PRs look unnecessary to me. Result should be fully compatible with previous releases - if not, please open issue here.

For Windows users: lemonade "server" backend is included as part of wsl-ssh-agent and could be run as an icon in the taskbar notification area.

Changes

  • Code modernization/simplification/refactoring (go modules and latest compiler, etc).
  • In order for "open" call to work properly when sending back file ("trans-localfile") additional address information needs to be transferred because SSH port forwarding has been chosen for security and actual remote address is never available.
  • In order to avoid ssh channel errors when dynamic port forwarding is used to get file we need to handle multiple browser connections from "server" end.
  • The idea of local fallback is really unclear to me, since settings default to localhost anyways.

I attempted to support backward compatibility as much as I could, leaving argument processing unchanged (just adding some new aguments with defaults). Everywhere possible I switched code to go stdlib trying to minimize dependencies.

Credit


Licensed under MIT license.

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

About

Lemonade is a remote utility tool. (copy, paste and open browser) over TCP.

License:MIT License


Languages

Language:Go 63.6%Language:CMake 29.5%Language:Shell 6.9%