{"id":19000440,"url":"https://github.com/typesense/showcase-address-autocomplete","last_synced_at":"2025-04-22T17:06:00.550Z","repository":{"id":241630887,"uuid":"804961744","full_name":"typesense/showcase-address-autocomplete","owner":"typesense","description":"Demo that shows how to build an address autocomplete experience with Typesense. Alternative for Algolia Places and Google Maps API","archived":false,"fork":false,"pushed_at":"2024-06-17T20:44:38.000Z","size":96,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T07:17:31.874Z","etag":null,"topics":["address-autocomplete","address-search","algolia-places","typesense"],"latest_commit_sha":null,"homepage":"https://address-autocomplete.typesense.org","language":"Jupyter Notebook","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/typesense.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-23T15:55:53.000Z","updated_at":"2025-04-13T07:42:33.000Z","dependencies_parsed_at":"2024-05-29T11:34:09.332Z","dependency_job_id":"83ca888e-bb9f-4a19-981d-46c74049b376","html_url":"https://github.com/typesense/showcase-address-autocomplete","commit_stats":null,"previous_names":["typesense/showcase-address-autocomplete"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-address-autocomplete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-address-autocomplete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-address-autocomplete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-address-autocomplete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typesense","download_url":"https://codeload.github.com/typesense/showcase-address-autocomplete/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285662,"owners_count":21405296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["address-autocomplete","address-search","algolia-places","typesense"],"created_at":"2024-11-08T18:07:14.232Z","updated_at":"2025-04-22T17:06:00.522Z","avatar_url":"https://github.com/typesense.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Address Autocomplete - powered by Typesense 🗺️ 🔍\n\nThis demo shows you how to build an Address autocomplete experience, similar to what you see commonly on address form fields, using Typesense, which is an open source alternative to Algolia.\n\nThis is a good alternative to Algolia Places (which was sunset) and also an alternative to Google Maps API (which tends be very expensive).\n\nThe dataset is from [OpenAddresses](https://www.kaggle.com/datasets/openaddresses/openaddresses-us-northeast).\n\n## Get started\n\nTo run this project locally:\n\nStart the typesense server\n\n```shell\ndocker compose up\n```\n\nIndex data into typesense\n\n```shell\nexport TYPESENSE_API_KEY='xyz'\nexport TYPESENSE_URL='http://localhost:8108'\n\ncurl \"${TYPESENSE_URL}/debug\" \\\n       -H \"X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}\"\n\n\ncurl \"${TYPESENSE_URL}/collections\" \\\n       -X POST \\\n       -H \"Content-Type: application/json\" \\\n       -H \"X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}\" \\\n       -d '{\n         \"name\": \"addresses_boston\",\n         \"fields\": [\n           {\"name\": \"postcode\", \"type\": \"string\" },\n           {\"name\": \"address\", \"type\": \"string\" }\n         ]\n       }'\n\ncurl \"${TYPESENSE_URL}/collections/addresses_boston/documents/import?action=create\" \\\n        -H \"X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}\" \\\n        -X POST \\\n        -T ./data/boston-addresses.jsonl\n```\n\nOpen the `index.html` file in the root of this repo in a web browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesense%2Fshowcase-address-autocomplete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypesense%2Fshowcase-address-autocomplete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesense%2Fshowcase-address-autocomplete/lists"}