{"id":23197182,"url":"https://github.com/jsnjack/mech","last_synced_at":"2026-04-08T11:02:24.217Z","repository":{"id":63416883,"uuid":"561497641","full_name":"jsnjack/mech","owner":"jsnjack","description":"Automate Constellix configuration","archived":false,"fork":false,"pushed_at":"2024-10-07T21:36:43.000Z","size":8305,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T08:43:42.535Z","etag":null,"topics":["configuration-management","constellix","dns","infrastructure-as-code"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsnjack.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":"2022-11-03T20:28:20.000Z","updated_at":"2024-10-07T21:36:42.000Z","dependencies_parsed_at":"2023-02-14T02:16:13.241Z","dependency_job_id":"bced5f45-126e-40a9-b345-63fda97b41bf","html_url":"https://github.com/jsnjack/mech","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/jsnjack/mech","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fmech","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fmech/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fmech/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fmech/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsnjack","download_url":"https://codeload.github.com/jsnjack/mech/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fmech/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31551891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["configuration-management","constellix","dns","infrastructure-as-code"],"created_at":"2024-12-18T14:28:51.040Z","updated_at":"2026-04-08T11:02:24.206Z","avatar_url":"https://github.com/jsnjack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"mech\n=======\n\n`mech` automates Constellix DNS configuration (similar to [octodns](https://github.com/octodns/octodns)\nand [terraform](https://www.terraform.io/)). The advantage of `mech` is that it\nsupports advanced configuration with multiple GTD regions and GeoProximity locations.\n\nThe application manages DNS records, Sonar checks and GeoProximity locations. The\nfunctionality can easily be extended to support other Constellix resources.\n\n# Supported features\n\n\u003e [Sonar REST API](https://api-docs.constellix.com/)\n\n## Sonar\n- [ ] static configuration\n  - [x] http\n  - [x] tcp\n  - [ ] icmp\n  - [ ] dns\n  - [ ] ssl cert\n- [ ] runtime data\n  - [x] http\n  - [ ] icmp\n  - [ ] dns\n  - [ ] tcp\n  - [ ] ssl cert\n\n## DNS\n - [ ] Domain records\n   - [x] A\n   - [x] AAAA\n   - [x] ANAME\n   - [x] CAA\n   - [ ] CERT\n   - [x] CNAME\n   - [ ] HINFO\n   - [x] HTTP\n   - [x] MX\n   - [ ] NAPTR\n   - [ ] NS\n   - [ ] PTR\n   - [ ] RP\n   - [ ] SPF\n   - [ ] SRV\n   - [x] TXT\n   - [ ] pools?\n\n - [x] GeoProximity\n   - [ ] Renaming\n\n# Configuration format\n```\nconstellix:\n  sonar:\n    http_checks:\n      - file1.yaml\n      - file2.yaml\n      - ...\n    tcp_checks:\n      - myfolder/*.yaml\n  dns:\n    surfly.gratis:\n      - file4.yaml\n```\n\n\u003e Use `mech sonar discover static -t http` command to print existing configuration\n\n## Resource naming\n\nSome of the resource (e.g. Sonar HTTP check ID in failover configuration) can be specified in 2 different ways:\n - ID of the resource, int\n - dynamically discovered value (e.g. `@sonar,http:test-online`). When parsing the configuration `mech` will call Constellix\n   Sonar REST API and retrieve all available http checks. If one of the http checks has name `test-online`, it's ID will be\n   used as `sonarCheckId`\n\n# Resources\n - [Constellix DNS REST API v4](https://api.dns.constellix.com/v4/docs#tag/Domains)\n - [Constellix Sonar Rest API](https://api-docs.constellix.com/)\n - [Constellix go client](https://github.com/Constellix/constellix-go-client) (just for reference)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnjack%2Fmech","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsnjack%2Fmech","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnjack%2Fmech/lists"}