{"id":16317051,"url":"https://github.com/simatwa/tobin","last_synced_at":"2025-05-13T16:13:08.457Z","repository":{"id":174393728,"uuid":"652163156","full_name":"Simatwa/tobin","owner":"Simatwa","description":"Convert text to binary and vice versa","archived":false,"fork":false,"pushed_at":"2023-06-11T10:19:28.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-25T11:42:05.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Simatwa.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-11T09:39:17.000Z","updated_at":"2023-06-11T10:16:23.000Z","dependencies_parsed_at":"2023-07-08T12:16:43.942Z","dependency_job_id":null,"html_url":"https://github.com/Simatwa/tobin","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"7d72b12297009a3ca12baf3cc0bc98d3cff001df"},"previous_names":["simatwa/tobin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simatwa%2Ftobin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simatwa%2Ftobin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simatwa%2Ftobin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simatwa%2Ftobin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Simatwa","download_url":"https://codeload.github.com/Simatwa/tobin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239188685,"owners_count":19597032,"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-10-10T22:06:29.011Z","updated_at":"2025-02-16T19:46:49.047Z","avatar_url":"https://github.com/Simatwa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tobin\n\u003e Convert text to binary and vice versa\n\n## Installation \n\n1. Install [addtopath](https://github.com/Simatwa/addtopath).\n2. Clone repo and install\n\n```sh\ngit clone https://github.com/Simatwa/tobin.git\ncd tobin\naddtopath main.py tobin\n```\n\n## Usage\n\n1. Convert ascii to binary \n- `$ tobin -b \"\u003cascii-text\u003e`\n\u003e Instance:\n\n```sh\ntobin -b \"Hello world\"\n\n# Output : 01001000 01100101 01101100 01101100 01101111 00100000 01110111 01101111 01110010 01101100 01100100\n```\n\n2. Convert binary to ascii\n\n- `$ tobin \u003cbinary\u003e`\n\u003e Instance:\n\n```sh\ntobin \"01001000 01100101 01101100 01101100 01101111 00100000 01110111 01101111 01110010 01101100 01100100\"\n# Output : Hello world\n```\n\n- For more info run: \n\n \u003cdetails\u003e\n\n \u003csummary\u003e\n\n - `$ tobin -h`\n\n \u003c/summary\u003e\n\n```\nusage: tobin [-h] [-f FILE] [-b] [message]\n\nConvert text to binary and vice versa\n\npositional arguments:\n  message               Message to be\n                        converted\n\noptions:\n  -h, --help            show this help message\n                        and exit\n  -f FILE, --file FILE  Path to file\n                        containing message\n  -b, --bin             Convert message to\n                        binary\n\n01001000 01100101 01101100 01101100 01101111\n00100000 01110101 00110000 01011111 01100001\n00110010 00110000 00110011 Hello u0_a203\n```\n\u003c/details\u003e\n  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimatwa%2Ftobin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimatwa%2Ftobin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimatwa%2Ftobin/lists"}