elasticsearch + typeaheadjs for local/remote repositories