mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-19 10:57:45 +00:00
29a581d2b0
- Capabillity New default UX has 1 long-press to send transcribed audio message - Removes the previous default of 3 clicks required to send audio message - The record > stop > send process to send audio messages was unclear - Still allows stopping message from being sent, if users want to make correction to transcribed audio - Removes inadvertent long audio transcriptions if user forgets to press stop when recording - Changes - Record audio while microphone button pressed - Show auto-send 3s countdown timer UI for audio chat message Provide a visual cue around send button for how long before audio message is automatically sent to Khoj for response - Auto-send msg in 3s unless stop send message button clicked |
||
---|---|---|
.. | ||
assets | ||
about.html | ||
chat.html | ||
config.html | ||
loading-animation.js | ||
main.js | ||
package.json | ||
preload.js | ||
README.md | ||
renderer.js | ||
search.html | ||
splash.html | ||
todesktop.json | ||
utils.js | ||
yarn.lock |
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)"
.