Comments (5)
Hey @jagoe,
Thanks for bringing this up. Interesting idea.
Can I ask why you would want to use more than one config, or a different config per project?
You can set different named tunnels within the single ngrok config file that define how a tunnel should behave. Would that not work for you, or do you have a completely different workflow in mind?
Cheers!
from ngrok-for-vscode.
Hey, thanks for the quick reply!
My reasoning is that this way several developers working on the same code base can get started with demoing, reviews or testing more quickly by just installing ngrok and the extension and having no to little configuration by just sharing the same config file in the code base.
I guess the same goal can be achieved using make, npm or similar tools, so the added convenience is admittedly not that big.
from ngrok-for-vscode.
Good news to start with here. Installing the extension actually installs ngrok.
But I’m still unclear on how sharing config files will help. Firstly, the config file is the place to store your auth token, which shouldn’t be checked into source control. Secondly, if you use named sub domains then you may end up with tunnel clashes.
I genuinely see ngrok config as something personal to a developer, rather than set on a per project basis.
from ngrok-for-vscode.
Alright, I get that. I'm pretty new to ngrok (actually read about it the first time in your article), so I may have misunderstood how it's supposed to be used.
I'll still play around a bit and see if I can make my general idea work for the purposes I mentioned, just for fun :)
I'll go ahead and close the issue then.
from ngrok-for-vscode.
I'm pleased I could introduce you to ngrok! Hopefully both ngrok and this extension are useful to you.
Let me know if this idea still appeals to you after using the tools for a while.
from ngrok-for-vscode.
Related Issues (20)
- Close ngrok after all tunnels are closed
- Host header rewrite HOT 2
- Look into localisation/internationalisation for the extension
- Cannot set the port from the beginning... HOT 7
- How can I use w/ TLS, a subdomain, and set my own port? HOT 3
- Feature request: start/stop with arguments from other extensions HOT 2
- command not found HOT 3
- start command gives spawn ./ngrok ENOENT: Error HOT 9
- Ngrok binary won't download HOT 5
- Can't update ngrok binary HOT 8
- Way to Start Multiple Tunnels Simultaneously HOT 5
- Using this extension inside a devcontainer HOT 7
- No option to create TCP tunnel HOT 1
- Never starts my tunnel HOT 8
- Start NgRok - Getting error with no much details
- Update to ngrok3? HOT 2
- There was an error starting your tunnel. HOT 3
- Download system specific binary on extension activation.
- Continuous Integration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngrok-for-vscode.