Zling is a guild-channel based messaging application meant for everyone - from a small friend group or gaming community to a large corporate messaging hive. Zling is built on robust and emerging web technologies to remain usable and deployable anywhere you want, with as much control over your data as you want. Controlling bloat and tuning performance is as much a priority as security and privacy.
Zling puts an emphasis on being software before being a service. Anyone can run Zling in the way they want and not have to associate themselves with our branding. We're not here to tell you how you should run your chat platform.
Zvelte is the official web client for the Zling messaging application. You can use Zvelte on any modern browser that supports JavaScript and WebRTC (for voice & video chat).
Zvelte is written in Svelte (duh!), one of the most admired and desired web frameworks of StackOverflow's 2023 developer survey. We chose Svelte because it is lightweight (~6.7kB), performant and great for developer experience.
Zvelte should maintain full API coverage of the Zling API, and remain a first-class application when developing components of Zling. This is one of the main apps that users of Zling interact with.
šØļø Responsive & powerful text chat system.
š§ Robust & low-latency voice chat backed by field-tested mediasoup library.
š Organize communities with servers, channels, roles and permissions.
š„ It's pretty quick
š Open-source & user-first design approach
š·ļø Software before a service
Zling is developed by volunteers in their free time. Reach out to us if you'd like to help!
š§ Zling and Zvelte are currently under development, and do not have a stable release out yet. You are free to self-host the Zling API Server and this app yourself.
Star and watch this repository if you want to stay updated!
We prefer to use Bun as a package manager because it's fast. Linux is recommended for a development and building OS as it simplifies installing a lot of dependencies.
See Bun's Installation Guide. You can also
use a different package manager like npm
or yarn
, but Bun is strongly
recommended.
# check if it works
$ bun --version
1.0.7
This installs some needed JS development libraries. Should take about a second to finish...
$ bun install
bun install v1.0.7 (b0393fba)
+ @iconify/[email protected]
+ @sveltejs/[email protected]
+ @tsconfig/[email protected]
+ @types/[email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
168 packages installed [1065.00ms]
# Build static files if you're deploying
$ bun run build
vite v4.5.0 building for production...
ā 303 modules transformed.
dist/index.html 1.96 kB ā gzip: 0.91 kB
dist/assets/index-121c99f0.css 31.38 kB ā gzip: 6.47 kB # main css file
dist/assets/index-7ef777b8.js 215.70 kB ā gzip: 66.69 kB # app including all icons & some css
dist/assets/index-a2f0e58a.js 281.96 kB ā gzip: 49.23 kB # loaded during voice chat only
ā built in 2.69s
# ā
Your built files are in the dist/ folder ready to host.
# Open the built app in a browser (with HTTPS!)
$ bun run start
ā Local: https://localhost:2000/
ā Network: use --host to expose
ā press h to show help
# Open a hot-reloaded HMR server in your browser with HTTPS.
$ bun run dev
VITE v4.5.0 ready in 325 ms
ā Local: https://localhost:2000/
ā Network: use --host to expose
ā press h to show help
Happy hacking!