mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Add front-end Electron application for Khoj local file syncing (#473)
* Initial version - setup a file-push architecture for generating embeddings with Khoj * Use state.host and state.port for configuring the URL for the indexer * Fix parsing of PDF files * Read markdown files from streamed data and update unit tests * On application startup, load in embeddings from configurations files, rather than regenerating the corpus based on file system * Init: refactor indexer/batch endpoint to support a generic file ingestion format * Add features to better support indexing from files sent by the desktop client * Initial commit with Electron application - Adds electron app * Add import for pymupdf, remove import for pypdf * Allow user to configure khoj host URL * Remove search type configuration from index.html * Use v1 path for current indexer routes
This commit is contained in:
25
src/interface/desktop/package.json
Normal file
25
src/interface/desktop/package.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "Khoj",
|
||||
"homepage": ".",
|
||||
"productName": "Khoj",
|
||||
"version": "1.0.0",
|
||||
"description": "Scaffolding for the desktop entrypoint to Khoj",
|
||||
"main": "main.js",
|
||||
"repository": "\"https://github.com/khoj-ai/khoj\"",
|
||||
"author": "Khoj <team@khoj.dev>",
|
||||
"license": "MIT",
|
||||
"private": false,
|
||||
"devDependencies": {
|
||||
"electron": "26.1.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "yarn electron ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@todesktop/runtime": "^1.3.0",
|
||||
"axios": "^1.5.0",
|
||||
"cron": "^2.4.3",
|
||||
"electron-store": "^8.1.0",
|
||||
"fs": "^0.0.1-security"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user