Run Gunbot Headless with Detached GUI – Easy Guide

Run Gunbot Headless with Detached GUI: Easy Guide

Running Gunbot Headless with a Detached GUI
Streamline your trading experience with this step-by-step guide on running Gunbot headless with a detached GUI.


Why Use a Detached GUI in Gunbot?

Using a detached GUI offers multiple advantages:

  • Lower Resource Usage: It reduces the processing power needed to run Gunbot, resulting in smoother operation.
  • Improved Websocket Performance: When activating websockets in Gunbot, a detached GUI ensures better performance. Websockets require significant resources, as this technology turns Gunbot into a listener, processing a continuous stream of data from the exchange.
  • Ideal for VPS Setups: Detached mode is perfect for running Gunbot on VPS, keeping the trading core lightweight and efficient.

Prerequisites

  • GUI Build:
    Download the latest version of Gunbot GUI, which is suitable for your operating system, from our Gunthy announcements channel.
  • Configuration File:
    Use the correct config.json file. A typical structure looks like this:

    json
    {
    "api_url": "http://localhost:3001",
    "port": 3333
    }

Step-by-Step Instructions

1. Download and Install the GUI

  • Choose the appropriate GUI file for your OS:
    • Windows: gui-win.exe
    • Linux: gui-linux
    • macOS: gui-macos
  • Place the config.json file in the same directory as your GUI executable.

2. Configure Gunbot for Detached GUI

  • Open the config.js file in your Gunbot installation folder using a text editor.
  • Add the following line to the GUI section:
    json
    "detached": true,

3. Start Gunbot

  • Launch Gunbot via your terminal or command prompt.
  • The GUI will now operate independently, ensuring seamless management and access.


VPS Setup for Detached GUI

1. Edit Configuration for VPS

  • Replace the api_url in your config.js file with your VPS’s valid URL you were using with the regular GUI, for example if I’m using https://demo.gunthy.es, that’s the one i would use:
    json
    "api_url": "https://demo.gunthy.es:3001",
    "port": 3333

2. Allow Port Traffic

  • On your VPS, ensure that the specified port (3001 by default) is open in the firewall settings.

3. Http or Https (Optional) 

  • If you wish to use an SSL local certificate for the GUI, you can copy your original certificate and rename them to cert.cert (certificate) / key.key (key) , edit the config.json and add the line: “https_port”: 3334,
  • Launch the gunbot gui executable.

Testing Your Setup

  • Open a browser and navigate to the GUI:
    • Local Setup: http://localhost:3333
    • VPS Setup: http://<YOUR_PUBLIC_IP>:3333 or your public fully qualified domain name.
  • Confirm the GUI and Gunbot core communicate without errors.

Tips for a Smooth Experience

  • Regularly update Gunbot and the GUI for optimal performance.
  • Secure your VPS with proper access restrictions to protect your trading environment.

Don’t miss the chance to use one of the market’s most advanced crypto trading bots, known for its exceptional GUI and UX. Elevate your trading experience now. For more details, visit the official Gunbot website or, if you speak Spanish, purchase from our official Spanish site.

That’s all folks! – Keep Calm and Gunbot.

What's your reaction?
Happy0
Lol0
Wow0
Wtf0
Sad0
Angry0
Rip0
Leave a Comment