noogle/README.md

50 lines
1.7 KiB
Markdown
Raw Normal View History

2023-01-25 17:54:44 +03:00
# [Noogle](https://noogle.dev)
2023-01-16 12:41:07 +03:00
![Website](https://img.shields.io/website?down_message=noogle.dev&up_message=noogle.dev&url=https%3A%2F%2Fnoogle.dev)
![GitHub top language](https://img.shields.io/github/languages/top/hsjobeki/noogle)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/hsjobeki/noogle/main.yml)
2023-01-25 17:54:44 +03:00
![built-with-dream2nix](https://img.shields.io/badge/built%20with-dream2nix-blue)
2022-12-06 12:58:20 +03:00
2023-06-18 19:03:24 +03:00
Connect with us on matrix: [#noogle:matrix.org](https://matrix.to/#/#noogle:matrix.org)
### Noogle is a Nix API search engine. It lets you search nix functions.
2022-11-26 12:36:08 +03:00
2023-01-25 17:54:44 +03:00
## Current Features
2022-11-26 12:36:08 +03:00
2023-01-25 17:54:44 +03:00
- [x] Beginners-friendly search for nix and nix-related functions
2023-06-18 19:03:24 +03:00
- Render documentation comments optimized for readability
- We are working on a [standard]() for in-code-documentation
- [x] fuzzy-search.
- show why/what terms matched.
- Share results with a direct URL.
- [x] Noogle also knows stuff that is not officially documented.
- Types of builtins. (including builtins.derivation)
- Can be extended via markdown contributions to noogle.
- Always shows the latest docs based on the main branch of nixpkgs.
- [x] Search by **type** signatures.
- Function types are parsed and interpreted.
- We are working on a standard way to write type-documentation: [typednix.dev](https://typednix.dev)
2022-11-26 12:36:08 +03:00
2023-01-25 17:54:44 +03:00
## Available data
2022-12-18 16:21:00 +03:00
2023-06-18 19:03:24 +03:00
There are the following subsets of nix functions available:
2022-12-18 16:21:00 +03:00
2023-01-25 17:54:44 +03:00
- nix/**builtins**
- nixpkgs/**lib**
- nixpkgs/build-support/**trivial-builders**
2022-12-18 16:21:00 +03:00
2022-12-06 12:58:48 +03:00
## Contribute
2023-06-18 19:03:24 +03:00
Contributions are very welcome to file a PR or issue.
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`
2023-01-25 17:54:44 +03:00
This command creates the node_modules folder
with all needed dependencies based on dream2nix.