FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour HIX - Harbour web server
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
HIX - Harbour web server
Posted: Fri Oct 24, 2025 12:29 PM


Hi,

Let me introduce you to HIX. It's a web server that's ready to go from the second you download it, so you can start running any website you want, right away.

Think of it like the Apache executable that acts as a server—well, HIX is also a single executable file.

It comes bundled with the entire UT library and is designed for developers who just want to build web apps using traditional elements. The backend is powered by Harbour, so a lot of the groundwork is already done for you. This whole project started with a couple of developers who were tired of compiling UT; they just wanted a simple server tool to support their applications.

Harbour Executable
Harbour Backend

Within minutes, if you have a bit of know-how, you can easily set up any form for your clients to access from their phone, tablet, computer… you name it.

The system runs from the console, configuration is a breeze, and you can build robust and secure web applications incredibly easily. You can create custom routes, set up SSL, configure a firewall, manage user access, define error status pages, and tweak the core Harbour settings… you get the idea.

The whole point is: One click and you have a server up and running.

The pre-release is ready to go and you can download it right now from GitHub:
https://github.com/carles9000/hix/releases/tag/v1.00

You can find all the info and help in the wiki:
https://github.com/carles9000/hix/wiki

And for any questions that have come up, there's a full breakdown here on the blog (blog has a translator):
https://httpd2.blogspot.com/2025/10/hix.html

Harbour is more than capable for this web scenario. We don't need Python, PHP, or any other languages—we already have our own. I think this could be a real game-changer for a lot of you.


Nice weekend.
C.
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: HIX - Harbour web server
Posted: Sat Oct 25, 2025 08:14 AM
Hi Charly,

Respect and congratulations — the new server looks very professional. I installed it without any issues.

I’ve posted two questions for you here: https://clipper2web.com/miniforum/forumeng.php

Many thanks for your work for the Harbour/FiveWin community. With HIX, all barriers to going to the web are finally gone.

Best regards,
Otto
Posts: 336
Joined: Mon Dec 07, 2009 02:49 PM
Re: HIX - Harbour web server
Posted: Sat Oct 25, 2025 04:01 PM

Dear Carles ,

Is Hix Open source ?

Thanks

Shridhar

Thanks

Shridhar

FWH 24.04, BCC 7 32 bit, MariaDB
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: HIX - Harbour web server
Posted: Sun Oct 26, 2025 11:19 AM
Hi,
Otto wrote: Respect and congratulations — the new server looks very professional. I installed it without any issues.
Thanks Otto, maybe you could explain to your colleagues how to use it from Cloudfare, now that you're an expert...

shri_fwh wrote: Is Hix Open source ?
No. HIX is based on the UT library. If you'd like to use it, all the code is at https://github.com/carles9000/ut


I have opened a thread so you can see and test how to create a first basic and easy-to-use application with HIX.
https://fivetechsupport.com/forums/viewtopic.php?t=46058

I think it's a very easy exercise... :wink:

C.
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Re: HIX - Harbour web server
Posted: Sun Oct 26, 2025 12:54 PM
Hi Carles,

Thanks for the Announcement of 'HIX'.

I was testing it few mins. ago.

It took few mins. for me to understand basics of HIX and testing
the functionality.

It seems to be pretty easy to test.
Let me wait for its further development.

I Hope for the best for our "HARBOUR" freternity with HIX. :D

-Ramesh Babu
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: HIX - Harbour web server
Posted: Sun Oct 26, 2025 05:18 PM

>Thanks Otto, maybe you could explain to your colleagues how to use it from Cloudfare, now that you're an expert...

I have the small installation problem I mentioned above. HTML works perfectly; with PRG I get the error. I think I still need to install something from Harbour.

Posts: 1445
Joined: Mon Oct 10, 2005 02:38 PM
Re: HIX - Harbour web server
Posted: Mon Dec 15, 2025 01:21 PM

Bon dia Carles,

¿Hay más funciones además de las publicadas en https://github.com/carles9000/hix/wiki/Functions ?

He encontrado el uso de UWrite( cHtml ) y tambien como UWrite(cJson) y no sé que hace esta función; entiendo que es de Hix pero no encuentro documentación al respecto.

Gracias,

Un Saludo

Carlos G.



FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home

Posts: 670
Joined: Wed Oct 19, 2005 06:41 PM
Re: HIX - Harbour web server
Posted: Mon Dec 15, 2025 07:05 PM

Carlos esas funciones son del framework UT es software libre esta en https://github.com/carles9000/ut.git
Mis humildes puntos de vista de HIX

  • HIX es un web server construido con lenguaje harbour y CAPAZ ( mayúscula y eso es lo principal ) de ejecutar código harbour embebido en el html
    EJEMPLO esta es una pagina hecha con ia para mostrar un card responsivo miren
<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hola Mundo con Card</title>
    <style>
        /* Estilos Generales */
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Centra verticalmente */
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
        }

    h1 {
        color: #333;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Estilos del Card */
    .card {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 30px;
        width: 100%; /* Ocupa todo el ancho por defecto */
        max-width: 400px; /* Ancho máximo */
        text-align: center;
        transition: transform 0.2s;
    }

    .card:hover {
        transform: translateY(-5px); /* Efecto al pasar el mouse */
    }

    .card-title {
        font-size: 2em;
        color: #007bff;
        margin-bottom: 15px;
    }

    .card-content {
        font-size: 1.1em;
        color: #666;
    }

    /* Media Query para Responsividad */
    @media (max-width: 600px) {
        .card {
            padding: 20px;
            max-width: 90%; /* Más ancho en pantallas pequeñas */
        }
        h1 {
            font-size: 1.5em;
        }
    }
</style>
</head>
<body>

<div class="card">
    <h1>¡Hola Mundo!</h1>
    <p class="card-content">Este es un ejemplo de un card responsivo creado con HTML y CSS.</p>
</div>

</body>
</html>

aca la misma pero con codigo harbour embebido en el html ahi esta lo bueno

<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hola Mundo con Card</title>
    <style>
        /* Estilos Generales */
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Centra verticalmente */
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
        }

    h1 {
        color: #333;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Estilos del Card */
    .card {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 30px;
        width: 100%; /* Ocupa todo el ancho por defecto */
        max-width: 400px; /* Ancho máximo */
        text-align: center;
        transition: transform 0.2s;
    }

    .card:hover {
        transform: translateY(-5px); /* Efecto al pasar el mouse */
    }

    .card-title {
        font-size: 2em;
        color: #007bff;
        margin-bottom: 15px;
    }

    .card-content {
        font-size: 1.1em;
        color: #666;
    }

    /* Media Query para Responsividad */
    @media (max-width: 600px) {
        .card {
            padding: 20px;
            max-width: 90%; /* Más ancho en pantallas pequeñas */
        }
        h1 {
            font-size: 1.5em;
        }
    }
</style>
</head>
<body>

<div class="card">
    <h1>¡Hola Mundo!</h1>
    <p class="card-content">
	
	<?prg
		// aca el codigo harbour 
		local aNom := {'wilson','gustavo','gamboa','acosta'}
		local i 
		local cHtml := '' // aca ira el retorno en formato html esto se genera en el server y se transmite al navegador
		local crlf  := '<br>'
		local center_on   := '<center'
		local center_off  := '</center'
		for i = 1 to len( aNom )
		    cHtml += aNom[i] + crlf 
		next 
		return cHtml 
	?>

	</p>


</div>

</body>
</html>

OJO para hacer lo mismo con apache toca instalar apache + instalar el mod de su preferencia cargar la dll de hb etc etc

  • ligero y rapido potente
  • cualquier pagina funciona en este web server con certificado sin

perdon la letania pero creo que eso esta implicito pero no se ha comentado
OJO el segundo codigo es solo compatible con HIX
saludos
Wilson

Wilson 'W' Gamboa A
Wilson.josenet@gmail.com
Posts: 1445
Joined: Mon Oct 10, 2005 02:38 PM
Re: HIX - Harbour web server
Posted: Tue Dec 16, 2025 10:27 AM
wilsongamboa wrote:

Carlos esas funciones son del framework UT es software libre esta en https://github.com/carles9000/ut.git
Mis humildes puntos de vista de HIX

  • HIX es un web server construido con lenguaje harbour y CAPAZ ( mayúscula y eso es lo principal ) de ejecutar código harbour embebido en el html
    EJEMPLO esta es una pagina hecha con ia para mostrar un card responsivo miren
<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hola Mundo con Card</title>
    <style>
        /* Estilos Generales */
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Centra verticalmente */
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
        }

    h1 {
        color: #333;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Estilos del Card */
    .card {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 30px;
        width: 100%; /* Ocupa todo el ancho por defecto */
        max-width: 400px; /* Ancho máximo */
        text-align: center;
        transition: transform 0.2s;
    }

    .card:hover {
        transform: translateY(-5px); /* Efecto al pasar el mouse */
    }

    .card-title {
        font-size: 2em;
        color: #007bff;
        margin-bottom: 15px;
    }

    .card-content {
        font-size: 1.1em;
        color: #666;
    }

    /* Media Query para Responsividad */
    @media (max-width: 600px) {
        .card {
            padding: 20px;
            max-width: 90%; /* Más ancho en pantallas pequeñas */
        }
        h1 {
            font-size: 1.5em;
        }
    }
</style>
</head>
<body>

<div class="card">
    <h1>¡Hola Mundo!</h1>
    <p class="card-content">Este es un ejemplo de un card responsivo creado con HTML y CSS.</p>
</div>

</body>
</html>

aca la misma pero con codigo harbour embebido en el html ahi esta lo bueno

<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hola Mundo con Card</title>
    <style>
        /* Estilos Generales */
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Centra verticalmente */
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
        }

    h1 {
        color: #333;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Estilos del Card */
    .card {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 30px;
        width: 100%; /* Ocupa todo el ancho por defecto */
        max-width: 400px; /* Ancho máximo */
        text-align: center;
        transition: transform 0.2s;
    }

    .card:hover {
        transform: translateY(-5px); /* Efecto al pasar el mouse */
    }

    .card-title {
        font-size: 2em;
        color: #007bff;
        margin-bottom: 15px;
    }

    .card-content {
        font-size: 1.1em;
        color: #666;
    }

    /* Media Query para Responsividad */
    @media (max-width: 600px) {
        .card {
            padding: 20px;
            max-width: 90%; /* Más ancho en pantallas pequeñas */
        }
        h1 {
            font-size: 1.5em;
        }
    }
</style>
</head>
<body>

<div class="card">
    <h1>¡Hola Mundo!</h1>
    <p class="card-content">
	
	<?prg
		// aca el codigo harbour 
		local aNom := {'wilson','gustavo','gamboa','acosta'}
		local i 
		local cHtml := '' // aca ira el retorno en formato html esto se genera en el server y se transmite al navegador
		local crlf  := '<br>'
		local center_on   := '<center'
		local center_off  := '</center'
		for i = 1 to len( aNom )
		    cHtml += aNom[i] + crlf 
		next 
		return cHtml 
	?>

	</p>


</div>

</body>
</html>

OJO para hacer lo mismo con apache toca instalar apache + instalar el mod de su preferencia cargar la dll de hb etc etc

  • ligero y rapido potente
  • cualquier pagina funciona en este web server con certificado sin

perdon la letania pero creo que eso esta implicito pero no se ha comentado
OJO el segundo codigo es solo compatible con HIX
saludos
Wilson

Muchas gracias Wilson,

Hes estado mirando UT pero no encuentro (debo ser torpe) donde están las funciones como UWrite().
De momento no me urge, sólo estoy mirando.

Un Saludo

Carlos G.



FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home

Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: HIX - Harbour web server
Posted: Wed Dec 17, 2025 07:36 AM

Carlos,

La mayoria de funciones las puedes encontrar en la wiki: https://github.com/carles9000/hix/wiki/Functions#content-generation

Con estas funciones, te sobran para cualquier cosa en el backend.

C.

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 1445
Joined: Mon Oct 10, 2005 02:38 PM
Re: HIX - Harbour web server
Posted: Wed Dec 17, 2025 10:07 AM
Carles wrote:

Carlos,

La mayoria de funciones las puedes encontrar en la wiki: https://github.com/carles9000/hix/wiki/Functions#content-generation

Con estas funciones, te sobran para cualquier cosa en el backend.

C.

Ostras!
Juraría que estuve en esta página y no vi UWrite(), soy torpe.

Moltes gràcies Carles.

Un Saludo

Carlos G.



FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home

Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: HIX - Harbour web server
Posted: Wed Dec 17, 2025 06:13 PM

Ep,

Ostras!
Juraría que estuve en esta página y no vi UWrite(), soy torpe.

Moltes gràcies Carles.

No eres torpe, no estaba actualizada :wink:

C.

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 1445
Joined: Mon Oct 10, 2005 02:38 PM
Re: HIX - Harbour web server
Posted: Tue Dec 23, 2025 09:17 AM

Carles,

Hay una nueva versión de Hix?

Me explico.

Estoy usando Antigravity para crear código que se ejecutará contra Hix, en la petición lo primero que le digo es:
"Haz una aplicación con las características y condicionantes que se dirán más abajo usando el API https://github.com/carles9000/hix/wiki/Functions"

Cuando obtengo el código veo que ha usado funciones que al ejecutar el código no encuentra como definidas, por ejemplo:
UReadView(), uPostHas()

Mi Hix responde:
System Error
Error BASE/EG_ARG(1) 6101
Description Unknown or unregistered function symbol
Operation UPOSTHAS

Si le pregunto desde Antigravity (a Gemini 3 Flash) donde está definida esta función me indica:
"La función UReadView() no está definida en un fichero .prg accesible dentro del proyecto, sino que es una función interna (built-in) del motor de Hix ( hix.exe)."

Ya nos dices.

Un Saludo

Carlos G.



FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: HIX - Harbour web server
Posted: Tue Dec 23, 2025 10:30 AM

Igual se lo está inventando... :)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: HIX - Harbour web server
Posted: Tue Dec 23, 2025 10:31 AM

Carles,

No hay ninguna versión mas, la versión actual es la 1.1

De todas maneras, ya se hablará en el webinar, pero muchos ya lo teneis que saber:

No os creais todo lo que diga la IA

Pasamos a un nuevo estatus: De programador a validador :wink:

C.

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix