{"id":26449312,"url":"https://github.com/hrosicka/flaskcatguru","last_synced_at":"2026-07-01T22:31:30.176Z","repository":{"id":282772619,"uuid":"949608248","full_name":"hrosicka/FlaskCatGuru","owner":"hrosicka","description":"Customize your cat guru with a click! This web app, built with Python and Flask, lets you change avatars, backgrounds, and fetch cat facts – because life's too short for boring web pages.","archived":false,"fork":false,"pushed_at":"2025-10-26T14:48:36.000Z","size":1224,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T16:32:25.322Z","etag":null,"topics":["catfactsapi","flask","flask-application","webapp"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hrosicka.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-16T20:26:41.000Z","updated_at":"2025-10-26T14:48:39.000Z","dependencies_parsed_at":"2025-04-18T20:35:36.717Z","dependency_job_id":"dbb6e495-9912-4e65-8865-4170b43b141f","html_url":"https://github.com/hrosicka/FlaskCatGuru","commit_stats":null,"previous_names":["hrosicka/flaskcatguru"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hrosicka/FlaskCatGuru","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrosicka%2FFlaskCatGuru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrosicka%2FFlaskCatGuru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrosicka%2FFlaskCatGuru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrosicka%2FFlaskCatGuru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrosicka","download_url":"https://codeload.github.com/hrosicka/FlaskCatGuru/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrosicka%2FFlaskCatGuru/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35025980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["catfactsapi","flask","flask-application","webapp"],"created_at":"2025-03-18T14:54:17.136Z","updated_at":"2026-07-01T22:31:30.171Z","avatar_url":"https://github.com/hrosicka.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cat Guru\n\n![Python](https://img.shields.io/badge/Made%20with-Python-3776AB?logo=python\u0026logoColor=white)\n![Flask](https://img.shields.io/badge/Powered%20by-Flask-000000?logo=flask)\n![MIT License](https://img.shields.io/badge/License-MIT-green.svg)\n![Cat Facts API](https://img.shields.io/badge/API-Cat%20Facts-ffb347?logo=cat)\n![Customize%20your%20Cat](https://img.shields.io/badge/Customize-your_Cat!-purple?logo=github)\n![Not%20for%20dogs](https://img.shields.io/badge/Not%20for%20dogs-%F0%9F%90%B1-red)\n![100% Catitude](https://img.shields.io/badge/100%25-Catitude-orange?logo=github)\n![Zero%20Boring%20Webpages](https://img.shields.io/badge/Zero-Boring%20Webpages-blue?logo=smashingmagazine)\n\nThis is a simple Flask web application that provides cat wisdom and allows users to change the avatar and background color. Based on Cat Facts API: https://catfact.ninja/fact.\n\n![](https://github.com/hrosicka/FlaskCatGuru/blob/master/doc/CatGuru1.png)\n\n## Features\n\n-   Displays a random cat avatar.\n-   Provides a random cat fact as \"wisdom\" fetched from an external API.\n-   Allows users to change the cat avatar.\n-   Allows users to change the background color.\n-   Logs application events and errors.\n\n## Prerequisites\n\n-   Python 3.6 or later\n-   Flask\n-   Requests\n\n## Installation\n\n1.  Clone the repository:\n\n    ```bash\n    git clone \u003crepository_url\u003e\n    cd \u003crepository_directory\u003e\n    ```\n\n2.  Create a virtual environment (recommended):\n\n    ```bash\n    python -m venv venv\n    source venv/bin/activate  # On Linux/macOS\n    venv\\Scripts\\activate  # On Windows\n    ```\n\n3.  Install the required packages:\n\n    ```bash\n    pip install Flask requests\n    ```\n\n## Configuration\n\nThe application's configuration is stored in the `config.py` file.\n\n-   `AVATARS`: A list of file paths to the cat avatar images.\n-   `BACKGROUND_COLORS`: A list of background color hex codes.\n-   `MAX_WISDOM_LINE_LENGTH`: The maximum length of a line in the wisdom text.\n-   `LOG_FILE`: The path to the log file.\n\nYou can modify these values to customize the application.\n\n## Running the Application\n\nTo run the application, execute the following command:\n\n```bash\npython app.py\n```\n\n## Author\n\nLovingly crafted by [Hanka Robovska](https://github.com/hrosicka) 👩‍🔬\n\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details. Free to use, modify, and distribute as needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrosicka%2Fflaskcatguru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrosicka%2Fflaskcatguru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrosicka%2Fflaskcatguru/lists"}