{"id":27061339,"url":"https://github.com/muhammadsaim/flask-drowsiness-detection","last_synced_at":"2025-10-17T13:17:58.024Z","repository":{"id":285189989,"uuid":"681452064","full_name":"MuhammadSaim/flask-drowsiness-detection","owner":"MuhammadSaim","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-30T05:53:02.000Z","size":71791,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T06:24:43.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MuhammadSaim.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":"2023-08-22T03:42:31.000Z","updated_at":"2025-03-30T05:53:06.000Z","dependencies_parsed_at":"2025-03-30T06:35:42.515Z","dependency_job_id":null,"html_url":"https://github.com/MuhammadSaim/flask-drowsiness-detection","commit_stats":null,"previous_names":["muhammadsaim/flask-drowsiness-detection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammadSaim%2Fflask-drowsiness-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammadSaim%2Fflask-drowsiness-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammadSaim%2Fflask-drowsiness-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammadSaim%2Fflask-drowsiness-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuhammadSaim","download_url":"https://codeload.github.com/MuhammadSaim/flask-drowsiness-detection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247348904,"owners_count":20924614,"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":"2025-04-05T14:25:53.245Z","updated_at":"2025-10-17T13:17:57.942Z","avatar_url":"https://github.com/MuhammadSaim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Drowsiness Detection\n\n## Requirements\n- Python\n- Flask\n- Flask SQLAlchemy\n- Flask Migrate\n\n\n### Technologies\n\n![Python](https://img.shields.io/badge/Python-FFD43B?style=for-the-badge\u0026logo=python\u0026logoColor=blue)\n![Flask](https://img.shields.io/badge/Flask-000000?style=for-the-badge\u0026logo=flask\u0026logoColor=white)\n![PyPi](https://img.shields.io/badge/pypi-3775A9?style=for-the-badge\u0026logo=pypi\u0026logoColor=white)\n![MySQL](https://img.shields.io/badge/MySQL-005C84?style=for-the-badge\u0026logo=mysql\u0026logoColor=white)\n![PyCharm](https://img.shields.io/badge/PyCharm-000000.svg?\u0026style=for-the-badge\u0026logo=PyCharm\u0026logoColor=white)\n![jQuery](https://img.shields.io/badge/jQuery-0769AD?style=for-the-badge\u0026logo=jquery\u0026logoColor=white)\n![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white)\n![AJAX](https://img.shields.io/badge/ajax-000000?style=for-the-badge\u0026logo=ajax\u0026logoColor=white)\n![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge\u0026logo=javascript\u0026logoColor=black)\n![HTML5](https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge\u0026logo=html5\u0026logoColor=white)\n![SASS](https://img.shields.io/badge/Sass-CC6699?style=for-the-badge\u0026logo=sass\u0026logoColor=white)\n![OpenCV](https://img.shields.io/badge/opencv-F7DF1E?style=for-the-badge\u0026logo=opencv\u0026logoColor=red)\n\n\n### Configuration\n\n1. Clone the repo\n```shell\ngit clone git@github.com:MuhammadSaim/flask-drowsiness-detection.git\n```\n2. Step into folder\n```shell\ncd blog\n```\n3. Create virtual environment\n```shell\nvirtualenv venv \n```\n4. Activate the venv\n```shell\nsource venv/bin/activate\n```\n5. Install the dependencies\n```shell\npip install -r requirements.txt\n```\n\n6. Copy the \u003ckbd\u003e.env.example\u003c/kbd\u003e to \u003ckbd\u003e.env\u003c/kbd\u003e and setup your DB on \u003ckbd\u003e.env\u003c/kbd\u003e\n\n7. Setup the DB\n```.dotenv\nSQLALCHEMY_DATABASE_URI=\"mysql+mysqlconnector://DB_USERNAME:DB_PASSWORD@127.0.0.1:3306/DB_DATABASE\"\n```\n\n8. Run the migrations.\n```shell\nflask db upgrade\n```\n\n9. Install frontend dependencies\n```shell\n# if you have yarn\nyarn install\n\n# if you have npm\nnpm install\n```\n\n10. Build the assets\n```shell\n# if you have yarn\nyarn watch\n# or\nyarn dev\n\n# if you have npm\nnpm run watch\n# or\nnpm run dev\n```\n\n11. Run the flask app\n```shell\npython run.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammadsaim%2Fflask-drowsiness-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhammadsaim%2Fflask-drowsiness-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammadsaim%2Fflask-drowsiness-detection/lists"}