GitHub 火线榜

GitHub 火线榜 · 仓库档案

duxlabs-dev/dux-search

Indexed filesystem search from Dux Labs (简介来自仓库自身文档。)

数据截至 10月29日duxlabs-dev

最好成绩

#194

被忽视榜 · 活跃却无人问津

100

累计 Star

17

Fork 总数

2

近 30 天在榜天数

许可证: MIT最近 push: 10月27日Open Issues(含 PR): 1自 2026-10-25 起采集;未知 = 尚未采集到

项目文档

dsearch

dsearch

Fast, configurable filesystem search with fuzzy matching

Documentation GitHub stars GitHub release AUR version (git) GitHub License


A configurable filesystem search service powered by bleve for Unix-based operating systems.

Full documentation →


Features

  • Indexing - Indexes all files in specified paths
  • Configuration - Configure exclusions, depth, etc.
  • Fuzzy search - Typo-tolerant search queries
  • Text content extraction - Optionally extracts and indexes content from text-based files
  • EXIF metadata - Extracts and indexes EXIF data from image files for advanced search
  • Virtual folders - Search within specific directories
  • Concurrent indexing - Multi-worker parallel indexing for fast performance
  • Real-time updates - File watcher for incremental index updates

Installation

Requires Go 1.26+

make && sudo make install && make install-service

NixOS

The repository contains a flake that provides a Home Manager module. To use it, you simply need to add it as a flake input in your flake.nix:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

    # ...

    dsearch = {
      url = "github:duxlabs-dev/dux-search";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
}

and import/enable it in your Home Manager configuration:

{ inputs, ... }:  {
  imports = [ inputs.dsearch.homeModules.default ];

  programs.dsearch = {
    enable = true;

    # Put your config here or omit this for dsearch to generate the default config at runtime
    config = {
      # ...
    };
  };
}

Usage

Best to run as a systemd user unit:

systemctl --user enable --now dsearch.service

Then search with various options:

# Basic search
dsearch search "golang"

# Show all results
dsearch search "*.md" --limit 0

# JSON output for scripting
dsearch search "config" --json
dsearch search "README" --limit 0 --json | jq '.hits[].id'

# Advanced options
dsearch search "function" --field filename --ext .go
dsearch search "typo" --fuzzy
dsearch search "*" --sort mtime --desc
# Scores content higher than filenames
dsearch search --field body mountain

# Virtual folder search
dsearch search "*" --folder /home/user/Pictures

# EXIF metadata search and filtering
dsearch search "*" --ext .jpg --exif-make Canon
dsearch search "*" --exif-model "Canon EOS 5D"
dsearch search "*" --folder /home/user/Photos --exif-make Nikon

# Sort photos by date taken (newest first)
dsearch search "*" --ext .jpg --sort exif_date --desc

# Find photos by ISO range (low-light shots)
dsearch search "*" --exif-min-iso 1600 --exif-max-iso 6400

# Find portrait shots (focal length range)
dsearch search "*" --exif-min-focal-len 50 --exif-max-focal-len 135

# Find wide aperture shots (shallow depth of field)
dsearch search "*" --exif-min-aperture 1.4 --exif-max-aperture 2.8

# Photos taken in date range
dsearch search "*" --exif-date-after "2024-06-01T00:00:00Z" --exif-date-before "2024-08-31T23:59:59Z"

# GPS location filtering (bounding box)
dsearch search "*" --exif-lat-min 40.0 --exif-lat-max 41.0 --exif-lon-min -74.0 --exif-lon-max -73.0

For all options:

dsearch search --help

The REST API is off by default. Start the service with dsearch serve --http or set http_enabled = true in the config, then visit http://localhost:43654/docs for the API documentation. The API has no authentication, so every local account can reach it once enabled.

Configuration

See config.example.toml for configuration options.

On startup, a configuration file will be created at ~/.config/dsearch/config.toml

当前上榜

  • 194

    被忽视榜 · 活跃却无人问津

    100 星 · 17 fork · 累计 Star(升序)

    被忽视 →

近 30 天势头

累计 Star 走势

名次走势

把上榜徽章放进你的 README · duxlabs-dev/dux-search[![把上榜徽章放进你的 README](https://git.vaiox.xyz/api/badge/duxlabs-dev/dux-search.svg)](https://git.vaiox.xyz/zh/repo/duxlabs-dev/dux-search)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/zh/repo/duxlabs-dev/dux-search"><img src="https://git.vaiox.xyz/api/badge/duxlabs-dev/dux-search.svg" alt="把上榜徽章放进你的 README" height="20"></a>

← 回到榜单

GitHub 火线榜往日榜发现联系我们 · Contact