#file #service #indexing #index #helper #config-file #kidex

kidex-common

Helper library for interacting with Kidex

1 unstable release

0.1.0 May 11, 2023

#1034 in Filesystem

Download history 85/week @ 2024-01-07 92/week @ 2024-01-14 126/week @ 2024-01-21 118/week @ 2024-01-28 77/week @ 2024-02-04 235/week @ 2024-02-11 426/week @ 2024-02-18 452/week @ 2024-02-25 480/week @ 2024-03-03 569/week @ 2024-03-10 485/week @ 2024-03-17 649/week @ 2024-03-24 641/week @ 2024-03-31 587/week @ 2024-04-07 677/week @ 2024-04-14 513/week @ 2024-04-21

2,504 downloads per month

GPL-3.0 license

6KB
95 lines

Kidex

A simple file indexing service

Installation

On Arch or Arch-based distros the AUR package kidex-git can be installed.

Manual installation

Simply run the following in the projects directory.

cargo install --path .

Configuration

Kidex only has a single config file to be placed in ~/.config/kidex.ron, which uses the following structure:

Config(
  ignored: [], // A list of patterns to be ignored in all directories
  directories: [
    WatchDir(
      path: "/home/kirottu/Documents", // The root folder to be indexed
      recurse: true, // Recursively index and watch all subfolders
      ignored: [], // Ignore patterns specifically for this directory
    ),
  ],
)

Usage

To start the service, simply run kidex and make sure it runs in the background. To get data from the service, the provided kidex-client binary can be used to get JSON output of the index. Alternatively a tool like Anyrun (with the kidex plugin) can be used to search for files using kidex.

Dependencies

~0.5–1.1MB
~27K SLoC