{"id":16245946,"url":"https://github.com/flabbet/unitsman","last_synced_at":"2026-05-15T23:12:17.867Z","repository":{"id":40900259,"uuid":"228703345","full_name":"flabbet/Unitsman","owner":"flabbet","description":"A smart Unit Converter","archived":false,"fork":false,"pushed_at":"2022-12-08T09:26:48.000Z","size":101,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T21:41:20.214Z","etag":null,"topics":["converter","dotnet-core","unit-converter"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/flabbet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-17T21:18:55.000Z","updated_at":"2020-02-10T10:49:11.000Z","dependencies_parsed_at":"2023-01-25T05:45:12.271Z","dependency_job_id":null,"html_url":"https://github.com/flabbet/Unitsman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flabbet/Unitsman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flabbet%2FUnitsman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flabbet%2FUnitsman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flabbet%2FUnitsman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flabbet%2FUnitsman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flabbet","download_url":"https://codeload.github.com/flabbet/Unitsman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flabbet%2FUnitsman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33082970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["converter","dotnet-core","unit-converter"],"created_at":"2024-10-10T14:28:48.697Z","updated_at":"2026-05-15T23:12:17.851Z","avatar_url":"https://github.com/flabbet.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://dev.azure.com/flabbet/Unitsman/_apis/build/status/flabbet.Unitsman?branchName=master)](https://dev.azure.com/flabbet/Unitsman/_build/latest?definitionId=2\u0026branchName=master)\n\n# What is Unitsman?\n\nUnitsman is a lightweighted program that deals very smartly with converting units.\n\n# Requirements\n\nUnitsman requires `.NET Core 3.1` installed.\nTo build, open .sln file in Visual Studio 2019 for example.\n\n# Usage\n\n`Unitsman \u003cvalue\u003e \u003cunit\u003e \u003ctargetUnit\u003e` for example\n`Unitsman 50 km m` - this will convert 50 kilometers to meters\n\nFor conversion precision use `-d \u003c0-15\u003e` or `--decimals \u003c0-15\u003e`\n\nNote: This is a CLI application so it needs to be run in command prompt or terminal\n\n# How smart is it?\n\nUnitsman analyzes unit files very deeply. If there isn't defined a unit but any other references to it, it gets converted. You can check this out by typing `5 \"nautical mile\" inch`, There isn't nautical mile in Units, but Meter unit is referencing to nautical mile, so it converts: inch -\u003e meter -\u003e nautical mile\n\nAlso you don't have to worry about SI prefixes. If there is meter defined, program automatically will recognize km, cm, mm etc. **make sure to use symbols, not names if using SI prefixes**.\n\nUnitsman also deals with complex conversions. At the moment you can smartly convert for example m/s to any length/time unit, you only have to make sure that there is meters per second defined in units, second type can be anything that matches same formula. \n\nFor now smart conversions only work for simpler complex types like meters per second. Of course if defined, any complex unit can be converted.\nTo try it out type `30 m/s in/ms`, this will convert 30 meters per second to inches per millisecond, inches can be anything, same as milliseconds.\n\n# Installing new units\n\nProgram loads units from Units folder. This folder contains .json files in which unit data is defined. To add new units simply copy json files with new units to Units folder.\n\n\n# Creating new Units\n\nUnits jsons are pretty simple to understand, check out existing ones for reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflabbet%2Funitsman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflabbet%2Funitsman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflabbet%2Funitsman/lists"}