๐Ÿง  NEW wss server

NEW - ๐Ÿ›ฐ๏ธ HMAS WebSocket Server (wss://) โ€” Hacky Messages As a Service

Welcome aboard the HMAS (Hacky Messages As a Service)


โš™๏ธ How It Works

  1. WebSocket Server:

Your HMAS server listens on wss://ws.carlostkd.ch and awaits clients who are brave enough to connect and handle the chaos.

  1. Client Configuration:

The server expects a JSON payload with parameters like any commands available ex:


   {

     "msg": "ai",

     "chat": "on",

     "chatstyle": "panic",

     "format": "txt",

     "interval": 4000

   }

  1. Streaming:

Once connected, the server pushes a stream of generated messages (AI themes, logs, alerts) to your client

with options for themes, tones, and formatting that you have selected.

  1. Controls & Validation:
  • interval recomender โ‰ฅ 9000ms. (or you hit the api limit quickly..

  • Custom fields let you tweak personalities like โ€œsysopโ€, โ€œpanicโ€, โ€œsarcasticโ€, etc.

  • Check the api documentation for more.

  1. Toasts & Feedback:

The frontend client displays real-time toasts to inform users about stream state,

config errors, and even gives copy buttons for every message. Because sharing is caring.


๐Ÿ‘€ Client View

The included frontend (https://carlostkd.ch/ws-client.html) features:

  • Config editor with live validation.

  • Preset manager with save/load/export/import.

  • Live log stream with copy buttons.

  • Regex filtering and smart interval adjustments.

  • API key visibility toggle (๐Ÿ‘๏ธ yes, we got that too).

  • Toasts that pop harder than your popcorn on movie night.


๐Ÿง  Use Cases

  • Cybersecurity Simulators: Fake logs that terrify interns.

  • AI Demos: Panic-mode chatbot that sounds like HAL having a nervous breakdown.

  • Training Drills: Simulate threat response in a safe (yet thrilling) environment.

  • Terminal Candy: Because your dashboard deserves flair.


๐Ÿ›‘ Notes

  • Make sure to validate all client configs before connecting.

  • For advanced setups, you can hook in a Nostr bot to broadcast these alerts to relays across the fediverse.


Disclaimer

This server will not hack anything.

It's a simulator, not a saboteur.

If your boss screams, just tell them it's โ€œHacky Messages As a Service,โ€ not an actual breach.


stream responsibly.


You'll only receive email when they publish something new.

More from Carlostkd โœ…
All posts