{"id":13769143,"url":"https://github.com/bannsec/cosmosocks","last_synced_at":"2025-04-12T12:44:34.832Z","repository":{"id":56816667,"uuid":"526035633","full_name":"bannsec/cosmosocks","owner":"bannsec","description":"Socks server written in Cosmopolitan libc","archived":false,"fork":false,"pushed_at":"2022-09-09T03:32:40.000Z","size":7043,"stargazers_count":25,"open_issues_count":15,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T07:22:58.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bannsec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-18T03:06:58.000Z","updated_at":"2024-11-29T16:20:28.000Z","dependencies_parsed_at":"2023-01-18T01:45:52.800Z","dependency_job_id":null,"html_url":"https://github.com/bannsec/cosmosocks","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/bannsec%2Fcosmosocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannsec%2Fcosmosocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannsec%2Fcosmosocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannsec%2Fcosmosocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bannsec","download_url":"https://codeload.github.com/bannsec/cosmosocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248570213,"owners_count":21126380,"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-08-03T17:00:18.074Z","updated_at":"2025-04-12T12:44:34.810Z","avatar_url":"https://github.com/bannsec.png","language":"C","funding_links":[],"categories":["Cosmopolitan"],"sub_categories":["Projects"],"readme":"[![Build and test](https://github.com/bannsec/cosmosocks/actions/workflows/build.yml/badge.svg)](https://github.com/bannsec/cosmosocks/actions/workflows/build.yml)\n\n![Windows](https://github.com/bannsec/cosmosocks/raw/master/icons/windows.png)\n![Apple](https://github.com/bannsec/cosmosocks/raw/master/icons/apple.png)\n![Ubuntu](https://github.com/bannsec/cosmosocks/raw/master/icons/ubuntu.png)\n![Android](https://github.com/bannsec/cosmosocks/raw/master/icons/android.png)\n![OpenBSD](https://github.com/bannsec/cosmosocks/raw/master/icons/openbsd.png)\n![NetBSD](https://github.com/bannsec/cosmosocks/raw/master/icons/netbsd.png)\n![FreeBSD](https://github.com/bannsec/cosmosocks/raw/master/icons/freebsd.png)\n\n# Overview\n`Cosmosocks` is a socks server written entirely in [Cosmopolitian libc](https://justine.lol/cosmopolitan). This allows the socks program to run across any platform cosmopolitan can run on, which includes Windows, Linux, MacOS and more.\n\n# Running\nThe two binaries that are built are `cosmosocks_server` and `cosmosocks_server_ape`. The two binaries are functionally the same, but the former will unpack itself into a temporary directory while the later will dynamically overwrite itself.\n\n```bash\n# Basic run with no arguments will bind global on port 1080\ncosmosocks_server\n\n# Specify a port to bind to\ncosmosocks_server -p 8080\n\n# Specify a username/password for authentication\ncosmosocks_server -U user -P password\n```\n\n# Downloading\nRelease binaries are available on [GitHub](https://github.com/bannsec/cosmosocks/releases/latest).\n\n# Building\nAll dependencies are provided in this repository. Building the program is simple as running `make`.\n\nIf you want to use a different cosmopolitan amalgamation, you can specify it with `COSMO`:\n\n```bash\nmake COSMO=amalgamation-dbg\nmake COSMO=amalgamation-tiny\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbannsec%2Fcosmosocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbannsec%2Fcosmosocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbannsec%2Fcosmosocks/lists"}