khoj/src/interface/desktop
2024-01-09 23:09:34 +05:30
..
assets Convert config page buttons to use stronger yellow 2023-11-28 19:55:43 -08: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 Sanitize rendering chat references in Web, Desktop and Obsidian clients 2023-12-22 18:11:49 +05:30
config.html Convert config page buttons to use stronger yellow 2023-11-28 19:55:43 -08:00
loading-animation.js Replace var declarations with let declarations (#576) 2023-12-29 10:20:48 +05:30
main.js Show relevant error msg in desktop app, e.g when can't connect to server 2024-01-09 23:09:34 +05:30
package.json Release Khoj version 1.2.0 2023-12-22 21:43:47 +05:30
preload.js Indicate in the desktop if the user gets rate limited for indexing 2023-11-25 22:31:23 -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 Show relevant error msg in desktop app, e.g when can't connect to server 2024-01-09 23:09:34 +05:30
search.html Use file source to find entries from github, notion on web, desktop client 2023-11-21 13:10:50 -08: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 Upgrade server, desktop app dependencies to resolve CVE bugs 2023-11-15 01:47:53 -08: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)".