Nix search matrix bot

#1 Generate HTML properly

~fgaz commented on nix-search-matrix-bot todo

a month ago

c63d71d Use html5ever to produce HTML

a month ago

#Nix search Matrix bot

A Matrix bot that searches Nix packages


You can find an instance of the bot at @nix-search-bot:catgirl.cloud, hosted by @fgaz:matrix.org.


Invite the bot to any unencrypted room, then use !pkg <query> to search for packages.


A NixOS module is included. You can use it directly (./module.nix) or you can import nixosModules.default from the Nix flake.

On other systems, build the package with cargo build --release then run target/release/nix-search-matrix-bot <homeserver> <username> <password_file>.


Send a patch to this mailing list or a pull request to the Codeberg mirror.


Licensed under the EUPL-1.2-or-later. You can find the text of this license in the LICENSE file or in multiple languages at https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12

The logo is derived from the OpenMoji magnifying glass (CC-BY-SA-4.0) and the NixOS logo (CC-BY-4.0), and is itself released under CC-BY-SA-4.0.