Chathud

Rating: 
0
No votes yet

Chathud - an interface to GPT-4ALL, Ollama and Noobhub.

Get started:

    Test Basic Commands: Type in these specific commands to ensure functionality:
      
    "set temperature to",
    "set max tokens to",
    "set model to",
    "set api url to"
    "switch to gpt4all",
    "switch to ollama",
    "change speaker to",(use this to change the model used by the TTS server)
    "quit game",
    "send to channel",
    "send to user",
    "set username to",
    "set server to",
    "ollama",
    "gpt4all"

Key Features:

   Autocompletion (press tab to autocomplete)
                
Chat to players using noobhub server (through another instance of chathud or the game spinny the runner which features chatHud)
                
Send queries to gpt4all and ollama (ollama or gpt4all server required)

Set up connection to ollama (or gpt4all):

  • Set up url of ollama with 'set api url to [OllamaIp]/api/generate')
  • Type ollama or gpt4all followed by your query

Hear the answers from gpt4all or ollama (only with a compatible TTS server such as 'coqui TTS' running on the local machine.

For now you can only configure the voice used by the TTS typing "change speaker to" followed by the wanted voice.

Set up connection to Noobhub (download and follow instructions from: https://github.com/Overtorment/NoobHub)

Noobhub is an OpenSource multiplayer and network messaging for CoronaSDK, Moai, Gideros, LÖVE & Defold. To start chatting with other players / users:

  • Start the noobhub server (follow instructions form noobhub repository)
  • set up the ip of the noobhub server for chathud with 'set server to [NoobhubIP]')
  • set up your nick on chathud with "set username to", followed by your nick

By default all messages are sent to the main channel, to send messages to a channel or person type:  "send to channel", or "send to user" followed by the nick of the user.

There are instructions available inside this tool, to access them swipe down to pull the top menu.

v0.3 adds new touch keyboard layout

v0.3.2 Update Highlights:

    Refined Chat HUD Layout
    The chat interface has been cleaned up for better readability and spacing.

    Touch Keyboard Feedback
    Added subtle sound effects when pressing keys on the on-screen keyboard.

    User Join Notification Sound
    Hear a chime when new users join the server.

    Private Messaging Made Easy
    You can now send a private message by simply clicking on a user's name in the user list.

v0.4 Update Highlights

NoobHub server ported  from Node.js to Lua/love2d, allowing for more efficient and integrated game networking (and there's no need for an external nodejs server).

To complement this change, you still have the option to use the original Node.js-based NoobHub server if desired. However, with the new ported server, you can now enjoy a seamless multiplayer experience within the game itself.

Chat HUD Updates

The pull menu is contextual and provides the following options when chatHud is opened:

    Start the NoobHub server (newly integrated into the game)
    Connect to a running Node.js-based NoobHub server (for those who prefer it)
    Close the Chat HUD
    Set your username
    Talk to Ollama (the game's AI)
    Set the Ollama API URL

When starting the newly integrated NoobHub server, you'll see real-time information on:

    Server port and uptime
    Number of connected clients
    Channels and online users
    Channel activity

The server runs in the background, allowing other players to reach you and send messages. You can close the Chat HUD to keep playing while still being reachable by others.

 

 

Application versions: 
AttachmentSizeDate
File chathud-0.3-1.noarch.rpm2.06 MB10/04/2025 - 19:42
File chathud-0.3.2-1.noarch.rpm9.53 MB11/04/2025 - 16:59
File chathud-0.4-1.noarch.rpm10.71 MB12/04/2025 - 19:12
Changelog: 

v0.4 Update Highlights

NoobHub server ported  from Node.js to Lua/love2d, allowing for more efficient and integrated game networking (and there's no need for an external nodejs server).

To complement this change, you still have the option to use the original Node.js-based NoobHub server if desired. However, with the new ported server, you can now enjoy a seamless multiplayer experience within the game itself.

Chat HUD Updates

The pull menu is contextual and provides the following options when chatHud is opened:

    Start the NoobHub server (newly integrated into the game)
    Connect to a running Node.js-based NoobHub server (for those who prefer it)
    Close the Chat HUD
    Set your username
    Talk to Ollama (the game's AI)
    Set the Ollama API URL

When starting the newly integrated NoobHub server, you'll see real-time information on:

    Server port and uptime
    Number of connected clients
    Channels and online users
    Channel activity

The server runs in the background, allowing other players to reach you and send messages. You can close the Chat HUD to keep playing while still being reachable by others.