{"id":32713382,"url":"https://github.com/wizzfi1/wisdom-flask","last_synced_at":"2026-04-07T08:02:03.619Z","repository":{"id":303796487,"uuid":"1016655416","full_name":"wizzfi1/Wisdom-Flask","owner":"wizzfi1","description":"CI/CD Flask app with GitHub Actions \u0026 Docker, deployed to AWS EC2 via SSH","archived":false,"fork":false,"pushed_at":"2025-07-21T11:09:44.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-21T13:08:25.321Z","etag":null,"topics":["aws","ci-cd","cloud-engineering","devops","docker","flask","github-actions","python"],"latest_commit_sha":null,"homepage":"http://51.21.196.52:5000","language":"Nix","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/wizzfi1.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}},"created_at":"2025-07-09T10:27:54.000Z","updated_at":"2025-07-21T11:09:47.000Z","dependencies_parsed_at":"2025-07-09T13:45:04.353Z","dependency_job_id":"a87db17c-b340-4187-9c50-95071bb195ea","html_url":"https://github.com/wizzfi1/Wisdom-Flask","commit_stats":null,"previous_names":["wizzfi1/wisdom-flask"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wizzfi1/Wisdom-Flask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizzfi1%2FWisdom-Flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizzfi1%2FWisdom-Flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizzfi1%2FWisdom-Flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizzfi1%2FWisdom-Flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wizzfi1","download_url":"https://codeload.github.com/wizzfi1/Wisdom-Flask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizzfi1%2FWisdom-Flask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aws","ci-cd","cloud-engineering","devops","docker","flask","github-actions","python"],"created_at":"2025-11-02T10:07:00.132Z","updated_at":"2026-04-07T08:02:03.613Z","avatar_url":"https://github.com/wizzfi1.png","language":"Nix","readme":"# 🧠 Wisdom Flask · GitHub → Docker Hub → AWS EC2 🚀\n\nA lightweight Flask web application containerized with Docker, auto-built via GitHub Actions, and deployed to an AWS EC2 instance through secure SSH-based CI/CD.\n\n---\n\nThis project demonstrates a complete DevOps deployment pipeline:\n\n- ✅ Python Flask web application\n- ✅ Dockerized with a lightweight, production-ready image\n- ✅ GitHub Actions workflow that automates deployment\n- ✅ Secure SSH-based delivery to AWS EC2 on every push\n- ✅ Publicly accessible at: http://51.21.196.52:5000\n\n\u003e 🛠️ CI/CD without clickops. Just code → deploy.\n\n---\n\n### 🔗 Live Project Links\n\n- 🧠 **Live App**: http://51.21.196.52:5000  \n- 📦 **Docker Image**: [Docker Hub Repo](https://hub.docker.com/r/\u003cyourdockerhub\u003e/wisdom-flask)  \n- 🧰 **Deployed via**: [GitHub Actions Workflow](.github/workflows/deploy-to-ec2.yml)\n\n---\n\n### 💡 What This Proves\n\n- You understand CI/CD workflows **beyond tutorials**\n- You can securely automate production-like infrastructure\n- You’re capable of cloud deployment with industry tools\n\n---\n\n\n## 🐳 Run Locally\n\n### Clone the repo:\n\ngit clone https://github.com/wizzfi1/wisdom-flask.git\ncd wisdom-flask\n\nBuild and run:\n\ndocker build -t wisdom-flask .\ndocker run -p 5000:5000 wisdom-flask\nThen open http://localhost:5000\n\n🔁 CI/CD: GitHub Actions → AWS EC2\nThis project uses GitHub Actions to deploy automatically to an EC2 instance on every push to main.\n\n🔐 Secrets Used:\nEC2_HOST → your EC2 public IP\n\nEC2_SSH_KEY → your private SSH key (added via GitHub Secrets)\n\n💻 Workflow File:\n\n.github/workflows/deploy-to-ec2.yml\nWhat it does:\nConnects to EC2 using SSH\n\nPulls the latest Docker image from Docker Hub\n\nStops and replaces the running container\n\n\n## 📸 Screenshot\n\n![Flask App Screenshot](./screenshot.PNG)\n\n\n## 🧱 Project Structure\n\n```text\nwisdom-flask/\n├── app.py\n├── Dockerfile\n├── requirements.txt\n├── README.md\n├── .dockerignore\n└── .github/\n    └── workflows/\n        └── deploy-to-ec2.yml\n\n\n💡 DevOps Stack Used\n\n| Category         | Tool               |\n| ---------------- | ------------------ |\n| Language         | Python (Flask)     |\n| Containerization | Docker             |\n| CI/CD            | GitHub Actions     |\n| Cloud Hosting    | AWS EC2 (Ubuntu)   |\n| Deployment       | Docker Run via SSH |\n\n\n⭐ Don't forget to star the repo if this helped you!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwizzfi1%2Fwisdom-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwizzfi1%2Fwisdom-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwizzfi1%2Fwisdom-flask/lists"}