AI powered Code Search for React codebases (JS/TS) by Wizi AI

We are launching our Code Search feature as an open-source project for frontend teams to enjoy instant natural language search in React (JS/TS) codebases.

Note that this is a self-hosted tool that uses Vercel, OpenAI and Pinecone. All of these tools have generous free tiers which should be more than enough for you to try Code Search. For reference, indexing a mid-sized React repo should cost $1-2 on average.

Warning This is not a production ready solution. The goal of this repo is to give a quick template for frontend teams to experiment with their own code search tools.


Deploy with Vercel

  1. Double click on the button above and open the link in a new tab.
  2. Note that we use Vercel to deploy and host this for your convenience instead of setting up locally.
  3. Now let’s add 4 ENV variables.
  4. Generate Github Personal Access Token:
  5. Generate OpenAI API Token:
  6. Generate Pinecone API Token:
  7. Also in Pinecone, create a new index: {name: 'wizi-ai-code-search', dimensions: 1536, metric: 'cosine', pod_type: 'P1'}
  8. Extract base url string under the title. Ex:
  9. Add this url as PINECONE_BASE_URL in Vercel setup. Important to add https:// prefix to the string, so that your PINECONE_BASE_URL env variable is in the similar to
  10. Hit deploy. Should take less than two minutes. Once complete, you will have a link to your app. Congrats!


View Github