{"id":18743983,"url":"https://github.com/at1as/financialadvisor","last_synced_at":"2025-11-22T01:30:16.278Z","repository":{"id":78922937,"uuid":"107371463","full_name":"at1as/FinancialAdvisor","owner":"at1as","description":"Reveal the best combination of items to purchase given a certain budget","archived":false,"fork":false,"pushed_at":"2017-10-18T07:15:09.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T19:47:56.201Z","etag":null,"topics":["budget","optimization","purchase","ruby","script"],"latest_commit_sha":null,"homepage":null,"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/at1as.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}},"created_at":"2017-10-18T07:10:09.000Z","updated_at":"2017-10-23T03:12:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9a528dc-7338-4e29-b9e7-06426a47caba","html_url":"https://github.com/at1as/FinancialAdvisor","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"3b942b031e22fbd8377a2ce48405261de9541a19"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at1as%2FFinancialAdvisor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at1as%2FFinancialAdvisor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at1as%2FFinancialAdvisor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at1as%2FFinancialAdvisor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/at1as","download_url":"https://codeload.github.com/at1as/FinancialAdvisor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627300,"owners_count":19670844,"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":["budget","optimization","purchase","ruby","script"],"created_at":"2024-11-07T16:13:20.273Z","updated_at":"2025-11-22T01:30:13.969Z","avatar_url":"https://github.com/at1as.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Financial Advisor\n\nQuick script to reveal the best combination of items to purchase given a certain budget\n\n*WORK IN PROGRESS*\n\n### Output\n\n```\natlas$ ruby run.rb \n\nBudget: $30.0\n\n\n#### Best Options by Price:\n\n$29.99 : 2 books   ==\u003e   \"Play Bigger: How Pirates, Dreamers, and Innovators Create and Dominate Markets\" ($16.0), \"The Innovators\" ($13.99)\n$29.99 : 2 books   ==\u003e   \"Play Bigger: How Pirates, Dreamers, and Innovators Create and Dominate Markets\" ($16.0), \"The Inevitable\" ($13.99)\n$29.98 : 2 books   ==\u003e   \"Homo Deus\" ($17.99), \"The Next America: Boomers, Millennials and the Looming Generational Slowdown\" ($11.99)\n$29.98 : 2 books   ==\u003e   \"A Piece of the Sun\" ($10.99), \"An Extraordinary Time: The End of the Postwar Boom and the Return to the Ordinary Economy\" ($18.99)\n$29.98 : 2 books   ==\u003e   \"Homo Deus\" ($17.99), \"The Bed of Procrustes\" ($11.99)\n$29.98 : 2 books   ==\u003e   \"A Universe From Nothing\" ($11.99), \"Homo Deus\" ($17.99)\n\n\n#### Best Options by Number of Books Purchased:\n\n$29.89 : 3 books   ==\u003e   \"A Piece of the Sun\" ($10.99), \"Astrophysics for People in a Hurry\" ($8.91), \"Thinking, Fast and Slow\" ($9.99)\n$24.98 : 2 books   ==\u003e   \"The Everything Store\" ($12.99), \"The Next America: Boomers, Millennials and the Looming Generational Slowdown\" ($11.99)\n$27.99 : 2 books   ==\u003e   \"End of the Asian Century\" ($15.0), \"The Everything Store\" ($12.99)\n$26.98 : 2 books   ==\u003e   \"The Everything Store\" ($12.99), \"The Inevitable\" ($13.99)\n$23.98 : 2 books   ==\u003e   \"A Piece of the Sun\" ($10.99), \"The Everything Store\" ($12.99)\n$24.98 : 2 books   ==\u003e   \"A Universe From Nothing\" ($11.99), \"The Everything Store\" ($12.99)\n\n```\n\n\n### Details\n\n* Built on Ruby 2.4.0 on MacOS\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fat1as%2Ffinancialadvisor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fat1as%2Ffinancialadvisor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fat1as%2Ffinancialadvisor/lists"}