noogle/README.md

28 lines
759 B
Markdown
Raw Normal View History

2022-11-26 12:51:42 +03:00
# Noogle
2022-11-26 12:36:08 +03:00
2022-11-26 12:51:42 +03:00
Noogle is a Nix API search engine. It allows you to search functions based on their types and other attributes in `nix` projects. In `nixpkgs` especially the `builtins` and `lib` attributes.
2022-11-26 12:36:08 +03:00
2022-11-26 12:51:42 +03:00
- Beginners-friendly search for nix and nix-related functions
- Expert search with directly typing type signatures
- Search functions based on:
- type
- signature
- name
- tree-search from one type to another
## How it works
2022-11-26 12:36:08 +03:00
2022-11-26 12:51:42 +03:00
The idea is to use a fork of `nixdoc`to generate json data from all functions. That have the `Type` field which is currently supported from nixdoc.
2022-11-26 12:36:08 +03:00
2022-11-26 12:51:42 +03:00
## Contrbute
2022-11-26 12:36:08 +03:00
2022-11-26 12:51:42 +03:00
### Build this page
2022-11-26 12:36:08 +03:00
2022-11-26 12:51:42 +03:00
`nix build .#`
2022-11-26 12:36:08 +03:00
2022-11-26 12:51:42 +03:00
### Develop
2022-11-26 12:36:08 +03:00
`nix develop`
2022-11-26 12:51:42 +03:00
This command creates the node_modules folder with all needed dependencies based on dream2nix.