DEV Community

remusris
remusris

Posted on

Open github url in gitingest via chrome extension and keyboard shortcut

I came across this phenomenal tool called gitingest. It's especially perfect when working with an LLM because you can dump any github url into it and it'll extract it into plain text with a directory tree and everything.

There is an official chrome extension with the gitingest project, however there's no keyboard shortcut to convert a github url into a gitingest url. I decided to take matters into my own hands and do it myself.

Below is the link to the repo for this chrome extension, beware you'll need npm and pnpm installed so that you can build it yourself.

https://github.com/remusris/git-ingest-chrome-extension

The instructions are in the README, but I pasted them below too.

if you don't have npm installed go install npm
install npm here

then install pnpm
install pnpm here

pnpm install

pnpm build

Enter chrome://extensions on your browser (like a page to navigate to)

developer mode

Turn on developer mode in the top right-hand corner

Click "Load Unpacked"

Navigate to the folder where you have the repo installed then go to

.output -> mv3 -> select this folder

(on macOS the .output might not be invisible because it's a "hidden" file so you need to press command + shift + . to show hidden files)

After installing go to keyboard shortcuts
keyboard shortcuts menu

keyboard shortcuts chrome

Edit the "Change GitHub link to Gitingest link" trigger with the keyboard shortcut of your choosing

Top comments (0)

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay