{"id":41076025,"url":"https://github.com/resonatecoop/search","last_synced_at":"2026-01-22T13:23:32.052Z","repository":{"id":37799542,"uuid":"303727282","full_name":"resonatecoop/search","owner":"resonatecoop","description":"Search API","archived":false,"fork":false,"pushed_at":"2022-09-15T12:07:59.000Z","size":561,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":5,"default_branch":"development","last_synced_at":"2025-10-11T06:24:36.223Z","etag":null,"topics":["elasticsearch","koa","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/resonatecoop.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":"2020-10-13T14:19:00.000Z","updated_at":"2022-11-14T20:28:19.000Z","dependencies_parsed_at":"2023-01-17T17:01:24.551Z","dependency_job_id":null,"html_url":"https://github.com/resonatecoop/search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/resonatecoop/search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resonatecoop%2Fsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resonatecoop%2Fsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resonatecoop%2Fsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resonatecoop%2Fsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/resonatecoop","download_url":"https://codeload.github.com/resonatecoop/search/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resonatecoop%2Fsearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28663784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["elasticsearch","koa","mongodb","nodejs"],"created_at":"2026-01-22T13:23:31.462Z","updated_at":"2026-01-22T13:23:32.044Z","avatar_url":"https://github.com/resonatecoop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e 🛠 **Status: Maintenance Mode | Stable**\n\u003e\n\u003e This project is currently in [maintenance mode](https://en.wikipedia.org/wiki/Maintenance_mode) - users should feel free to continue to use this app and expect bug fixes, but not expect many additional features.\n\n# Resonate Search Demo\n\n## Stack\n\n- Mongodb with mongoose and mongoosastic\n- Elasticsearch\n- Koajs\n\n## Models\n\n- Track\n- Profile\n- Release\n\n## Sync data\n\nTo save/update data into elasticsearch, the following script needs to be ran\n\n```sh\nbabel-node -r ./node_modules/dotenv-safe/config ./src/scripts/migrate run\n```\n\nIt's configured to connect to our wordpress db which also have a table for tracks.\n\n## Query\n\nWith no minimum query length, fuzzy query is possible. The results will be merged and sorted by score.\n\nUse the 'kind' field to identify the model (track|artist|label|band)\n\n```json\n[\n  {\n    \"kind\": \"track\",\n    \"title\": \"capitalism crashed\",\n    \"display_artist\": \"AGF\",\n    \"album\": \"capitalism crashed\",\n    \"tags\": [\"experimental\"]\n  }\n]\n```\n\n## Flow\n\n```flow\nst=\u003estart: Search API\ne=\u003eend: Return error\nquery=\u003eoperation: Query\ncond=\u003econdition: Invalid query?\nio=\u003einputoutput: catch error...\npara=\u003eparallel: Search tracks and profiles\nresponse=\u003eend: Return merged results sorted by score\n\nst-\u003equery-\u003econd\ncond(no)-\u003epara\ncond(yes)-\u003eio-\u003ee\npara(path1, bottom)-\u003eresponse(right)\npara(path2, top)\n```\n\n## UI Design\n\n![alt text](./search.png \"Search Figma Design\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresonatecoop%2Fsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresonatecoop%2Fsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresonatecoop%2Fsearch/lists"}