nix-community / noogle

https://noogle.dev - nix function exploring. [maintainer=@hsjobeki]
https://noogle.dev
MIT License
345 stars 8 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 folder with all needed dependencies based on dream2nix.