clipurl

command module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 11 Imported by: 0

README

clipurl

Automatically save urls found in clipboard to file.

Installation

To install the program Go is required.

After installing Go, the program can be installed by running:

go install github.com/hougesen/clipurl@latest

The program can now be run by either calling the program directly (Most likely $HOME/go/bin/clipurl) or by setting up a path to the go install path in your .bashrc and calling the name of the program (clipurl).

# .bashrc
export PATH=${PATH}:$(go env GOPATH)/bin
Platform Specific Dependencies
  • macOS: require Cgo, no dependency
  • Linux: require X11 dev package. For instance, install libx11-dev or xorg-dev or libX11-devel to access X window system.
  • Windows: no Cgo, no dependency

Usage

Tracking clipboard

Start listening to the clipboard by running

$ clipurl start
Disclaimer

The program does not automatically start on boot. If that is desired you can follow this guide to setup startup on boot.

URL History

The history command lists all found urls.

$ clipurl history

+------------+-----------------------------+
| TIMESTAMP  | URL                         |
+------------+-----------------------------+
| 1675615347 | https://mhouge.dk/          |
+------------+-----------------------------+
| 1675615353 | https://github.com/hougesen |
+------------+-----------------------------+
Deleting all found urls

To delete all found urls run

$ clipurl clean

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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