copy-paste-notes

command module
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 1 Imported by: 0

README

Copy Paste Notes

copy-paste-notes is a CLI that is designed to make it possible to manage your notes from the command line. You can add, list, delete and copy notes directly to your system clipboard.

It is in very early development, so it comes with no assurances. It has only been tested on Ubuntu Linux. It may work with your system, but it is in no way guaranteed.

Note: Expect breaking changes to occur until v0.1.0.

Setup/Installation

  • Install - go install github.com/simondrake/copy-paste-notes@latest
  • Create the database file - touch ~/cpn.db

Platform Specific Details

copy-paste-notes relies on the golang.design/x/clipboard package, please refer to their platform specific details otherwise you may encounter errors.

Linux

Wayland

In addition to installing libx11-dev or xorg-dev or libX11-devel, you'll also need to install wl-clipboard. The x/clipboard integration only seems to work with X11 (not Wayland).

TODO

  • Tests 🙈
  • See if there's a way of making this work without the os/exec / wl-clipboard hack.
  • Test on different platforms.
  • Create the db file if it doesn't exist, to avoid having to touch it manually.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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