
Product
Socket Now Protects the Firefox Extension Ecosystem
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.
@vox-ai-app/vox-indexing
Advanced tools
Local file indexing, full-text search, and document parsing for Vox
Local file indexing, full-text search, and document parsing for Vox. Runs in a separate Electron utility process to keep the main process responsive.
npm install @vox-ai-app/vox-indexing
Peer dependency: electron >= 28
VOX_USER_DATA_PATH — writable directory, database stored as knowledge-index.dbVOX_APP_PATH — app path, used to locate the parser workerimport {
bootIndexingRuntime,
shutdownIndexingRuntime,
addIndexFolder,
removeIndexFolder,
searchIndexedContextForTool,
getIndexingStatus,
setLogger,
setSentryCapture
} from '@vox-ai-app/vox-indexing'
setLogger(logger)
setSentryCapture(captureException)
await bootIndexingRuntime()
await addIndexFolder('/Users/me/Documents')
const results = await searchIndexedContextForTool('query text', { limit: 5 })
await shutdownIndexingRuntime()
bootIndexingRuntime() // start the indexing utility process
shutdownIndexingRuntime() // graceful shutdown
rebuildIndexing() // wipe and re-index all folders
resetIndexingState() // clear state without reindexing
addIndexFolder(path) // add a folder to the index
removeIndexFolder(path) // remove a folder and its data
getTrackedIndexFolders() // list all tracked folders
pickIndexFolder() // open a native folder picker dialog
searchIndexedContextForTool(query, opts) // full-text search
listIndexedFilesForTool(path, opts) // list files under a path
readIndexedFileForTool(path) // read a specific indexed file
getIndexedChildren(path) // explorer tree children
getIndexingStatus() // current status + progress
For Electron apps that expose indexing over IPC:
import { registerIndexingIpc } from '@vox-ai-app/vox-indexing/ipc'
registerIndexingIpc()
// Registers: indexing:get-folders, indexing:add-folder, indexing:remove-folder,
// indexing:rebuild, indexing:get-status, indexing:pick-folder,
// indexing:get-indexed-children, indexing:reset-state
For apps that want push-based status updates from the utility process:
import { setOnStatusChange } from '@vox-ai-app/vox-indexing/process'
setOnStatusChange((status) => {
// status shape matches getIndexingStatus()
// updates are coalesced (~100ms) to avoid noisy bursts
console.log(status)
})
.pdf, .docx, .pptx, .xlsx, .odt, .odp, .ods, .rtf, and plain text files.
Register two additional entry points in your Electron build config:
// electron.vite.config.js
export default {
main: {
build: {
rollupOptions: {
input: {
index: 'src/main/index.js',
'indexing.process': 'node_modules/@vox-ai-app/vox-indexing/src/process/process.js',
'indexing.parser.worker': 'node_modules/@vox-ai-app/vox-indexing/src/parser/worker.js'
}
}
}
}
}
MIT
FAQs
Local file indexing, full-text search, and document parsing for Vox
The npm package @vox-ai-app/vox-indexing receives a total of 0 weekly downloads. As such, @vox-ai-app/vox-indexing popularity was classified as not popular.
We found that @vox-ai-app/vox-indexing demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.