{"id":13570702,"url":"https://github.com/quartzjer/TeleHash","last_synced_at":"2025-04-04T07:31:56.566Z","repository":{"id":772044,"uuid":"457353","full_name":"quartzjer/TeleHash","owner":"quartzjer","description":"Old v1 repo, please see http://github.org/telehash now.","archived":false,"fork":false,"pushed_at":"2022-06-29T15:57:13.000Z","size":1032,"stargazers_count":736,"open_issues_count":5,"forks_count":64,"subscribers_count":50,"default_branch":"master","last_synced_at":"2025-03-28T07:05:43.848Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://telehash.org/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quartzjer.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":"2010-01-03T21:44:13.000Z","updated_at":"2025-02-14T15:49:22.000Z","dependencies_parsed_at":"2022-08-16T10:50:28.163Z","dependency_job_id":null,"html_url":"https://github.com/quartzjer/TeleHash","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/quartzjer%2FTeleHash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quartzjer%2FTeleHash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quartzjer%2FTeleHash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quartzjer%2FTeleHash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quartzjer","download_url":"https://codeload.github.com/quartzjer/TeleHash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247138819,"owners_count":20890112,"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-01T14:00:54.355Z","updated_at":"2025-04-04T07:31:51.558Z","avatar_url":"https://github.com/quartzjer.png","language":"Java","funding_links":[],"categories":["Java","网络编程"],"sub_categories":["Spring Cloud框架"],"readme":"This is the old/depreicated v1 repo, all of the work since 2013 is now located at [https://github.com/telehash/](https://github.com/telehash/).\n\n***\n\nTeleHash - Distributed JSON - http://telehash.org/\n==================================================\n\n* org/\t\ttelehash.org contents (all docs so far)\n* perl/\t\ttest implementations and utils in Perl\n* c/\t\t\tbasic test stuff in C\n* ruby/ \t\trudimentary testing in Ruby\n* erlang/\t\tbasic announcer in erlang\n* switchd/\tplans to create a utility daemon to do the dirty work\n* diag/\t \tgraffle/diagrams of protocol states\n\n\nWhat tech does one need to implement a switch?\n==============================================\n\n*\tUDP\n*\tJSON\n*\tSHA1\n*\tXOR'ing the 160 bits of a SHA1 hash\n*\thandling both network events and timers (and possibly interactions with the \"app\" it's serving)\n\nWhat does a switch need to do?\n==============================\n\t- listen for UDP packets (off a random port)\n\t- send something to an initial seed to discover its public IP:PORT\n\t- announce itself and try to discover other switches nearby to it\n\t- maintain the \"lines\" it has active with any other switches\n\t\t- validate sender/status\n\t\t- track bytes sent/received\n\t- answer requests for nearby switches\n\t- accept \"taps\" from other switches\n\t- match incoming signals against any active taps and forward them\n\t- that's plenty :) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquartzjer%2FTeleHash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquartzjer%2FTeleHash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquartzjer%2FTeleHash/lists"}