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

kidex-common

Helper library for interacting with Kidex

1 unstable release

0.1.0 May 11, 2023

#1030 in Filesystem

Download history 851/week @ 2024-07-21 845/week @ 2024-07-28 773/week @ 2024-08-04 758/week @ 2024-08-11 753/week @ 2024-08-18 792/week @ 2024-08-25 898/week @ 2024-09-01 905/week @ 2024-09-08 731/week @ 2024-09-15 825/week @ 2024-09-22 734/week @ 2024-09-29 1073/week @ 2024-10-06 1279/week @ 2024-10-13 1098/week @ 2024-10-20 1103/week @ 2024-10-27 848/week @ 2024-11-03

4,541 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.4–1MB
~25K SLoC