{"id":15770019,"url":"https://github.com/djdefi/trailer_weight","last_synced_at":"2026-01-04T20:03:03.524Z","repository":{"id":72118048,"uuid":"463436334","full_name":"djdefi/trailer_weight","owner":"djdefi","description":"Ruby script to calculate towing capacity","archived":false,"fork":false,"pushed_at":"2024-07-23T19:38:40.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-11T14:57:35.056Z","etag":null,"topics":["ford","towing","truck"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/djdefi.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":"2022-02-25T07:19:57.000Z","updated_at":"2024-07-23T19:38:43.000Z","dependencies_parsed_at":"2024-01-11T06:38:30.844Z","dependency_job_id":"c9becdf4-0a32-4ffa-87e4-c8c8e6d24430","html_url":"https://github.com/djdefi/trailer_weight","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":"0.11111111111111116","last_synced_commit":"44f6c3cb7adc5230f058e38ae11d93abb371bc9a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djdefi%2Ftrailer_weight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djdefi%2Ftrailer_weight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djdefi%2Ftrailer_weight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djdefi%2Ftrailer_weight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djdefi","download_url":"https://codeload.github.com/djdefi/trailer_weight/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706545,"owners_count":20496571,"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":["ford","towing","truck"],"created_at":"2024-10-04T14:21:33.001Z","updated_at":"2026-01-04T20:03:03.458Z","avatar_url":"https://github.com/djdefi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trailer_weight\nRuby script to calculate towing capacity.\n\nGuidance is for Ford's F-150, but may be applicable elsewhere. Not official advice or affliciated with Ford. Please consult your owners manual for information on your vehicle's limits.\n\n## Usage:\n\n```bash\n$ ruby trailer_weight.rb -h\nUsage: trailer_weight.rb [options]\n    -c, --cargo=VAL                  Comma separated list of cargo weights. Default = 210,180,40,125\n    -m, --max-weight=VAL             Max combined weight of cargo and occupants. Default = 1500\n    -g, --gross-vehicle-weight=VAL   Gross vehicle weight GVWR. Default = max-weight\n    -v, --verbose                    Run verbosely\n    -h, --help                       Show this message\n```\n\n## Example outputs:\n\n```bash\n$ ruby trailer_weight.rb -m 1198 -g 7350 -c 210,180,45,50 -v\nMax towable gross trailer weight: 5485\nLoaded Truck weight: 6637\nRemaining weight: 713\nCombined cargo weight: 485\nMax combined weight: 1198\nGross vehicle weight: 7350\n```\n\n```bash\nruby trailer_weight.rb -m 1650 -g 7100 -c 210,180,45,50 -v\nMax towable gross trailer weight: 8962\nLoaded Truck weight: 5935\nRemaining weight: 1165\nCombined cargo weight: 485\nMax combined weight: 1650\nGross vehicle weight: 7100\n```\n\n## Where to find max-weight and gross-vehicle-weight on F-150\n\nExpected in lbs.\n\n### max-weight:\n\n\"The combined weight of occupants and cargo should never exceed:\"\n\n![Ford F-150 Door sticker denoting the combined weight of occupants and cargo should never exceed value](https://user-images.githubusercontent.com/3662109/155672964-27079650-7d75-42ea-86d0-d3b0684bbed2.png)\n\n### gross-vehicle-weight (GVWR)\n\nBelow `MFD. BY FORD MOTOR CO.`:\n\n![Ford F-150 Door dticker denoting the GVWR](https://user-images.githubusercontent.com/3662109/155672961-141c8e35-f053-4d36-8da7-89de5522174c.png)\n\n## Web Interface\n\nYou can also use the Trailer Weight Calculator through a web interface. The web interface allows you to input cargo weights, max weight, and gross vehicle weight, and calculates the trailer weight for you.\n\nAccess the web interface here: [Trailer Weight Calculator](https://your-github-username.github.io/trailer_weight/)\n\n### Instructions for using the web interface:\n\n1. Open the [Trailer Weight Calculator](https://your-github-username.github.io/trailer_weight/) in your web browser.\n2. Enter the cargo weights as a comma-separated list in the \"Cargo Weights\" field.\n3. Enter the max combined weight in the \"Max Combined Weight\" field.\n4. Enter the gross vehicle weight in the \"Gross Vehicle Weight\" field.\n5. Click the \"Calculate\" button to see the results.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdefi%2Ftrailer_weight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjdefi%2Ftrailer_weight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdefi%2Ftrailer_weight/lists"}