1.0.11 • Published 6 months ago

i-knew-that-file v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

I knew that file!

Install

$ npm i -g i-knew-that-file

This program helps you find files that you don't remember but want to retrieve, by using the openai API.

To run the program, use the following command:

$ ikt key 
> Please enter your OpenAI API key: # Add your API key here 

Then describe the file you are looking for, and the program will find the most relevant file among those tracked by git

$ ikt query
> Ah... I knew that: # Describe the file you are looking for

Here's an example of how it would look like:

$ ikf query
> Ah... I knew that: config files

tsconfig.json (100%) # relatedness percentage
.gitignore (70%)
.npmignore (60%)
.prettierrc (50%)
package.json (20%)
token usage (requests): 308 (1)

You can also use the -s or --scope flag to specify a directory to search in: glob patterns are supported.

$ ikt query -s "src/*"
> Ah... I knew that: config files

Please note that this program requires an internet connection to use the openai API. You can obtain an openai API key from the openai website if you require one.

1.0.11

6 months ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago