{"id":13397585,"url":"https://github.com/fuzzymannerz/Kitchen-Inventory","last_synced_at":"2025-03-14T00:32:29.370Z","repository":{"id":217049917,"uuid":"163346451","full_name":"fuzzymannerz/Kitchen-Inventory","owner":"fuzzymannerz","description":"A stock system for food and such.","archived":false,"fork":false,"pushed_at":"2018-12-30T15:12:20.000Z","size":381,"stargazers_count":55,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-07-31T18:20:50.190Z","etag":null,"topics":["food","inventory","kitchen","stock"],"latest_commit_sha":null,"homepage":"","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/fuzzymannerz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-12-28T00:06:11.000Z","updated_at":"2024-06-20T00:00:27.000Z","dependencies_parsed_at":"2024-01-18T10:19:00.218Z","dependency_job_id":"d6b00907-59f7-4d03-9fee-dac905f735e0","html_url":"https://github.com/fuzzymannerz/Kitchen-Inventory","commit_stats":null,"previous_names":["fuzzymannerz/kitchen-inventory"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuzzymannerz%2FKitchen-Inventory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuzzymannerz%2FKitchen-Inventory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuzzymannerz%2FKitchen-Inventory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuzzymannerz%2FKitchen-Inventory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fuzzymannerz","download_url":"https://codeload.github.com/fuzzymannerz/Kitchen-Inventory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243504825,"owners_count":20301511,"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":["food","inventory","kitchen","stock"],"created_at":"2024-07-30T18:01:32.891Z","updated_at":"2025-03-14T00:32:28.863Z","avatar_url":"https://github.com/fuzzymannerz.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# Kitchen Inventory\n\n**A stock system for food and such. Currently a work in progress.**  \n\n\n![](https://i.imgur.com/4YBlx2e.png)\n\n## Requirements\n- MySQL / MariaDB\n- Python 3 with...\n- Flask, flask-mysql, flask-basicauth, requests, configparser\n- Gunicorn (or similar)\n\n## Setup\n1. Create a MySQL database and user and grant it full access to said database.\n2. Import the `sqlSetup.sql` file to get it ready for the inventory.\n3. Fill in the DB details in `config.ini`.  \n4. If you wish to password protect the site fill in some login details in `config.ini` also:\n\n5. You can test the app by setting `active = True` under the `[testMode]` section of the `config.ini` file and then running `python3 inventory.py`.  \nYou can then access the site at http://localhost:5000.  \nIf you are running it on another machine change `127.0.0.1` to `0.0.0.0`.  \n_(Depending on your setup, you may also need to forward port 5000 if running it from another machine.)_\n\nIf you are to leave it running then it is recommended to use something like [Gunicorn](https://gunicorn.org/) to serve the files instead.  \nFor example: `gunicorn -b 0.0.0.0:5000 inventory:app --daemon`.\n\n## Removing Basic Auth Login\nIf you don't wish to have an auth login for the site you can remove it as follows:  \n1. Remove or comment out the following lines in `inventory.py`:  \n```\napp.config['BASIC_AUTH_USERNAME'] = config['basicAuth']['username']\napp.config['BASIC_AUTH_PASSWORD'] = config['basicAuth']['password']\napp.config['BASIC_AUTH_FORCE'] = config['basicAuth']['forceAuth']\nbasic_auth = BasicAuth(app)\n```  \nas well as all instances of `@basic_auth.required` in the same file.\n\n## Settings\nThere is a settings page accessible from `/settings` or by clicking the settings menu link.  \nHere you can change the title of the site as well as activate and deactivate a dark mode and disable manual barcode usage.  \n\n_More options will be here as the project develops._\n\n---\n\n## Contributions\nIf you feel you have something to add or make better or whatever feel free to contribute to the project by forking and submitting pull requests. There is also the [development branch](https://github.com/fuzzymannerz/Kitchen-Inventory/tree/development) which contains the latest ideas being worked on.  \nDon't use it though in production as it's most likely broken. ;)\n\n## Credits\nThis project utilises the following projects and technologies:\n- flask - http://flask.pocoo.org/\n- MaterializeCSS - http://materializecss.com/\n- Pixeden Foood Icons - http://themes-pixeden.com/font-demos/the-icons-set/food/\n- jQuery - https://code.jquery.com\n- Some other things that I've probably fogotten to list. :(\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuzzymannerz%2FKitchen-Inventory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuzzymannerz%2FKitchen-Inventory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuzzymannerz%2FKitchen-Inventory/lists"}