{"id":24324812,"url":"https://github.com/biotinker/viam-camera-host","last_synced_at":"2025-07-16T15:37:02.116Z","repository":{"id":218562851,"uuid":"746761550","full_name":"biotinker/viam-camera-host","owner":"biotinker","description":"A Viam module to host a camera image via http","archived":false,"fork":false,"pushed_at":"2024-07-17T15:48:33.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T20:02:23.076Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/biotinker.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}},"created_at":"2024-01-22T16:15:47.000Z","updated_at":"2024-07-17T15:48:12.000Z","dependencies_parsed_at":"2024-01-22T20:25:51.806Z","dependency_job_id":"6b94cae7-4151-42bb-af0f-6d4c81f64999","html_url":"https://github.com/biotinker/viam-camera-host","commit_stats":null,"previous_names":["biotinker/viam-camera-host"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biotinker%2Fviam-camera-host","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biotinker%2Fviam-camera-host/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biotinker%2Fviam-camera-host/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biotinker%2Fviam-camera-host/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biotinker","download_url":"https://codeload.github.com/biotinker/viam-camera-host/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242973963,"owners_count":20215245,"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-01-17T20:00:51.727Z","updated_at":"2025-03-11T04:44:08.247Z","avatar_url":"https://github.com/biotinker.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# viam-camera-host\nA Viam module for hosting the image returned by a Viam camera via http\n\nThis module will start a simple HTTP server on the designated port, and will host a temp directory whose contents will be an image named `current.jpg`. This image will be updated with the current output of a Viam camera at a user defined cadence (default 5 seconds).\n\n## Setup\n\nAdd the module to your robot from the Viam registry. The component may then be added to your configuration as follows\n\n```\n  ...\n  \"components\": [\n    ...,\n    {\n      \"name\": \"componentNameHere\",\n      \"model\": \"biotinker:generic:camerahost\",\n      \"type\": \"generic\",\n      \"namespace\": \"biotinker\",\n      \"attributes\": {\n        \"port\": 9003,\n        \"camera\": \"cameraName\"\n      },\n      \"depends_on\": [\n        \"cameraName\"\n      ],\n    },\n    ...,\n  ],\n  ...\n```\n\nThe `camera` field must be the name of the camera to host and is required. The `port` field is the port on which the http server should run an is required. The `refresh` field is optional and specifies the number of seconds between image updates. If absent, or less than or equal to 0, will default to 5.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiotinker%2Fviam-camera-host","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiotinker%2Fviam-camera-host","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiotinker%2Fviam-camera-host/lists"}