{"id":32195921,"url":"https://github.com/jakehill0908/forever-socket-client","last_synced_at":"2026-06-21T16:32:30.234Z","repository":{"id":62432697,"uuid":"156635685","full_name":"jakehill0908/forever-socket-client","owner":"jakehill0908","description":"Async Socket clients that attempt to stay connected forever","archived":false,"fork":false,"pushed_at":"2018-12-12T17:35:52.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T02:48:27.013Z","etag":null,"topics":["clojure","sockets","tcp-client"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/jakehill0908.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}},"created_at":"2018-11-08T02:00:47.000Z","updated_at":"2018-12-12T17:35:53.000Z","dependencies_parsed_at":"2022-11-01T21:15:33.281Z","dependency_job_id":null,"html_url":"https://github.com/jakehill0908/forever-socket-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jakehill0908/forever-socket-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakehill0908%2Fforever-socket-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakehill0908%2Fforever-socket-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakehill0908%2Fforever-socket-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakehill0908%2Fforever-socket-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakehill0908","download_url":"https://codeload.github.com/jakehill0908/forever-socket-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakehill0908%2Fforever-socket-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34618475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"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":["clojure","sockets","tcp-client"],"created_at":"2025-10-22T02:23:21.366Z","updated_at":"2026-06-21T16:32:30.213Z","avatar_url":"https://github.com/jakehill0908.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# forever-socket-client\nA simple Clojure library that creates asynchronous socket clients that stay connected forever.\n\n### Dependencies\nUses only standard java.net.Sockets and clojure.core.async\n\n`[forever-socket-client \"1.2.0\"]`\n\n## Usage\n\n```clojure\n(ns your-namespace.core\n  (:require [forever-socket-client.core :as fsc]))\n\n; Factory returns an atom\n(def socket (fsc/factory \"localhost\" ; Hostname\n                         8080        ; Port\n                         2048        ; Max buffer size in bytes\n                         1000))      ; Reconnect/retry interval in milliseconds\n \n(fsc/write @socket (fsc/str-to-bytes \"Hello World!\"))           ; Write to socket\n\n(fsc/append-callback @socket #(println (format \"Received data: %s\" %))) ; Receive data from socket async\n(fsc/append-callback @socket (fn [data]                         ; Multiple callbacks may be assigned\n                               (println (format \"Received %d Bytes\" (count data)))))\n\n(fsc/stop @socket) ; Exit async processes and close socket connection gracefully\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakehill0908%2Fforever-socket-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakehill0908%2Fforever-socket-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakehill0908%2Fforever-socket-client/lists"}