Skip to content

feat(ngrok): support fixed endpoint URL#39

Merged
yxlao merged 3 commits into
yxlao:mainfrom
ridvanaltun:feat/ngrok-url
May 10, 2026
Merged

feat(ngrok): support fixed endpoint URL#39
yxlao merged 3 commits into
yxlao:mainfrom
ridvanaltun:feat/ngrok-url

Conversation

@ridvanaltun
Copy link
Copy Markdown
Contributor

Summary

Expose ngrok’s --url=… flag so users with a reserved endpoint or custom domain can pin the public URL instead of getting a random one each run.

Changes

  • config.yaml: optional ngrok_url; passed to ngrok as --url=<value> when set.
  • CLI: --ngrok-url <URL> (empty string clears / overrides to unset).
  • NgrokTunnel: builds ngrok http <local-target> --url=… when configured.
  • README: usage for config + CLI.
  • Tests: config parsing, CLI flag, tunnel argv.

Usage

config.yaml:

ngrok: true
ngrok_url: https://your-subdomain.ngrok.dev

CLI:

deepseek-cursor-proxy --ngrok-url https://your-subdomain.ngrok.dev

@yxlao yxlao changed the title Add optional fixed ngrok endpoint via --url (ngrok_url / --ngrok-url) feat(ngrok): support fixed endpoint URL May 10, 2026
Copy link
Copy Markdown
Owner

@yxlao yxlao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution!

Small nit: I changed “random URL each time” to “URL assigned by ngrok.” In my experience, even free-plan ngrok URLs/dev domains are usually stable across runs, so this wording is a bit more accurate.

@yxlao yxlao merged commit ea3da01 into yxlao:main May 10, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants