Host websites, local apps, and Minecraft Java servers from your own device.
Your username becomes your Hostish hostname. Example: username.hostish.site
Use the normal Hostish agent for websites, APIs, Flask/FastAPI/Node applications, and other HTTP services.
1. Download the normal Hostish agent:
2. Edit the top settings in agent.py:
USERNAME = "your_username" PASSWORD = "your_password" WEBSITE_DIR = "C:/path/to/site" # Choose: # MODE = "static" # MODE = "proxy" # MODE = "hybrid"
3. Run it:
python agent.py
The normal agent prints your public HTTPS URL when it connects.
1. Download the dedicated Minecraft agent:
2. Open minecraft-agent.py in a text editor and enter your Hostish account information:
USERNAME = "your_username" PASSWORD = "your_password" # Usually leave these unchanged: MINECRAFT_HOST = "127.0.0.1" MINECRAFT_PORT = 25565
3. Optionally tell Hostish where your Minecraft server's start.bat is:
# Automatically start your Minecraft server: START_BAT = r"C:\path\to\server\start.bat" # Or leave blank to start the server yourself: START_BAT = r""
If START_BAT is configured, Hostish first checks whether Minecraft is already running. If it is offline, the agent launches the batch file and waits for the server to start.
4. Optionally choose an HTML file to display when someone visits your Hostish address in a normal browser:
# Optional browser homepage: HOMEPAGE_FILE = r"C:\path\to\minecraft-home.html" # Leave blank to disable: HOMEPAGE_FILE = r""
When enabled, visiting https://USERNAME.hostish.site/ will display that HTML file while the Minecraft agent is connected.
5. Install the required Python packages once:
python -m pip install websockets certifi
6. If START_BAT is blank, start your Minecraft server now.
If you configured START_BAT, Hostish can do this automatically instead.
7. Run the agent:
python minecraft-agent.py
8. Once connected, it displays your public Minecraft address:
Minecraft address: USERNAME.hostish.site
Serves files directly from your WEBSITE_DIR.
For applications, APIs, AI backends, and mixed sites.
Minecraft does not use Hostish's HTTP proxy. The Minecraft agent carries raw Minecraft TCP traffic through its own tunnel.
Hostish can launch your existing Minecraft start.bat for you.
START_BAT = r"C:\path\to\server\start.bat"
When the Minecraft agent starts:
If you prefer manual startup:
START_BAT = r""
The Minecraft agent can also provide a simple webpage at your normal Hostish URL.
Configure it inside minecraft-agent.py:
HOMEPAGE_FILE = r"C:\path\to\minecraft-home.html"
Or disable it:
HOMEPAGE_FILE = r""