hooktunnel-cli 0.1.0 → 0.1.2
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/dist/index.d.ts +1 -1
- package/dist/index.js +21 -6
- package/dist/index.js.map +1 -1
- package/package.json +18 -6
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
3
|
* HookTunnel CLI
|
|
4
|
-
*
|
|
4
|
+
* Webhook infrastructure - never lose a request
|
|
5
5
|
*/
|
|
6
6
|
import { Command } from 'commander';
|
|
7
7
|
import chalk from 'chalk';
|
|
@@ -16,8 +16,8 @@ import { statusCommand } from './commands/status.js';
|
|
|
16
16
|
const program = new Command();
|
|
17
17
|
program
|
|
18
18
|
.name('hooktunnel')
|
|
19
|
-
.description('
|
|
20
|
-
.version('0.1.
|
|
19
|
+
.description('Webhook infrastructure that never loses a request. Stable URLs, full history, instant replay.')
|
|
20
|
+
.version('0.1.2');
|
|
21
21
|
// Login command
|
|
22
22
|
program
|
|
23
23
|
.command('login')
|
|
@@ -46,7 +46,7 @@ program
|
|
|
46
46
|
// Connect command
|
|
47
47
|
program
|
|
48
48
|
.command('connect <env> <port>')
|
|
49
|
-
.description('
|
|
49
|
+
.description('Forward live webhooks to your local server')
|
|
50
50
|
.option('-v, --verbose', 'Show verbose output')
|
|
51
51
|
.option('-h, --host <host>', 'Local host to forward to (default: localhost)')
|
|
52
52
|
.action(async (env, port, options) => {
|
|
@@ -110,9 +110,24 @@ program
|
|
|
110
110
|
// Default action - show help
|
|
111
111
|
program.action(() => {
|
|
112
112
|
console.log(chalk.cyan(`
|
|
113
|
-
|
|
113
|
+
HookTunnel CLI
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
Unlike ngrok, HookTunnel captures EVERY webhook - even when you're offline.
|
|
116
|
+
Permanent URLs that never change. Full history. Instant replay.
|
|
117
|
+
|
|
118
|
+
Get started:
|
|
119
|
+
hooktunnel login --key <your-api-key>
|
|
120
|
+
hooktunnel hooks
|
|
121
|
+
hooktunnel connect dev 3000
|
|
122
|
+
|
|
123
|
+
Why HookTunnel?
|
|
124
|
+
- Stable URLs: No more updating configs when URLs rotate
|
|
125
|
+
- Never miss a request: Captured 24/7, replay when ready
|
|
126
|
+
- Local & production: Forward to localhost or staging/prod
|
|
127
|
+
- Semantic search: Find webhooks by payload content
|
|
128
|
+
- Find similar: Discover related requests automatically
|
|
129
|
+
- Investigations: Link requests into debugging sessions
|
|
130
|
+
- Full history: Up to 1 year retention (by plan)
|
|
116
131
|
`));
|
|
117
132
|
program.help();
|
|
118
133
|
});
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,YAAY,CAAC;KAClB,WAAW,CAAC,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA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AC,gBAAgB,CAAC;KACzB,WAAW,CAAC,yCAAyC,CAAC;KACtD,MAAM,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;KACxD,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;IAC/B,IAAI,CAAC;QACH,MAAM,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,WAAW,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;AACH,CAAC,CAAC,CAAC;AAEL,iBAAiB;AACjB,OAAO;KACJ,OAAO,CAAC,QAAQ,CAAC;KACjB,WAAW,CAAC,2CAA2C,CAAC;KACxD,MAAM,CAAC,KAAK,IAAI,EAAE;IACjB,IAAI,CAAC;QACH,MAAM,aAAa,EAAE,CAAC;IACxB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,WAAW,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;AACH,CAAC,CAAC,CAAC;AAEL,6BAA6B;AAC7B,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE;IAClB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;GAmBtB,CAAC,CAAC,CAAC;IACJ,OAAO,CAAC,IAAI,EAAE,CAAC;AACjB,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,KAAK,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hooktunnel-cli",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Webhook infrastructure with history, replay, semantic search & investigations. Never lose a request.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"hooktunnel": "./dist/index.js"
|
|
@@ -18,10 +18,22 @@
|
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"webhook",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
21
|
+
"webhook-history",
|
|
22
|
+
"webhook-replay",
|
|
23
|
+
"webhook-capture",
|
|
24
|
+
"semantic-search",
|
|
25
|
+
"find-similar",
|
|
26
|
+
"webhook-investigation",
|
|
27
|
+
"request-logging",
|
|
28
|
+
"stable-urls",
|
|
29
|
+
"localhost-tunnel",
|
|
30
|
+
"production-forwarding",
|
|
31
|
+
"stripe-webhooks",
|
|
32
|
+
"github-webhooks",
|
|
33
|
+
"shopify-webhooks",
|
|
34
|
+
"twilio-webhooks",
|
|
35
|
+
"webhook-debugging",
|
|
36
|
+
"api-testing"
|
|
25
37
|
],
|
|
26
38
|
"author": "HookTunnel",
|
|
27
39
|
"license": "MIT",
|