ae0ee8fac714c6bf8f7c09ead868b817d24b818f
All checks were successful
Queue Release Build / prepare (push) Successful in 11s
Deploy Web Apps / deploy (push) Successful in 14m0s
Queue Release Build / build-linux (push) Successful in 35m41s
Queue Release Build / build-windows (push) Successful in 28m53s
Queue Release Build / finalize (push) Successful in 2m6s
Toju / Zoracord
Desktop chat app with four parts:
src/Angular clientelectron/desktop shell, IPC, and local databaseserver/directory server, join request API, and websocket eventswebsite/Toju website served at toju.app
Install
- Run
npm install - Run
cd server && npm install - Copy
.env.exampleto.env
Config
Root .env:
SSL=trueuses HTTPS for Angular, the server, and Electron dev modePORT=3001changes the server port in local development and overrides the server app setting
If SSL=true, run ./generate-cert.sh once.
Server files:
server/data/variables.jsonholdsklipyApiKeyserver/data/variables.jsonalso holdsreleaseManifestUrlfor desktop auto updatesserver/data/variables.jsoncan now also hold optionalserverHost(an IP address or hostname to bind to)server/data/variables.jsoncan now also holdserverProtocol(httporhttps)server/data/variables.jsoncan now also holdserverPort(1-65535)- When
serverProtocolishttps, the certificate must match the configuredserverHostor IP
Main commands
npm run devstarts Angular, the server, and Electronnpm run electron:devstarts Angular and Electronnpm run server:devstarts only the servernpm run buildbuilds the Angular clientnpm run build:electronbuilds the Electron codenpm run build:allbuilds client, Electron, and servernpm run lintruns ESLintnpm run lint:fixformats templates, sorts template props, and fixes lint issuesnpm run testruns Angular tests
Server project
The code in server/ is a small Node and TypeScript service.
It handles the public server directory, join requests, websocket updates, and Klipy routes.
Inside server/:
npm run devstarts the server with reloadnpm run buildcompiles todist/npm run startruns the compiled server
Images
Main Toju app Structure
| Path | Description |
|---|---|
src/app/ |
Main application root |
src/app/core/ |
Core utilities, services, models |
src/app/domains/ |
Domain-driven modules |
src/app/features/ |
UI feature modules |
src/app/infrastructure/ |
Low-level infrastructure (DB, realtime, etc.) |
src/app/shared/ |
Shared UI components |
src/app/shared-kernel/ |
Shared domain contracts & models |
src/app/store/ |
Global state management |
src/assets/ |
Static assets |
src/environments/ |
Environment configs |
Domains
| Path | Link |
|---|---|
| Attachment | app/domains/attachment/README.md |
| Auth | app/domains/auth/README.md |
| Chat | app/domains/chat/README.md |
| Screen Share | app/domains/screen-share/README.md |
| Server Directory | app/domains/server-directory/README.md |
| Voice Connection | app/domains/voice-connection/README.md |
| Voice Session | app/domains/voice-session/README.md |
| Domains Root | app/domains/README.md |
Infrastructure
| Path | Link |
|---|---|
| Persistence | src/app/infrastructure/persistence/README.md |
| Realtime | src/app/infrastructure/realtime/README.md |
Shared Kernel
| Path | Link |
|---|---|
| Shared Kernel | src/app/shared-kernel/README.md |
Entry Points
| File | Link |
|---|---|
| Main | main.ts |
| Index HTML | index.html |
| App Root | app/app.ts |
Description
Releases
14
MetoYou 1.0.88
Latest
Languages
JavaScript
46.5%
TypeScript
42.8%
HTML
9.8%
SCSS
0.8%