{"id":21177993,"url":"https://github.com/hexedpackets/mongo_sync","last_synced_at":"2025-10-15T13:10:48.024Z","repository":{"id":74589206,"uuid":"39218856","full_name":"hexedpackets/mongo_sync","owner":"hexedpackets","description":"Elixir applications for syncing MongoDB replication information with Consul.","archived":false,"fork":false,"pushed_at":"2015-07-24T15:07:49.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T03:37:16.585Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/hexedpackets.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":"2015-07-16T20:26:48.000Z","updated_at":"2015-07-16T20:32:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f6098c4-4f48-4ce0-904b-91dee639c702","html_url":"https://github.com/hexedpackets/mongo_sync","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hexedpackets/mongo_sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fmongo_sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fmongo_sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fmongo_sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fmongo_sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexedpackets","download_url":"https://codeload.github.com/hexedpackets/mongo_sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fmongo_sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279081336,"owners_count":26099192,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"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":[],"created_at":"2024-11-20T17:19:26.163Z","updated_at":"2025-10-15T13:10:47.994Z","avatar_url":"https://github.com/hexedpackets.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"MongoSync\n=========\n\nElixir applications for syncing MongoDB replication information with Consul.\n\n### Installation\nAdd MongoSync as a dependency in your mix.exs file\n\n```elixir\ndef application do\n  [applications: [:mongo_sync]]\nend\n\ndefp deps do\n  [\n    {:mongo_sync, github: \"hexedpackets/mongo_sync\"}\n  ]\nend\n```\n\n### Configuration\n```elixir\n# Indicates the key in Consul to store members under\nconfig :mongo_sync, :consul_root, \"services/db\"\n\n# Whether to regularly sync with Consul or only have syncing manually started\nconfig :mongo_sync, :auto_sync, true\n\n# How often to sync with Consul when :auto_sync is enabled\nconfig :mongo_sync, :interval, 10000\n\n# MongoDB connection info\nconfig :mongo_sync, :mongo_host, '127.0.0.1'\nconfig :mongo_sync, :mongo_port, 27017\n```\n\nThese can also be configured with the environmental variables `MONGO_CONSUL_ROOT`, `MONGO_AUTO_SYNC`, `MONGO_SYNC_INTERVAL`, `MONGO_HOST`, and `MONGO_PORT` when using mongo_sync as a standalone application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexedpackets%2Fmongo_sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexedpackets%2Fmongo_sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexedpackets%2Fmongo_sync/lists"}