Skip to content
@shublabs

Shub

A simple and open chat app built with @vlang and @vitejs.

Shub

Hey there! ๐Ÿ‘‹ Welcome to Shub

Your lightweight, self-hosted, open-source, and privacy-first chat app. ๐Ÿ’ฌ
Built with V and Vite, it's fast, minimalist, and ready to run anywhere.

v install siguici.shub
v run ~/.vmodules/siguici/shub/install.vsh
shub

๐ŸŒŸ What is Shub?

A minimalist real-time messaging platform, ideal for:

  • internal team communication
  • local LAN chats or Raspberry Pi setups
  • retro-style chatrooms and social spaces
  • hacker communities and self-hosted networks

๐Ÿ› ๏ธ Built with

  • โšก Vlang โ€“ backend & WebSocket server
  • ๐Ÿง  SQLite โ€“ optional persistence layer (rooms, users, etc.)
  • ๐ŸŽจ TailwindCSS โ€“ beautiful, minimal design
  • ๐Ÿ”ง vite.v โ€“ V-native frontend builder
  • ๐Ÿ“ก WebSocket + optional Server-Sent Events (SSE)

๐Ÿš€ Features

  • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ Public & private rooms with password support
  • ๐Ÿ” Auto-reconnect & ping/pong keep-alive
  • ๐Ÿ“ฆ No install โ€” just open index.html
  • ๐Ÿ› ๏ธ Single binary backend (no Node.js needed)
  • ๐Ÿ“ก Real-time messaging via WebSocket
  • ๐Ÿงช CLI client included (Vlang)
  • ๐Ÿณ Docker support (optional)
  • ๐ŸŒ Self-hosted, privacy-first, AGPL-licensed

๐Ÿค Want to contribute?

We โค๏ธ open collaboration. Fork us, PR us, remix us.
You can contribute:

  • new themes or dark mode
  • performance or memory optimizations
  • CLI or TUI clients in V
  • message history or federation support
  • translations (i18n)

๐Ÿ“š Read the README
๐Ÿ“ฎ Open an issue or start a discussion!

๐Ÿ”— Useful Links

๐Ÿ“œ License

Released under the AGPL-3.0 license.
Free as in freedom. โœŠ

If you run it over a network, you must share your modifications.
Your users deserve the same freedom you enjoy.

๐Ÿฟ Fun fact

Most of Shub was written with love, music, and V.

๐ŸŽง Probably listening to lo-fi or retro funk.
๐Ÿณ Breakfast? Tunisian brik & black coffee โ˜•

Made for humans, not corporations.

๐Ÿ•Š๏ธ Shub is tiny, transparent and timeless.
Let's bring open chat back.

Popular repositories Loading

  1. .github .github Public

    ๐Ÿ‘ฅ Default community health/policy files for @ShubLabs organisation-wide projects on GitHub.

Repositories

Showing 1 of 1 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loadingโ€ฆ

Most used topics

Loadingโ€ฆ