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

implement ngrok rtunneling #68

Open
Mike-FreeAI opened this issue Apr 29, 2024 · 0 comments
Open

implement ngrok rtunneling #68

Mike-FreeAI opened this issue Apr 29, 2024 · 0 comments

Comments

@Mike-FreeAI
Copy link

Implements ngrok tunneling to expose local development servers to the internet, enhancing the project's capability for remote access and testing.

  • Updates backend/.env.example: Adds ngrok configuration options including NGROK_AUTH_TOKEN and NGROK_TUNNEL_NAME to allow developers to specify their ngrok auth token and desired tunnel name.
  • Modifies backend/executor/terminal.go:
    • Imports the ngrok package to utilize its tunneling features.
    • Initializes ngrok in the TerminalName function using a placeholder auth token, aiming to create or retrieve an ngrok tunnel based on the flow ID. This replaces the previous logic of simply formatting a terminal name string.
    • Adjusts the TerminalName function to return the ngrok tunnel's public URL, enabling the use of ngrok tunnel URL for terminal connections.
  • Enhances README.md:
    • Adds instructions for setting up ngrok tunneling, including obtaining an auth token and configuring the .env file with ngrok details.
    • Guides on starting the ngrok tunnel to expose the local development server to the internet, facilitating external access and sharing.

For more details, open the Copilot Workspace session.

@semanser semanser marked this as a duplicate of #67 Apr 29, 2024
@semanser semanser reopened this Apr 29, 2024
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