Textcat v3 is coming soon
Textcat v3 is on the horizon, bringing a structural upgrade to the project. Unlike v2, which lacked a formal API, v3 introduces proper API using interfaces and an app struct.
This means developers can now rely on a stable, clear API when building their own Textcat servers/clients.
The split between cmd/ and tc/ makes v3 far more modular. tc/ contains the core library, implementing interfaces for authentication, data handling, and session management, while cmd/ focuses on server handling. tc/ also has no idea of what "websockets" or "sql" is, meaning you can do whatever you want with it.
This separation allows anyone to reuse the tc library for custom servers, alternative frontends, or integrations, without being tied to the default websocket server. You can even import it as it's own package.
Overall, Textcat v3 is my idea of a proper app: Simple, Fast and Extendable!
Have a Happy New Year, Zion8992