Comments (5)
I think these are all reasonable. I'm not sure how to deal with the auth token thing without overcomplicating the configuration file loading. Maybe it could fallback to using an environment variable?
Programmatic access to the randomly-assigned domain and wildcard domains are also popular requests I've received.
Unless you object, I'm going to split this issue out into separate issues for each concern.
from ngrok.
@inconshreveable Well using a simple alias one can fix the auth_token issue when using custom config files. And of course I don't object. Whatever is the easiest!
I just hope the way I like to use ngrok makes sense, as using a simple command as "ngrok" in a project's root directory to allow previewing it to other dev's or perhaps even directly to users (to figure out where they get stuck) seems as a very powerful tool to me.
(When I get emails from users that something doesn't work I had to branch, commit, push, pull, checkout, mail, wait. Now I can branch, ngrok, mail, and see where it might go wrong and do changes on the fly before having to commit the changes. But that might be unique to the project's nature though.)
from ngrok.
There's no right or wrong way to use ngrok. It makes sense what you're trying to do and seems totally reasonable to me. The only question that needs to be answered is whether it makes sense to solve this problem in ngrok's space or whether it should be pushed to the developers if there isn't a good general solution. I'll keep thinking on this.
from ngrok.
+1
fwiw this would help projects that use ngrok to passively share the fact that they use it -- casual inspection of the root dir would raise that point :)
from ngrok.
ngrok 2.x supports this by allowing you to specify multiple configuration files so that you can have project-level configs and global configs.
won't fix for 1.x
from ngrok.
Related Issues (20)
- ngrok status reconnecting issue failed to send authentication request: read tcp HOT 6
- Ngrok in the termux HOT 2
- React + Express + Socket.io + Ngrok HOT 2
- Not registering server responses HOT 3
- question regarding memory usage HOT 2
- "An SSL error has occurred and a secure connection to the server cannot be made" HOT 1
- ngrok service doesn't reconnect after laptop sleep with ERR_NGROK_334 HOT 3
- Proposal to Fork and Maintain ngrok HOT 4
- There was an issue when use ngrok http http://xxx.xxx.xxx.xxx HOT 1
- Ngrok not working correctly for me HOT 1
- NGROK won't send image if it is embedded in HTML HOT 1
- "no longer signed" error when updating with apt on Ubuntu HOT 2
- NgRok minecraft 1 20 4 server (vanila) HOT 2
- Issue in sending sensor data from ESP8266 to Ngrok tunnel HOT 1
- Successfully create tunnel, not able to connect to it HOT 1
- Threat detected by Windows Security: AndroidOS/ZkarletFlash HOT 1
- Can't connect to gRPC
- Ngrok service start failed on macos HOT 2
- Consider transferring issues to the new repo HOT 3
- Reconnection issue with ngrok while tunneling HOT 1
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.