{"id":20032701,"url":"https://github.com/lucko/bytesocks-java-client","last_synced_at":"2025-09-25T20:51:35.990Z","repository":{"id":145746901,"uuid":"610988552","full_name":"lucko/bytesocks-java-client","owner":"lucko","description":"A Java client for bytesocks","archived":false,"fork":false,"pushed_at":"2025-01-05T21:48:11.000Z","size":18,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T17:09:36.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/lucko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-03-07T22:04:27.000Z","updated_at":"2025-01-05T21:48:15.000Z","dependencies_parsed_at":"2024-11-13T09:49:46.377Z","dependency_job_id":null,"html_url":"https://github.com/lucko/bytesocks-java-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2Fbytesocks-java-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2Fbytesocks-java-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2Fbytesocks-java-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2Fbytesocks-java-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucko","download_url":"https://codeload.github.com/lucko/bytesocks-java-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252445632,"owners_count":21749091,"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-13T09:38:51.606Z","updated_at":"2025-09-25T20:51:30.932Z","avatar_url":"https://github.com/lucko.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bytesocks-java-client\n\nJava client library for [bytesocks](https://github.com/lucko/bytesocks).\n\n\nRepo: `https://oss.sonatype.org/content/repositories/snapshots/`   \nArtifact: `me.lucko:bytesocks-java-client:1.0-SNAPSHOT`\n\n![Maven metadata URL](https://img.shields.io/maven-metadata/v?label=me.lucko%3Abytesocks-java-client\u0026metadataUrl=https%3A%2F%2Foss.sonatype.org%2Fcontent%2Frepositories%2Fsnapshots%2Fme%2Flucko%2Fbytesocks-java-client%2Fmaven-metadata.xml\u0026style=flat-square)\n\n### Example Usage\n\n```java\n// Create a client\nString host = \"bytesocks.example.com\";\nString userAgent = \"github.com/example/your-application\";\n\nBytesocksClient client = BytesocksClientFactory.newClient(host, userAgent);\n\n// create a new socket connection\nBytesocksClient.Listener listener = new BytesocksClient.Listener() {\n    @Override\n    public void onText(String data) {\n        System.out.println(\"Got data from channel: \" + data);\n    }\n};\n\nBytesocksClient.Socket socket = client.createAndConnect(listener);\nSystem.out.println(\"Now connected to channel \" + socket.getChannelId());\n\n// Send a message to the channel\nsocket.send(\"Hello!\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucko%2Fbytesocks-java-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucko%2Fbytesocks-java-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucko%2Fbytesocks-java-client/lists"}