{"id":20789552,"url":"https://github.com/victorqribeiro/budget","last_synced_at":"2025-05-05T19:44:56.210Z","repository":{"id":128646741,"uuid":"153035403","full_name":"victorqribeiro/budget","owner":"victorqribeiro","description":"A simply budget app that predicts where the expenses are being made","archived":false,"fork":false,"pushed_at":"2018-10-19T05:27:49.000Z","size":506,"stargazers_count":106,"open_issues_count":0,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-30T23:11:15.391Z","etag":null,"topics":["app","budget","budget-manager","budgeting","javascript","k-nearest-neighbours","knn","machine-learning","machine-learning-algorithms"],"latest_commit_sha":null,"homepage":"https://victorribeiro.com/budget","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victorqribeiro.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-15T01:18:54.000Z","updated_at":"2025-03-20T13:06:49.000Z","dependencies_parsed_at":"2023-04-15T20:57:01.921Z","dependency_job_id":null,"html_url":"https://github.com/victorqribeiro/budget","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2Fbudget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2Fbudget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2Fbudget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2Fbudget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorqribeiro","download_url":"https://codeload.github.com/victorqribeiro/budget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252564265,"owners_count":21768625,"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":["app","budget","budget-manager","budgeting","javascript","k-nearest-neighbours","knn","machine-learning","machine-learning-algorithms"],"created_at":"2024-11-17T15:24:53.663Z","updated_at":"2025-05-05T19:44:56.197Z","avatar_url":"https://github.com/victorqribeiro.png","language":"JavaScript","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=victorqribeiro%40gmail%2ecom\u0026lc=BR\u0026item_name=Victor%20Ribeiro\u0026item_number=donation\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted"],"categories":[],"sub_categories":[],"readme":"# Budget\n\n#### A smart budgeting app that that predicts the location of the expense being made.\n\nBudget is a JavaScript toy app that implements a [KNN](https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm) to predict where the expense is being made. \n\n![](budget.gif)\n\nAn online version is hosted [here](https://victorribeiro.com/budget/). You can add it to your phone as an app, if you like.\n\nIt uses the day of the week, the hour of the day and the value of the expense as features to predict the location of the purchase. \nIts a toy app because it stores data in the localStorage of the browser. Its not reliable or robust and the code is a bit messy; it was made as an exercise (or proof of concept) after a machine learning class.\n\nThe app was written in portuguese, but a quick hack was made to accept other languages. Right now you can choose between english and Brazilian portuguese.\n\n## How to Translate\n\nMake a copy of the en.json file and replace the sentences, translating to the desired language. After that, change the variable `langSetting` in js/main.js to the name of the json file you made:\n\n```javascript\nlet langSetting = 'js/en.json';\n```\n\n[![Donations](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=victorqribeiro%40gmail%2ecom\u0026lc=BR\u0026item_name=Victor%20Ribeiro\u0026item_number=donation\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorqribeiro%2Fbudget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorqribeiro%2Fbudget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorqribeiro%2Fbudget/lists"}