HIX - Harbour web server

User avatar
Carles
Posts: 1298
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

HIX - Harbour web server

Post by Carles »

Image

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
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: HIX - Harbour web server

Post by Otto »

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
shri_fwh
Posts: 340
Joined: Mon Dec 07, 2009 2:49 pm

Re: HIX - Harbour web server

Post by shri_fwh »

Dear Carles ,

Is Hix Open source ?

Thanks
Shridhar
Thanks
Shridhar
FWH 24.04, BCC 7 32 bit, MariaDB
User avatar
Carles
Posts: 1298
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: HIX - Harbour web server

Post by Carles »

Hi,
Otto wrote: Sat Oct 25, 2025 8:14 am 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: Sat Oct 25, 2025 4:01 pm 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/view ... hp?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
User avatar
RAMESHBABU
Posts: 668
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Re: HIX - Harbour web server

Post by RAMESHBABU »

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
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: HIX - Harbour web server

Post by Otto »

>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.
FiveWiDi
Posts: 1467
Joined: Mon Oct 10, 2005 2:38 pm

Re: HIX - Harbour web server

Post by FiveWiDi »

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

User avatar
wilsongamboa
Posts: 672
Joined: Wed Oct 19, 2005 6:41 pm
Location: Quito - Ecuador

Re: HIX - Harbour web server

Post by wilsongamboa »

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

Code: Select all | Expand

<!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

Code: Select all | Expand

<!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
[email protected]
FiveWiDi
Posts: 1467
Joined: Mon Oct 10, 2005 2:38 pm

Re: HIX - Harbour web server

Post by FiveWiDi »

wilsongamboa wrote: Mon Dec 15, 2025 7: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

Code: Select all | Expand

<!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

Code: Select all | Expand

<!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

User avatar
Carles
Posts: 1298
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: HIX - Harbour web server

Post by Carles »

Carlos,

La mayoria de funciones las puedes encontrar en la wiki: https://github.com/carles9000/hix/wiki/ ... 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
FiveWiDi
Posts: 1467
Joined: Mon Oct 10, 2005 2:38 pm

Re: HIX - Harbour web server

Post by FiveWiDi »

Carles wrote: Wed Dec 17, 2025 7:36 am

Carlos,

La mayoria de funciones las puedes encontrar en la wiki: https://github.com/carles9000/hix/wiki/ ... 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

User avatar
Carles
Posts: 1298
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: HIX - Harbour web server

Post by Carles »

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
FiveWiDi
Posts: 1467
Joined: Mon Oct 10, 2005 2:38 pm

Re: HIX - Harbour web server

Post by FiveWiDi »

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

User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: HIX - Harbour web server

Post by Antonio Linares »

Igual se lo está inventando... :)

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Carles
Posts: 1298
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: HIX - Harbour web server

Post by Carles »

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

Image

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
Post Reply