khoj/src/interface/desktop
Debanjum Singh Solanky 8b8bb15866 Keep sync state in memory, initialized to false in Desktop app
Prevent deadlock if desktop app killed in middle of syncing
2023-11-08 18:03:08 -08:00
..
assets Remove references to demo 2023-11-04 17:17:04 -07:00
about.html Add About page for Khoj to Desktop app. Expose it via system tray 2023-11-03 23:59:21 -07:00
chat.html Fix bug for rendering chat references in LLM response 2023-11-07 16:44:41 -08:00
config.html Enable deleting all indexed desktop files from Khoj via Desktop app 2023-11-07 05:28:13 -08:00
loading-animation.js Make splash screen wider, opaque and fix it's spinner radius 2023-11-03 23:59:21 -07:00
main.js Keep sync state in memory, initialized to false in Desktop app 2023-11-08 18:03:08 -08:00
package.json Release Khoj version 0.13.0 2023-10-18 03:43:54 -07:00
preload.js Enable deleting all indexed desktop files from Khoj via Desktop app 2023-11-07 05:28:13 -08:00
README.md Add front-end Electron application for Khoj local file syncing (#473) 2023-09-06 12:04:18 -07:00
renderer.js Enable deleting all indexed desktop files from Khoj via Desktop app 2023-11-07 05:28:13 -08:00
search.html Remove references to demo 2023-11-04 17:17:04 -07:00
splash.html Show splash screen on starting desktop app 2023-11-03 03:19:08 -07:00
todesktop.json Add front-end Electron application for Khoj local file syncing (#473) 2023-09-06 12:04:18 -07:00
utils.js Add About page for Khoj to Desktop app. Expose it via system tray 2023-11-03 23:59:21 -07:00
yarn.lock Update Khoj package version for Electron, Desktop app (#492) 2023-10-03 12:21:32 -07:00

Run it locally

Prerequisites

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

yarn add

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)".