![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
hookdeck-cli-yarn-test
Advanced tools
Using the Hookdeck CLI, you can forward your webhooks to your local webserver. We offer unlimited free and permanent webhook URLs. Your webhook history is preserved between session and can be viewed, replayed or used for testing by you and your teammates.
Hookdeck CLI is compatible with most of Hookdeck features such as filtering and fan-out delivery. You can use Hookdeck CLI to develop or test your webhook integration code locally.
Although it uses a different approach and philosophy, it's a replacement for ngrok and alternative HTTP tunnel solutions.
Hookdeck for development is completely free, and we monetize the platform with our Production offering.
For a complete reference, see the CLI reference
Hookdeck CLI is available for macOS, Windows, and Linux for distros like Ubuntu, Debian, RedHat and CentOS.
Hookdeck CLI is distributed as an NPM package:
npm install hookdeck -g
Hookdeck CLI is available on macOS via Homebrew:
brew install hookdeck/hookdeck/hookdeck
Hookdeck CLI is available on Windows via the Scoop package manager:
scoop bucket add hookdeck https://github.com/hookdeck/scoop-hookdeck-cli.git
scoop install hookdeck
To install the Hookdeck CLI on Linux without a package manager:
The CLI is also available as a Docker image: hookdeck/hookdeck-cli
.
docker run --rm -it hookdeck/hookdeck-cli version
hookdeck version x.y.z (beta)
If you want to login to your Hookdeck account with the CLI and persist
credentials, you can bind mount the ~/.config/hookdeck
directory:
docker run --rm -it -v $HOME/.config/hookdeck:/root/.config/hookdeck hookdeck/hookdeck-cli login
Then you can listen on any of your sources. Don't forget to use
host.docker.internal
to reach a port on your host machine, otherwise
that port will not be accessible from localhost
inside the container.
docker run --rm -it -v $HOME/.config/hookdeck:/root/.config/hookdeck hookdeck/hookdeck-cli listen http://host.docker.internal:1234
Installing the CLI provides access to the hookdeck
command.
hookdeck [command]
# Run `--help` for detailed information about CLI commands
hookdeck [command] help
Login with your Hookdeck account.
hookdeck login
Login is optional, if you do not login a temporary guest account will be created for you when you run other commands.
Start a session to forward your webhooks to an HTTP server.
hookdeck listen <port-or-URL> <source-alias?> <connection-query?>
Hookdeck works by routing webhooks receive for a given source
(ie: Shopify, Github, etc.) to its defined destination
by connecting them with a connection
to a destination
. The CLI allows you to receive webhooks for any given connection and forward them to your localhost at the specified port or any valid URL.
Each source
is assigned a Webhook URL, which you can use to receive webhooks. When starting with a fresh account, the CLI will prompt you to create your first source. Each CLI process can listen to one source at a time.
Contrarily to ngrok, Hookdeck does not allow to append a path to your Webhook URL. Instead, the routing is done within Hookdeck configuration. This means you will also be prompted to specify your destination
path, and you can have as many as you want per source
.
The
port-or-URL
param is mandatory, webhooks will be forwarded to http://localhost:$PORT/$DESTINATION_PATH when inputing a valid port or your provided URL.
The second param, source-alias
is used to select a specific source to listen on. By default, the CLI will start listening on all eligible connections for that source.
$ hookdeck listen 3000 shopify
👉 Inspect and replay webhooks: https://dashboard.hookdeck.com/cli/events
Shopify Source
🔌 Webhook URL: https://events.hookdeck.com/e/src_DAjaFWyyZXsFdZrTOKpuHnOH
Connections
Inventory Service forwarding to /webhooks/shopify/inventory
Orders Service forwarding to /webhooks/shopify/orders
⣾ Getting ready...
The 3rd param, connection-query
can be used to filter the list of connections the CLI will listen to. The connection query can either be the connection
alias
or the path
$ hookdeck listen 3000 shopify orders
👉 Inspect and replay webhooks: https://dashboard.hookdeck.com/cli/events
Shopify Source
🔌 Webhook URL: https://events.hookdeck.com/e/src_DAjaFWyyZXsFdZrTOKpuHnOH
Connections
Inventory Service forwarding to /webhooks/shopify/inventory
⣾ Getting ready...
Webhooks logs for your CLI can be found at https://dashboard.hookdeck.com/cli/events. Events can be replayed or saved at any time.
Logout of your Hookdeck account and clear your stored credentials.
hookdeck logout
If you are developing on an SSL destination, and are using a self-signed certificate, you can skip the SSL validation by using the flag --insecure
.
You have to specify the full URL with the protocol when using this flag.
This is dangerous, and should only be used in development scenarios, and for desitnations that you trust.
hookdeck --insecure listen https://<url-or-url:port>/
Print your CLI version and whether or not a new version is available.
hookdeck version
Configure auto-completion for Hookdeck CLI. It is run on install when using Homebrew or Scoop. You can optionally run this command when using the binaries directly or without a package manager.
hookdeck completion
Build from source by running:
go build
When testing against a non-production Hookdeck API, you can use the
--api-base
and --ws-base
flags, e.g.:
./hookdeck-cli --api-base http://localhost:9000 --ws-base ws://localhost:3003 listen 1234
Also if running in Docker, the equivalent command would be:
docker run --rm -it \
-v $HOME/.config/hookdeck:/root/.config/hookdeck hookdeck/hookdeck-cli \
--api-base http://host.docker.internal:9000 \
--ws-base ws://host.docker.internal:3003 \
listen \
http://host.docker.internal:1234
Copyright (c) Hookdeck. All rights reserved.
Licensed under the Apache License 2.0 license.
FAQs
Hookdeck CLI
The npm package hookdeck-cli-yarn-test receives a total of 0 weekly downloads. As such, hookdeck-cli-yarn-test popularity was classified as not popular.
We found that hookdeck-cli-yarn-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.