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
.
- Install -
go install github.com/simondrake/copy-paste-notes@latest
- Create the database file -
touch ~/cpn.db
copy-paste-notes relies on the golang.design/x/clipboard
package, please refer to their platform specific details otherwise you may encounter errors.
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).
- 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.