{"id":19364315,"url":"https://github.com/orc/deckoffset","last_synced_at":"2025-07-26T12:40:10.276Z","repository":{"id":137107927,"uuid":"65149553","full_name":"Orc/deckoffset","owner":"Orc","description":"Calculate the deck offset needed to clear a given stem length","archived":false,"fork":false,"pushed_at":"2020-06-16T00:39:32.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-06T20:51:22.487Z","etag":null,"topics":[],"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/Orc.png","metadata":{"files":{"readme":"README","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":"2016-08-07T19:07:46.000Z","updated_at":"2016-08-07T19:45:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"b73d13dc-6d66-4a5b-ba60-c162a0866c9a","html_url":"https://github.com/Orc/deckoffset","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Orc%2Fdeckoffset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Orc%2Fdeckoffset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Orc%2Fdeckoffset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Orc%2Fdeckoffset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Orc","download_url":"https://codeload.github.com/Orc/deckoffset/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240483764,"owners_count":19808635,"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-11-10T07:37:02.029Z","updated_at":"2025-02-24T13:13:19.830Z","avatar_url":"https://github.com/Orc.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"This little program calculates how far forward from the stem the rear\nof a rack deck needs to be put so that an infinitely tall rectangular\nbag placed on it will not foul your handlebars.\n\nusage: deckoffset [-f] [-d deck-to-bolt drop] [-s stack] HTA ht-length [stem]\n\nIt subtracts (ht length + stack) * cos(hta) from the stem length;\nif the stem length is not supplied, it assumes 100mm; if the stack\nisn't provided, it assumes 35mm.   This program does not fudge the\nstem length for a handlebar gap, but it assumes a horizontal stem.\n\nIf you provide the deck to bolt drop (from the deck2bolt program),\ndeckoffset will appropriately fudge the offset to accomodate the\nstem falling backwards as the deck goes higher.\n\n\nThe calculation this program does is\n\nstem-length - (cos(hta) * (ht length + stack)) [ + (cos(hta) * deck-to-bolt) ]\n\nwith some sanity checking against hta (it won't allow \u003c 60 degrees),\nht length (it won't allow \u003c 30mm) or stem length (won't allow \u003c 30mm),\nthough you can force it to not do sanity checks by passing the -f option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forc%2Fdeckoffset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forc%2Fdeckoffset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forc%2Fdeckoffset/lists"}