{"id":18711807,"url":"https://github.com/typesense/showcase-hn-comments-semantic-search","last_synced_at":"2025-08-21T11:32:27.433Z","repository":{"id":186016721,"uuid":"674469838","full_name":"typesense/showcase-hn-comments-semantic-search","owner":"typesense","description":"Semantic Search + Keyword Search + Hybrid Search + Filtering + Faceting on 300K HN Comments","archived":false,"fork":false,"pushed_at":"2024-09-10T23:03:43.000Z","size":440,"stargazers_count":42,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-11T12:25:37.602Z","etag":null,"topics":["hybrid-search","semantic-search","vector-search"],"latest_commit_sha":null,"homepage":"https://hn-comments-search.typesense.org","language":"JavaScript","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","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}},"created_at":"2023-08-04T03:09:02.000Z","updated_at":"2024-11-26T15:54:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"0518030b-e3a8-4590-be1c-d1d260e3075a","html_url":"https://github.com/typesense/showcase-hn-comments-semantic-search","commit_stats":null,"previous_names":["typesense/showcase-hn-comments-semantic-search"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-hn-comments-semantic-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-hn-comments-semantic-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-hn-comments-semantic-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-hn-comments-semantic-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typesense","download_url":"https://codeload.github.com/typesense/showcase-hn-comments-semantic-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230511479,"owners_count":18237657,"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":["hybrid-search","semantic-search","vector-search"],"created_at":"2024-11-07T12:40:40.284Z","updated_at":"2024-12-19T23:13:06.752Z","avatar_url":"https://github.com/typesense.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# 🗞 Semantic + Keyword + Hybrid Search with HN Comments\n\nThis is a demo that showcases [Typesense's](https://github.com/typesense/typesense) built-in embedding generation (available as of `0.25.0.rc60`) + vector search features using a collection of 300K HN Comments.\n\nView it live here: [hn-comments-search.typesense.org](https://hn-comments-search.typesense.org)\n\n## Tech Stack\n\nThis search experience is powered by \u003ca href=\"https://typesense.org\" target=\"_blank\"\u003eTypesense\u003c/a\u003e which is\na blazing-fast, \u003ca href=\"https://github.com/typesense/typesense\" target=\"_blank\"\u003eopen source\u003c/a\u003e typo-tolerant\nsearch-engine. It is an open source alternative to Algolia and an easier-to-use alternative to ElasticSearch.\n\nThis demo uses a geo-distributed 3-node Typesense cluster running on \u003ca href=\"https://cloud.typesense.org\" target=\"_blank\"\u003eTypesense Cloud\u003c/a\u003e,\nwith nodes in Oregon, Frankfurt and Mumbai.\n\n## Repo structure\n\n- `src/` and `index.html` - contain the frontend UI components, built with \u003ca href=\"https://github.com/typesense/typesense-instantsearch-adapter\" target=\"_blank\"\u003eTypesense Adapter for InstantSearch.js\u003c/a\u003e\n- `scripts/` - contains the script to index the data into Typesense.\n- `data/` - contains a 1K sample subset of the HN comments dataset. But you can download the full dataset from the [Google BigQuery marketplace](https://console.cloud.google.com/marketplace/product/y-combinator/hacker-news).\n\n## Development\n\nTo run this project locally, install the dependencies and run the local server:\n\n```sh\nyarn\nyarn run typesenseServer\nln -s .env.sample .env\nyarn run indexer\nyarn start\n```\n\nOpen http://localhost:3001 to see the app.\n\n## Deployment\n\nThe app is hosted on [Cloudflare Pages](https://pages.cloudflare.com).\n\nPushing to master will deploy the app to production.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesense%2Fshowcase-hn-comments-semantic-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypesense%2Fshowcase-hn-comments-semantic-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesense%2Fshowcase-hn-comments-semantic-search/lists"}