{"id":16908796,"url":"https://github.com/saswatamcode/search_engine","last_synced_at":"2026-04-11T18:03:10.904Z","repository":{"id":103589946,"uuid":"319023584","full_name":"saswatamcode/search_engine","owner":"saswatamcode","description":"This is a search engine built using Go and Elasticsearch. Scrapes quotes from Goodreads, which are then indexed and queried. Has both CLI and frontend web app.","archived":false,"fork":false,"pushed_at":"2020-12-20T09:53:44.000Z","size":269,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T17:38:46.710Z","etag":null,"topics":["cli","cobra","elasticsearch","golang","nextjs","search-engine","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saswatamcode.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":"2020-12-06T12:06:12.000Z","updated_at":"2023-05-13T07:11:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"c112fa48-606c-41e3-8fab-f58a3ca8ec20","html_url":"https://github.com/saswatamcode/search_engine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saswatamcode/search_engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsearch_engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsearch_engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsearch_engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsearch_engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saswatamcode","download_url":"https://codeload.github.com/saswatamcode/search_engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saswatamcode%2Fsearch_engine/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263121362,"owners_count":23416982,"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":["cli","cobra","elasticsearch","golang","nextjs","search-engine","tailwindcss"],"created_at":"2024-10-13T18:53:01.267Z","updated_at":"2026-04-11T18:03:10.815Z","avatar_url":"https://github.com/saswatamcode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n[![Ask Me Anything !](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](https://GitHub.com/Naereen/ama)\n[![made-for-VSCode](https://img.shields.io/badge/Made%20for-VSCode-1f425f.svg)](https://code.visualstudio.com/)\n[![GitHub forks](https://img.shields.io/github/forks/saswatamcode/grpc_using_go?)](https://GitHub.com/saswatamcode/search_engine/network/)\n[![GitHub stars](https://img.shields.io/github/stars/saswatamcode/grpc_using_go?)](https://GitHub.com/saswatamcode/search_engine/stargazers/)\n[![GitHub issues](https://img.shields.io/github/issues/saswatamcode/grpc_using_go.svg)](https://GitHub.com/saswatamcode/search_engine/issues/)\n[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)\n\n# Quote Search Engine\nThis is a search engine built using [Go](https://golang.org/) and [Elasticsearch](https://www.elastic.co/elastic-stack).\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg width=\"80%\" src=\"screenshots/Screenshot-1.png\"\u003e\t\n\u003c/div\u003e\n\n## How it works\nIt functions by scraping quotes from [Goodreads](https://www.goodreads.com/quotes/) and indexing the data into elasticsearch. With elasticsearch's robust text analysis capabilities, the data can then be queried. Here, we simply query based on the content of a quote or the name of the author. This application has both CLI and web UI for search and indexing operations.\n\n## Dependencies\n- github.com/gocolly/colly v1.2.0: For web scraping\n- github.com/olivere/elastic/v7 v7.0.22: For interacting with elasticsearch\n- github.com/spf13/cobra v1.1.1: For CLI\n- github.com/sirupsen/logrus v1.2.0: For server logs\n- Next.js v10 and Tailwind v2: For frontend web app\n\n## Get Started\n- Clone into repo\n- Install elasticsearch and start service. Using [homebrew](https://brew.sh/) simply run,\n```\nbrew install elasticsearch\nelasticsearch\n```\n- Using CLI, index data by, (for indexname and number of quotes to be indexed you can pass in flags) \n```\ngo run main.go index\n```\n- Search with CLI,\n```\ngo run main.go search Mark Twain\n```\nOR\n- Search with UI, by first starting server,\n```\ngo run main.go server\n```\n- Then start frontend,\n``` \ncd web-ui\nyarn\nyarn start\n```\n[![forthebadge](https://forthebadge.com/images/badges/made-with-go.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/made-with-typescript.svg)](https://forthebadge.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaswatamcode%2Fsearch_engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaswatamcode%2Fsearch_engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaswatamcode%2Fsearch_engine/lists"}