{"id":22499714,"url":"https://github.com/mahdavipanah/hamcode","last_synced_at":"2025-10-25T10:43:23.027Z","repository":{"id":57502956,"uuid":"56721981","full_name":"mahdavipanah/hamcode","owner":"mahdavipanah","description":"Encode, decode and correct (single bit) a binary code using Hamming code algorithm in Go language","archived":false,"fork":false,"pushed_at":"2016-04-26T07:39:50.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T03:47:25.112Z","etag":null,"topics":["blog","decode","encode","go","golang","hamming-code"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mahdavipanah.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":"2016-04-20T21:24:03.000Z","updated_at":"2022-03-22T06:47:36.000Z","dependencies_parsed_at":"2022-08-31T08:01:47.005Z","dependency_job_id":null,"html_url":"https://github.com/mahdavipanah/hamcode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdavipanah%2Fhamcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdavipanah%2Fhamcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdavipanah%2Fhamcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahdavipanah%2Fhamcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahdavipanah","download_url":"https://codeload.github.com/mahdavipanah/hamcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228532136,"owners_count":17933248,"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":["blog","decode","encode","go","golang","hamming-code"],"created_at":"2024-12-06T22:15:33.663Z","updated_at":"2025-10-25T10:43:17.999Z","avatar_url":"https://github.com/mahdavipanah.png","language":"Go","readme":"# hamcode\nEncode, decode and correct (single bit) a binary code using Hamming code.\n\n## Install\nMake sure you have [Go programming language](http://golang.org) installed. Then run the following command:\n```Bash\ngo get github.com/mahdavipanah/hamcode\n```\n\n## Usage\n```Bash\n$ hamcode help\nEncode, decode and correct (single bit) a binary code using Hamming code.\n\nUsage: hamcode [command] [binary code]\n\nAvailable Commands:\n  correct            Print the corrected binary code\n  encode             Print the encoded data binary using Hamming code\n  decode             Print the data binary code inside the input Hamming code\n  help, -h, --help   Print the help\n\nAvailable Options:\n  --rtl\t\t     Interpret the code from right to left\n\nAuthor: Hamidreza Mahdavipanah\nRepository: http://github.com/mahdavipanah/hamcode\n```\n### Example\n```Bash\n$ hamcode encode 1011 --rtl\n1010101\n$ hamcode decode 1010101 --rtl\n1011\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahdavipanah%2Fhamcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahdavipanah%2Fhamcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahdavipanah%2Fhamcode/lists"}