Git Product home page Git Product logo

find-cmdlet's Introduction

Find-Cmdlet

A search engine for PowerShell cmdlets.

Source code for: https://find-cmdlet.com/

Source Overview

There are three main components:

  1. Scraper
  2. Indexer
  3. The site

Scraper

The scraper pulls cmdlet data from three locations:

  • Built in Windows Powershell snapins
  • RSAT Windows features
  • PowerShell Gallery

Each of these is handled by a Docker container so they can be handled in relative isolation.

With each module loaded, the scraper is then updates the help text, and runs Get-Module, Get-Command, and Get-Help, dumping the results with ConvertTo-Json. The resulting json can then be processed by the indexer.

Indexer

The indexer takes the json output from the scraper, and feeds it into Tantivy. Currently anything clever is left to Tantivy.

The site

This is what you see at https://find-cmdlet.com/. It's a basic front end on top of the index produced by Tantivy.

find-cmdlet's People

Contributors

mrmonday avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

find-cmdlet's Issues

Add filtering UI

Add UI for filtering/manipulating search results.

Tantivy has lots of search operators built in, we should expose UI for interacting with this.

Support for PowerShell 7

Right now everything is run with Windows PowerShell 5.1 - add support for running with PowerShell 7+

Improve ranking of results

Improve ranking of results:

  • Anything which ends up with unicode replacement characters should be ranked lower, eg. https://find-cmdlet.com/search?q=bpkurstn
  • Built in and RSAT cmdlets should be boosted
  • Anything not named <Verb>-<Noun> should be ranked lower
  • Anything using an unapproved verb should be ranked lower
  • Modules from PowerShell Gallery with higher download counts should be ranked higher
  • Exact matches should rank higher than inexact matches, eg. https://find-cmdlet.com/search?q=new+item "New-Item" should be top of the list

Duplicate results returned

Search for "new virtual machine", New-CIVM from VMware.VimAutomation.Cloud (12.0.0.15940183) is reported twice

Fix CSS on Windows

Find-Cmdlet.com looks terrible on Windows.

It should look something like this:

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.