kidex-common

Crates.iokidex-common
lib.rskidex-common
version0.1.0
sourcesrc
created_at2023-05-11 05:10:30.839105
updated_at2023-05-11 05:10:30.839105
descriptionHelper library for interacting with Kidex
homepagehttps://github.com/Kirottu/kidex
repositoryhttps://github.com/Kirottu/kidex
max_upload_size
id861834
size5,610
(Kirottu)

documentation

README

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.

Commit count: 10

cargo fmt