{"id":26715702,"url":"https://github.com/fmaclen/rule-of-three","last_synced_at":"2026-01-07T11:05:06.237Z","repository":{"id":45407943,"uuid":"308080617","full_name":"fmaclen/rule-of-three","owner":"fmaclen","description":"A tiny direct proportion calculator for macOS","archived":false,"fork":false,"pushed_at":"2023-11-18T14:18:35.000Z","size":976,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T23:42:34.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://fernando.is","language":"HTML","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/fmaclen.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}},"created_at":"2020-10-28T16:42:45.000Z","updated_at":"2023-03-07T14:51:33.000Z","dependencies_parsed_at":"2023-11-18T15:28:48.314Z","dependency_job_id":"9f756b6d-a6ab-4774-9f10-b784c63f3aad","html_url":"https://github.com/fmaclen/rule-of-three","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmaclen%2Frule-of-three","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmaclen%2Frule-of-three/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmaclen%2Frule-of-three/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmaclen%2Frule-of-three/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmaclen","download_url":"https://codeload.github.com/fmaclen/rule-of-three/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245863616,"owners_count":20684889,"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":"2025-03-27T14:35:03.457Z","updated_at":"2026-01-07T11:05:06.190Z","avatar_url":"https://github.com/fmaclen.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rule-of-three\n**A tiny direct proportion calculator for macOS that runs in the tray bar.**\n\n\u003cimg width=\"320\" alt=\"Screen Shot 2021-12-15 at 9 27 43 AM\" src=\"https://user-images.githubusercontent.com/1434675/146187439-74abc918-a8c7-4778-852a-02069f388b52.png\"\u003e \u003cimg width=\"320\" alt=\"Screen Shot 2021-12-15 at 9 27 49 AM\" src=\"https://user-images.githubusercontent.com/1434675/146187442-2f75d004-4113-4d8f-9f71-511a5cb9c639.png\"\u003e\n\nThe rule of three is used to calculate the corresponding values proportionally.\n\nIt is also known as **Direct Proportion**, which means that any increase in the known values increases the unknown value at the same rate.\nThis _Direct Proportion_ or _Rule of three_ calculation uses the formula: `(y * b) / a = x`\n\n### Example\nConsidering `2kg (a)` of flour is worth `$5 (b)`\nWhat's the cost of `5kgs (y)` of flour at the same rate? `Answer = (x)`\n\n`(5kg * $5) / 2kg = $12.5`\n\n### History\nLearn more about the **Rule of Three** (Cross-multiplication) on [Wikipedia](https://en.wikipedia.org/wiki/Cross-multiplication#Rule_of_Three)\n\n### About this project\nJust an excuse app to get familiarized with [Electron](https://www.electronjs.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmaclen%2Frule-of-three","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmaclen%2Frule-of-three","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmaclen%2Frule-of-three/lists"}