A simple CLI tool which will attempt to parse a URL from your clipboard and then post whatever is read from stdin as a reply to the parsed clipboard link.
To install, run:
# go must be installed
go install github.com/rkoval/share-to-clipboard-url@latestExample usage here
For a list of supported sharers, see this directory
To use, you must create a personal access token in your provider and associate it with the correct environment variable:
| Provider | Scopes | Environment Variable | Extra Host Env Var (for Enterprise Usage) |
|---|---|---|---|
| GitHub | repo |
SHARE_TO_CLIPBOARD_URL_GITHUB_ACCESS_TOKEN |
SHARE_TO_CLIPBOARD_URL_EXTRA_GITHUB_HOST |
| GitLab | api |
SHARE_TO_CLIPBOARD_URL_GITLAB_ACCESS_TOKEN |
SHARE_TO_CLIPBOARD_URL_EXTRA_GITLAB_HOST |