algolia/github-awesome-autocomplete

Support GitHub Enterprise

stuart-lang opened this issue · 3 comments

Love this extension!
Would it be feasible to have an offering that indexes a GitHub Enterprise instance instead of github.com?

redox commented

Would it be feasible to have an offering that indexes a GitHub Enterprise instance instead of github.com?

Oh yeah sure 👍 The easiest is probably to create your Algolia account with your private content (building a small script calling the GitHub API with your account and sending everything to Algolia) and then forking that extension to update the underlying credentials.

Would that work for you? I'm happy to help make that happen, just email sylvain at algolia :)

Thanks, that's what I was expecting the process to be, wasn't sure if you had the code that calls the GitHub API and sends it to Algolia around somewhere. I'm probably going to hack something together next month, I plan on also adding file names and extracting type declarations from code.

redox commented

Thanks, that's what I was expecting the process to be, wasn't sure if you had the code that calls the GitHub API and sends it to Algolia around somewhere. I'm probably going to hack something together next month, I plan on also adding file names and extracting type declarations from code.

Awesome, let me know how that goes then :)

I'll close this issue in the meantime 👍