Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to create smee.io link for client #167

Open
jmcgrath207 opened this issue Jan 21, 2025 · 1 comment
Open

Option to create smee.io link for client #167

jmcgrath207 opened this issue Jan 21, 2025 · 1 comment

Comments

@jmcgrath207
Copy link

Thanks for creating this project!

I was wondering if we could add a feature to create a smee.io URL if one isn't supplied for the gosmee client command.

As an example, this is the default behavior of https://github.com/probot/smee-client

 ./smee --help
Usage: smee [options]
...
  -u, --url <url>        URL of the webhook proxy service. Default: https://smee.io/new

I tried something similar but it didn't work, so I think we need a flag for this.

./gosmee client https://smee.io/new http://localhost:3000
Tue, 21 Jan 2025 00:18:47 CST INF ⇉ Starting gosmee version: dev

Tue, 21 Jan 2025 00:18:47 CST INF 2025-01-21T06.18.01.652 ✓ Forwarding https://smee.io/new to http://localhost:3000

If this is something you are open to, I am more than happy to contribute.

@chmouel
Copy link
Owner

chmouel commented Jan 27, 2025

yes sure! that sounds good to me, the gosmee server is supporting it as well but would be great that both are supported:

curl -o/dev/null -s -L http://hook.pipelinesascode.com/new -w %{url_effective}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants