{"id":23468386,"url":"https://github.com/dikkadev/conv","last_synced_at":"2025-04-12T21:39:27.215Z","repository":{"id":245291610,"uuid":"817883763","full_name":"dikkadev/conv","owner":"dikkadev","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-19T09:31:43.000Z","size":1337,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T23:55:49.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dikkadev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-20T16:30:46.000Z","updated_at":"2024-10-19T09:31:46.000Z","dependencies_parsed_at":"2024-06-21T06:40:01.305Z","dependency_job_id":"92468084-c527-462e-a925-157ed7b4bc8b","html_url":"https://github.com/dikkadev/conv","commit_stats":null,"previous_names":["sett17/conv","dikkadev/conv"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dikkadev%2Fconv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dikkadev%2Fconv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dikkadev%2Fconv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dikkadev%2Fconv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dikkadev","download_url":"https://codeload.github.com/dikkadev/conv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631679,"owners_count":21136562,"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-12-24T13:52:54.412Z","updated_at":"2025-04-12T21:39:27.196Z","avatar_url":"https://github.com/dikkadev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# conv\n\nOh great, another number converter. Like the world needed more of those, right? But hey, you asked for it, so here it is. A CLI tool to convert numbers between decimal, binary, octal, and hexadecimal. Riveting stuff.\n\n## Features\n\n- Converts numbers between decimal, binary, octal, and hexadecimal. Because why not.\n- Supports prefixes like `0x` for hex, `0b` for binary, and `0o` for octal. Aren't these prefixes just delightful?\n- Prints the converted numbers with optional prefixes and labels. Because we all love options.\n- Handles multiple numbers in one go. Efficiency at its finest.\n\n## Installation\n\nSure, just clone this amazing repository and build it yourself. You know the drill.\n\n```sh\ngit clone https://github.com/sett17/conv.git\ncd conv\ngo build -o conv\n```\n\n## Usage\n\nRun the `conv` command with your preferred options. Or don't. I'm not your boss.\n\n```sh\n./conv [options] \u003cnumber\u003e [\u003cnumber\u003e ...]\n```\n\n### Options\n\n- `--dec` Print decimal. Wow, a decimal number.\n- `--hex` Print hexadecimal. Because 0xDE is just too cool.\n- `--oct` Print octal. Like anyone really uses octal.\n- `--bin` Print binary. 0b1010, because why not.\n- `--no-prefix` Do not print prefixes. Because minimalism is a thing.\n- `--no-label` Do not print labels. You like it raw, I get it.\n\n### Examples\n\nConverting a single number:\n\n```sh\n./conv 0x05\n```\n\nOutput:\n\n```\ndec: 5\nhex: 0x5\noct: 0o5\nbin: 0b101\n```\n\nConverting multiple numbers, without prefixes and labels. Who needs those anyway?\n\n```sh\n./conv --no-prefix --no-label 0x05 69 0b1010\n```\n\nOutput:\n\n```\n5\n5\n5\n5\n\n69\n45\n105\n1001101\n\n10\n2\n12\n1010\n```\n\n## License\n\nDo whatever you want with it. Seriously, I'm done. \n\n---\n\nFeel free to contribute or don't. It's not like I'm expecting a flood of pull requests. Enjoy, or don't. Up to you.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdikkadev%2Fconv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdikkadev%2Fconv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdikkadev%2Fconv/lists"}