22d355a52211a164625d3a40144f15aa0ab7b3f0
Toju / Zoracord
Desktop chat app with three parts:
src/Angular clientelectron/desktop shell, IPC, and local databaseserver/directory server, join request API, and websocket events
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
If SSL=true, run ./generate-cert.sh once.
Server files:
server/data/variables.jsonholdsklipyApiKeyserver/data/variables.jsonalso holdsreleaseManifestUrlfor desktop auto updates
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
Description
Releases
14
MetoYou 1.0.88
Latest
Languages
JavaScript
46.5%
TypeScript
42.8%
HTML
9.8%
SCSS
0.8%