khoj/src/interface/desktop
2024-11-23 22:51:10 -08:00
..
assets Use the newer, simpler favicon across desktop and documentation. Update the macos icon set 2024-08-05 14:06:04 +05:30
about.html Move link to source code from Nav pane to About page on Desktop app 2024-09-09 10:40:53 -07:00
chat.html Generate dynamic diagrams (via Excalidraw) (#940) 2024-10-22 16:13:46 -07:00
chatutils.js Generate dynamic diagrams (via Excalidraw) (#940) 2024-10-22 16:13:46 -07:00
loading-animation.js Replace var declarations with let declarations (#576) 2023-12-29 10:20:48 +05:30
main.js Share webp images from web, desktop, obsidian app to chat with 2024-10-19 14:32:17 -07:00
package.json Release Khoj version 1.30.7 2024-11-23 22:51:10 -08:00
preload.js Fix URL to web, desktop settings pages on Desktop application (#903) 2024-09-05 14:47:43 -07:00
README.md Added indication in the desktop UI for back-end connectivity (#711) 2024-04-23 16:43:48 +05:30
renderer.js Fix deep linking to settings page cards from docs 2024-08-05 02:27:05 +05:30
search.html Move API endpoints under /api/configure/content/ to /api/content/ 2024-07-19 05:40:34 +05:30
settings.html Expose web, desktop settings page under /settings, not /configure 2024-07-17 13:17:29 +05:30
shortcut.html Default to using system clock to infer user timezone on js clients 2024-09-30 07:08:12 -07:00
splash.html Show splash screen on starting desktop app 2023-11-03 03:19:08 -07:00
todesktop.json Use a png for the windows desktop icon 2024-08-05 15:29:30 +05:30
utils.js Move link to source code from Nav pane to About page on Desktop app 2024-09-09 10:40:53 -07:00
yarn.lock Update desktop app dependencies 2024-11-20 13:05:55 -08:00

Run it locally

Prerequisites

Install the runtime dependencies. This command should install all dev dependencies.

yarn install

Run the application

yarn start

Deploying the Electron App

Prerequisites

Install the ToDesktop CLI. Full documentation can be found here: https://www.npmjs.com/package/@todesktop/cli

yarn global add @todesktop/cli

Configure the todesktop.json file. Fill in the id based on the application ID.

Build

This will prompt you to login. It triggers builds for all platforms.

todesktop build

If you get an error saying the command is not found, make sure that your yarn global bin directory is in your PATH environment variable. You can find the location of the global bin directory by running yarn global bin. Add this line to your .bashrc or .zshrc file: export PATH="$PATH:$(yarn global bin)".