nix-community / noogle

https://noogle.dev - nix function exploring. [maintainer=@hsjobeki]
https://noogle.dev
MIT License
367 stars 11 forks source link
explore functions nix nixos nixpkgs search types

Noogle

Website GitHub top language GitHub Workflow Status

Noogle is a simple Nix API search engine. It lets you search Nix functions.

Current Features

Available data

There are the following subsets of Nix and Nixpkgs functions available.

Recursively indexed:

Recursively means all deeply nested sub-attributes.

Normally indexed:

Off the tree functions

Some function are not part of the evaluation value of default.nix in Nixpkgs. They must be imported individually.


All Indexing is done via the pasta module. PRs welcome!

Contribute

Contributions are very welcome just file a PR or issue. Indexed data can be added very easily in ./pasta/src/eval.nix.

Note: Indexed data must evaluate!

Build this page

nix build .#ui

This page generates static HTML pages. One page per API function.

It automatically includes meta tags for other search engines like Google or Bing.

Searching within the page is done via pagefind which is only available in the production build.

Develop

nix develop

This command creates the node_modules directory with all needed dependencies based on dream2nix.