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 tunneling #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mike-FreeAI
Copy link

@Mike-FreeAI Mike-FreeAI commented Apr 29, 2024

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.

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.

None yet

1 participant