{"id":22166107,"url":"https://github.com/alextanhongpin/typeahead","last_synced_at":"2026-07-13T15:04:21.926Z","repository":{"id":57518693,"uuid":"152563654","full_name":"alextanhongpin/typeahead","owner":"alextanhongpin","description":"A text autocompleter with golang","archived":false,"fork":false,"pushed_at":"2026-03-13T03:22:06.000Z","size":5846,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-13T10:30:28.306Z","etag":null,"topics":["autocomplete","go","golang","radix-trie","typeahead"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alextanhongpin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-11T09:12:22.000Z","updated_at":"2026-03-13T03:22:10.000Z","dependencies_parsed_at":"2022-09-26T20:01:56.529Z","dependency_job_id":null,"html_url":"https://github.com/alextanhongpin/typeahead","commit_stats":null,"previous_names":["alextanhongpin/go-typeahead"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alextanhongpin/typeahead","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alextanhongpin%2Ftypeahead","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alextanhongpin%2Ftypeahead/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alextanhongpin%2Ftypeahead/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alextanhongpin%2Ftypeahead/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alextanhongpin","download_url":"https://codeload.github.com/alextanhongpin/typeahead/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alextanhongpin%2Ftypeahead/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35331951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocomplete","go","golang","radix-trie","typeahead"],"created_at":"2024-12-02T05:18:04.064Z","updated_at":"2026-07-10T12:31:44.028Z","avatar_url":"https://github.com/alextanhongpin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-ahead\n\n[![](https://godoc.org/github.com/alextanhongpin/typeahead?status.svg)](https://godoc.org/github.com/alextanhongpin/typeahead)\n\nA text autocompleter with golang. The goal is to create a google-like\n  autocomplete. Based on some research done, it seems like google is\n  implementing it using radix/patricia tree. The implementation here is\n  probably a slightly more naive version than what google has. \n\nRadix tree is more storage efficient than a trie (?). \n\nAnother interesting implementation is the _typeahead_ by Facebook.\n\n## Installation\n\n```bash\n$ go get github.com/alextanhongpin/typeahead\n```\n\n## TODO\n\n- Create an actual server that can add new search suggestions. \n- Improve the scoring/ranking algorithm.\n- Look into a better way to identify performance issue\n- Perform testing with quickcheck\n- Persist datastructure using gob encoding\n- Load the complete words dataset \n- Add context and include auto-correct capabilities\n- Find ways to stream new data to increment the count and effectiveness of the radix trie\n\n## References\n\n- http://dhruvbird.com/autocomplete.pdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falextanhongpin%2Ftypeahead","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falextanhongpin%2Ftypeahead","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falextanhongpin%2Ftypeahead/lists"}