{"id":15498923,"url":"https://github.com/maxnowack/elastic-sync","last_synced_at":"2026-01-20T14:33:48.115Z","repository":{"id":42803483,"uuid":"271048238","full_name":"maxnowack/elastic-sync","owner":"maxnowack","description":"Connector to sync mongodb documents into a elasticsearch index","archived":false,"fork":false,"pushed_at":"2023-01-07T18:58:35.000Z","size":141,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T19:29:13.420Z","etag":null,"topics":["data","elasticsearch","mongodb","sync"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/maxnowack.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-06-09T16:04:03.000Z","updated_at":"2022-08-17T02:56:13.000Z","dependencies_parsed_at":"2023-02-07T21:40:12.162Z","dependency_job_id":null,"html_url":"https://github.com/maxnowack/elastic-sync","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/maxnowack/elastic-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxnowack%2Felastic-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxnowack%2Felastic-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxnowack%2Felastic-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxnowack%2Felastic-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxnowack","download_url":"https://codeload.github.com/maxnowack/elastic-sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxnowack%2Felastic-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28604941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: 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":["data","elasticsearch","mongodb","sync"],"created_at":"2024-10-02T08:49:04.284Z","updated_at":"2026-01-20T14:33:48.098Z","avatar_url":"https://github.com/maxnowack.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elastic-sync\nConnector to sync mongodb documents into a elasticsearch index\n\n## installation\n````bash\n  $ npm install -g elastic-sync\n````\n\n## usage\n````bash\n  elastic-sync \u003cconfigFile\u003e\n````\n\n### docker\n````bash\n  docker pull maxnowack/elastic-sync\n  docker run -v /path/to/config.yaml:/config.yaml maxnowack/elastic-sync\n````\n\n## configuration\n````yaml\nmongo:\n  url: mongodb://localhost:27017/test # mongodb connection uri\n  options: # connection options (see https://mongodb.github.io/node-mongodb-native/3.6/reference/connecting/connection-settings/)\n    useNewUrlParser: true\n    useUnifiedTopology: true\nelastic: # these options are directly passed through to the elastic search client (see https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/client-configuration.html)\n  node: http://localhost:9200\nsync:\n- indexName: videos # name of the elastic search index. the index will be created automatically with the fields below if it doesn't exist\n  collectionName: videos # name of the mongodb collection\n  selector: # mongodb query for selecting the documents for syncing\n    deleted: false\n    disabled: false\n  fields: # field mapping and elasticsearch data types\n    title: # name of the field in the elasticsearch index\n      type: 'text' # type of the field (see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html)\n      mongoField: title # path to the value of the field in the mongodb document (uses lodash.get; see https://lodash.com/docs/4.17.15#get)\n    categories:\n      type: 'keyword'\n      mongoField: categories._id # array fields are resolved to all values automatically\n    duration:\n      type: 'double'\n      mongoField: duration\n    publishDate:\n      type: 'date'\n      mongoField: publishDate\n    rating:\n      type: 'double'\n      mongoField: rating\n    ratings:\n      type: 'double'\n      mongoField: ratings\n    slug:\n      type: 'keyword'\n      mongoField: slug\n    tags:\n      type: 'text'\n      mongoField: tags\n    views:\n      type: 'double'\n      mongoField: views\n````\n\n## license\nLicensed under MIT license. Copyright (c) 2020 Max Nowack\n\n## contributions\nContributions are welcome. Please open issues and/or file Pull Requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxnowack%2Felastic-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxnowack%2Felastic-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxnowack%2Felastic-sync/lists"}