vncfreethumb

module
v0.0.0-...-67eda22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2021 License: MIT

README

Prototype of swiping a region of a window to create its minimized thumbnail

rsnous on Jan 28, 2021: "maybe every time you want to switch away from a tab, the browser makes you sweep your mouse to select a meaningful index quote for that tab first."

And so vncfreethumb was born…

…except actually embedding a browser in a Go app is too hard, so this just displays all the images in the directory you provide as the first argument.

  • cmd/server/ui.go implements the GUI
  • cmd/server/main.go implements a VNC server to host the GUI
  • rfb/rfb.go and rfb/image.go implement the relevant parts of the VNC (Remote Framebuffer) protocol

Press W, A, S, D to fold back parts of a window. Swipe a region with the right mouse button to fold back everything outside of it. Click the right mouse button to toggle all folds.

Directories

Path Synopsis
cmd
server command
Package rfb defines representations and serialization for messages in the RFB (Remote Framebuffer) protocol, which is used for VNC.
Package rfb defines representations and serialization for messages in the RFB (Remote Framebuffer) protocol, which is used for VNC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL