{"id":19670211,"url":"https://github.com/mcpt/central","last_synced_at":"2025-04-29T00:31:31.829Z","repository":{"id":130349617,"uuid":"326854106","full_name":"mcpt/central","owner":"mcpt","description":null,"archived":true,"fork":false,"pushed_at":"2022-07-10T01:18:49.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T04:48:27.298Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mcpt.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":"2021-01-05T01:36:43.000Z","updated_at":"2024-07-07T22:01:54.000Z","dependencies_parsed_at":"2023-03-17T14:30:55.831Z","dependency_job_id":null,"html_url":"https://github.com/mcpt/central","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fcentral","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fcentral/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fcentral/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fcentral/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcpt","download_url":"https://codeload.github.com/mcpt/central/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251410327,"owners_count":21585000,"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","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-11T17:05:16.920Z","updated_at":"2025-04-29T00:31:31.576Z","avatar_url":"https://github.com/mcpt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCPT Central\n\nSimple service that centralizes server/ip address management for wireguard.\n\nAllows automated deployments by interfacing with the wireguard kernel module to dynamically add peers.\n\nSee the client at mcpt/central-client\n\n## Sample Config\n\n`config.yml`:\n\n```\ninterface: wg0\nhubip: 10.11.10.1\nlisten: 127.0.0.1:8080\nsecret: ecdd4a92cda41933e7852148080591ddf71e5be8f8d5becd574b9cdc79157705\ntypes:\n  - name: site\n    cidr: 10.11.11.0/24\n  - name: judge\n    cidr: 10.11.12.0/24\n```\n\n`servers.yml` (this is automatically generated)\n\n```\n- ip: 10.11.11.1\n  type: site\n  allowedips:\n  - 10.11.10.1/32\n  - 10.11.11.0/24\n  metadata:\n    Hostname: example-1\n    IP: 3.1.6.6\n  publickey: VuL9pcWE7nbVyXb/MFZQSlmCV0293YP6A1nxyuDwVwI=\n  privatekey: 8EwX40omWmmKQWa2zxKD5vS3MNGTeC0t06lOA7HXVGo=\n- ip: 10.11.11.2\n  type: site\n  allowedips:\n  - 10.11.10.1/32\n  - 10.11.11.0/24\n  metadata:\n    Hostname: example-2\n    IP: 3.1.6.7\n  publickey: qLeBJ75THeHuo76AQa/GFSBcRHIofuuV1uYjaOpWGl0=\n  privatekey: IIUJV5J8XB7YCzfRp8Pq2zyUMwOXBftA6mnV8x7ZtF4=\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcpt%2Fcentral","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcpt%2Fcentral","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcpt%2Fcentral/lists"}