r14dd/patent

A prior-art search for your code ideas — has this dev tool already been shipped?

What it solves

patent is a tool for developers to check if a software idea already exists before they start building it. It automates the process of searching across multiple package registries and community platforms to find "prior art" for dev tools, saving the user from searching each site manually.

How it works

The tool takes a plain-English description of a tool idea and performs the following steps:

  1. Source Selection: It searches 19 different sources, including GitHub, Hacker News, and various package registries (like npm, PyPI, and crates.io).
  2. Semantic Ranking: Instead of simple keyword matching, it uses fastembed to create local embeddings of the results and ranks them by cosine similarity to the original idea.
  3. Maintenance Check: It flags projects that haven't been updated in over two years as stale.
  4. Verdict Generation: An LLM (via Ollama locally or a cloud API) summarizes the landscape into one of three categories: Open (nothing close found), Crowded (a few adjacent tools exist), and Saturated (the space is densely populated).

Who it’s for

Developers and creators who want to validate their project ideas and identify existing similar tools before committing to development.

Highlights

  • Semantic Search: Finds close matches even if the wording is different.
  • Multi-source Fan-out: Searches 19 registries and platforms simultaneously.
  • Local-first Privacy: Supports local LLMs via Ollama and local embeddings for privacy.
  • JSON Output: Can be piped to other tools like jq for automation.
  • TUI Interface: Includes an interactive terminal user interface for browsing results.

Related

  • Project
  • Project
  • Project
  • Project
  • Project