clipshot 1.0.1 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,9 +4,9 @@ Screenshot monitor CLI. Watches clipboard for screenshots and uploads to remote
4
4
 
5
5
  ## Why?
6
6
 
7
- When using AI CLI tools like Claude Code, Codex, or others, you often need to share screenshots with them. But this doesn't work great on Windows, and when you SSH into a remote server to use these tools, you can't paste images at all.
7
+ When using AI CLI tools like Claude Code, Codex, or others, you often need to share screenshots with them. But when you SSH into a remote server to use these tools, you can't paste images at all.
8
8
 
9
- clipshot solves this - take a screenshot locally, and it automatically uploads to your remote server and copies the path to your clipboard. Just paste the path and the AI can read the image.
9
+ clipshot solves this - take a screenshot locally, and it automatically uploads to your remote server and copies the path to your clipboard. So you just take screenshot like usual and then paste the path and the AI can read the image.
10
10
 
11
11
  ## Install
12
12
 
package/dist/index.js CHANGED
@@ -119,7 +119,7 @@ Run without command to setup/configure.
119
119
  function uninstall() {
120
120
  // Stop any running process
121
121
  try {
122
- const result = (0, child_process_1.execSync)("pgrep -f 'node.*[s]hotmon.*--daemon'", { encoding: "utf8" });
122
+ const result = (0, child_process_1.execSync)("pgrep -f 'node.*[c]lipshot.*--daemon'", { encoding: "utf8" });
123
123
  const pids = result.trim().split("\n").filter(Boolean);
124
124
  for (const pid of pids) {
125
125
  process.kill(parseInt(pid), "SIGTERM");
@@ -142,7 +142,7 @@ function uninstall() {
142
142
  function stopBackground() {
143
143
  try {
144
144
  // Use bracket trick to avoid pgrep matching itself
145
- const result = (0, child_process_1.execSync)("pgrep -f 'node.*[s]hotmon.*--daemon'", { encoding: "utf8" });
145
+ const result = (0, child_process_1.execSync)("pgrep -f 'node.*[c]lipshot.*--daemon'", { encoding: "utf8" });
146
146
  const pids = result.trim().split("\n").filter(Boolean);
147
147
  for (const pid of pids) {
148
148
  process.kill(parseInt(pid), "SIGTERM");
@@ -159,7 +159,7 @@ function stopBackground() {
159
159
  function showStatus() {
160
160
  try {
161
161
  // Use bracket trick to avoid pgrep matching itself
162
- const result = (0, child_process_1.execSync)("pgrep -af 'node.*[s]hotmon.*--daemon'", { encoding: "utf8" });
162
+ const result = (0, child_process_1.execSync)("pgrep -af 'node.*[c]lipshot.*--daemon'", { encoding: "utf8" });
163
163
  const lines = result.trim().split("\n").filter(Boolean);
164
164
  if (lines.length > 0) {
165
165
  for (const line of lines) {
@@ -230,7 +230,7 @@ async function startCommand() {
230
230
  }
231
231
  // Stop any existing process before starting new one
232
232
  try {
233
- const result = (0, child_process_1.execSync)("pgrep -f 'node.*[s]hotmon.*--daemon'", { encoding: "utf8" });
233
+ const result = (0, child_process_1.execSync)("pgrep -f 'node.*[c]lipshot.*--daemon'", { encoding: "utf8" });
234
234
  const pids = result.trim().split("\n").filter(Boolean);
235
235
  for (const pid of pids) {
236
236
  process.kill(parseInt(pid), "SIGTERM");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clipshot",
3
- "version": "1.0.1",
3
+ "version": "1.0.6",
4
4
  "description": "Screenshot monitor CLI tool",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -17,6 +17,10 @@
17
17
  ],
18
18
  "author": "",
19
19
  "license": "MIT",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/HendrikYtt/clipshot.git"
23
+ },
20
24
  "devDependencies": {
21
25
  "@types/node": "^25.0.10",
22
26
  "typescript": "^5.9.3"