{"id":24756316,"url":"https://github.com/capcom6-learning/py-tube","last_synced_at":"2026-04-11T14:01:52.919Z","repository":{"id":114529546,"uuid":"432453249","full_name":"capcom6-learning/py-tube","owner":"capcom6-learning","description":"Example project from \"Bootstrapping Microservices with Docker, Kubernetes, and Terraform\" book","archived":false,"fork":false,"pushed_at":"2024-11-13T02:53:59.000Z","size":31060,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T16:24:17.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/capcom6-learning.png","metadata":{"files":{"readme":"README.md","changelog":"history/.dockerignore","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":"2021-11-27T12:20:17.000Z","updated_at":"2024-11-13T02:53:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ab93ded-6145-461d-806f-f80db1c5177f","html_url":"https://github.com/capcom6-learning/py-tube","commit_stats":null,"previous_names":["capcom6-learning/py-tube"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/capcom6-learning/py-tube","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capcom6-learning%2Fpy-tube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capcom6-learning%2Fpy-tube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capcom6-learning%2Fpy-tube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capcom6-learning%2Fpy-tube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capcom6-learning","download_url":"https://codeload.github.com/capcom6-learning/py-tube/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capcom6-learning%2Fpy-tube/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31682953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"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":[],"created_at":"2025-01-28T13:50:47.008Z","updated_at":"2026-04-11T14:01:52.902Z","avatar_url":"https://github.com/capcom6-learning.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyTube\n\nExample project from [\"Bootstrapping Microservices with Docker, Kubernetes, and Terraform\"](https://www.manning.com/books/bootstrapping-microservices-with-docker-kubernetes-and-terraform) book.\n\nBased on Python + Flask.\n\n## Microservices\n\nAt this moment (incomplete) project consists of 6 microservices, database and message broker:\n\n1. Video streaming service. Gets video id from query param, retrives video info from *metadata* service and pass video stream from *video storage* service to client.\n2. Video storage service. Uses Azure Blob storage for videos storage and returns stream by path for *video streaming* service.\n3. History service. Receives \"viewed\" events from *video streaming* service by *RabbitMQ* and puts it into *database*.\n4. MongoDB for storing data.\n5. RabbitMQ for indirect communications.\n6. Recommendations service. Receives \"viewed\" events by *RabbitMQ* and simply prints it to console.\n7. [Metadata service](./metadata/README.md). Provides video metadata to other services.\n8. Gateway service. Provides UI to users by fetching data from *metadata* service.\n\n![Architecture](./images/tube_service.png \"PyTube architecture\")\n\n## Requirements\n\n* docker\n* docker-compose\n\n### Optional\n\n* make\n\n## How to start?\n\nUse `make up` and `make down` to create and destroy containers.\n\nUse `make dev` for development with support of live reload by `watchgod`.\n\n## See also\n\n* Go + Fiber version: https://github.com/capcom6/go-tube\n* NodeJS + Express version: https://github.com/capcom6/node-tube\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapcom6-learning%2Fpy-tube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapcom6-learning%2Fpy-tube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapcom6-learning%2Fpy-tube/lists"}