{"id":24302795,"url":"https://github.com/taigrr/cayswap","last_synced_at":"2025-09-20T21:33:02.831Z","repository":{"id":70615403,"uuid":"498532254","full_name":"taigrr/cayswap","owner":"taigrr","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-10T00:54:24.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-11T09:56:59.311Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taigrr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"taigrr","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-05-31T23:51:32.000Z","updated_at":"2022-06-02T07:25:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"331160ba-ce90-4c2f-9299-c2eed315303c","html_url":"https://github.com/taigrr/cayswap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/taigrr/cayswap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fcayswap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fcayswap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fcayswap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fcayswap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taigrr","download_url":"https://codeload.github.com/taigrr/cayswap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fcayswap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276163346,"owners_count":25596014,"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-09-20T02:00:10.207Z","response_time":63,"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":"2025-01-17T00:19:23.929Z","updated_at":"2025-09-20T21:33:02.826Z","avatar_url":"https://github.com/taigrr.png","language":"Go","funding_links":["https://github.com/sponsors/taigrr"],"categories":[],"sub_categories":[],"readme":"1. Check command line parameters to determine if in server or CLI mode\n2. If Server:\n\t- Parse in config as a server\n    - Parse in wg.conf (filename determined by config at /etc/cayswap)\n    - Use key passed in from CLI or from config file for auth\n    - Use interface passed in from CLI or from config for listening\n    - receive requests from clients\n    - on request received, check client IP and check to see if client exists\n    - if client exists, error out and write out error message\n    - if client is new, then:\n    - create new entry in wg config file with IP address + public key\n    - systemctl reload wg-quick@\n    - afer 15 minutes, exit\n3. If Client:\n    - Read in key from CLI\n    - Read in endpoint from CLI\n    - Parse WG Config\n    - Post public key + IP to server\n    - receive public key + ip back from server\n    - update wg config and reload wg-quick, exit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaigrr%2Fcayswap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaigrr%2Fcayswap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaigrr%2Fcayswap/lists"}