{"id":15162067,"url":"https://github.com/viveksyngh/search-agg","last_synced_at":"2026-01-21T03:01:53.088Z","repository":{"id":79174040,"uuid":"211499932","full_name":"viveksyngh/search-agg","owner":"viveksyngh","description":"Application written in go which aggregates search results from Google, DuckDuckGo and Wikipedia","archived":false,"fork":false,"pushed_at":"2020-05-15T03:52:51.000Z","size":427,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T16:57:25.792Z","etag":null,"topics":["angular","docker","docker-compose","golang","postgresql","rabbitmq"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viveksyngh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-09-28T12:52:37.000Z","updated_at":"2021-01-01T07:34:23.000Z","dependencies_parsed_at":"2023-05-18T16:45:51.674Z","dependency_job_id":null,"html_url":"https://github.com/viveksyngh/search-agg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/viveksyngh/search-agg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viveksyngh%2Fsearch-agg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viveksyngh%2Fsearch-agg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viveksyngh%2Fsearch-agg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viveksyngh%2Fsearch-agg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viveksyngh","download_url":"https://codeload.github.com/viveksyngh/search-agg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viveksyngh%2Fsearch-agg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28624341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T02:47:06.670Z","status":"ssl_error","status_checked_at":"2026-01-21T02:45:44.886Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["angular","docker","docker-compose","golang","postgresql","rabbitmq"],"created_at":"2024-09-27T01:04:52.814Z","updated_at":"2026-01-21T03:01:53.071Z","avatar_url":"https://github.com/viveksyngh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# search-Aggregator\nApplication written in golang which aggregates search results from Google, DuckDuckGo and Wikipedia\n\n## Steps to run\n\n### Prerequisite\nYou need to have `docker` and `docker-compose` installed on your system\n\n1. [Installation on Mac](https://docs.docker.com/docker-for-mac/install/)\n    \n2. [Install Docker Compose ](https://docs.docker.com/compose/install/) \n\n\n### Get the code\nClone this repository and change to repository directory\n\n### Bring up all Services\nRun below command to bring up all services\n```\ndocker-compose build --parallel \u0026\u0026 docker-compose up\n```\n\n### Setup Database\nOnce all services are up, open a terminal window and run below command to exec to database container\n```\ndocker exec -it $(docker ps --filter=name=search-agg_db -q) bash\n```\n\nLogin to database inside the container using below command\n```\npsql \"sslmode=disable host=localhost port=5432 user=searchdbuser dbname=searchdb password=12345\"\n```\n\nTo create the required tables for the app, run below create tables commands which are also present in `db.sql` file\n\n```sql\nCREATE TABLE searchquery (\n  id              SERIAL PRIMARY KEY,\n  status          VARCHAR(100) NOT NULL,\n  query           VARCHAR(255) NOT NULL,\n  created_on      TIMESTAMP NOT NULL \n);\n\nCREATE TABLE googlesearchresult (\n    id              SERIAL PRIMARY KEY,\n    title           VARCHAR (255) NOT NULL,\n    searchquery_id  INTEGER REFERENCES searchquery(id),\n    url             VARCHAR (255) NOT NULL         \n);\n\nCREATE TABLE duckduckgosearchresult (\n    id              SERIAL PRIMARY KEY,\n    title           VARCHAR (255) NOT NULL,\n    searchquery_id  INTEGER REFERENCES searchquery(id),\n    url             VARCHAR (255) NOT NULL            \n);\n\nCREATE TABLE wikipediasearchresult (\n    id              SERIAL PRIMARY KEY,\n    result           TEXT NOT NULL,\n    searchquery_id  INTEGER REFERENCES searchquery(id)        \n);\n```\n\n### Open the application\n\nGo to browser and access the application at `http://127.0.0.1:8000`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviveksyngh%2Fsearch-agg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviveksyngh%2Fsearch-agg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviveksyngh%2Fsearch-agg/lists"}