{"id":35734284,"url":"https://github.com/openfactoryio/openfactory-virtual-assets","last_synced_at":"2026-05-22T22:02:20.678Z","repository":{"id":312176033,"uuid":"1046547311","full_name":"openfactoryio/openfactory-virtual-assets","owner":"openfactoryio","description":"A collection of virtual OpenFactory Assets","archived":false,"fork":false,"pushed_at":"2026-05-02T00:07:44.000Z","size":127,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-02T02:22:23.085Z","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/openfactoryio.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-08-28T21:07:59.000Z","updated_at":"2026-05-02T00:07:48.000Z","dependencies_parsed_at":"2026-03-08T00:00:56.135Z","dependency_job_id":null,"html_url":"https://github.com/openfactoryio/openfactory-virtual-assets","commit_stats":null,"previous_names":["openfactoryio/openfactory-virtual-assets"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/openfactoryio/openfactory-virtual-assets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfactoryio%2Fopenfactory-virtual-assets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfactoryio%2Fopenfactory-virtual-assets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfactoryio%2Fopenfactory-virtual-assets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfactoryio%2Fopenfactory-virtual-assets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openfactoryio","download_url":"https://codeload.github.com/openfactoryio/openfactory-virtual-assets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfactoryio%2Fopenfactory-virtual-assets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32626501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: 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":"2026-01-06T12:10:52.818Z","updated_at":"2026-05-04T22:02:08.590Z","avatar_url":"https://github.com/openfactoryio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenFactory Virtual Assets\n[![version](https://img.shields.io/github/release/openfactoryio/openfactory-core.svg?color=blue)](https://github.com/openfactoryio/openfactory-virtual-assets/releases)\n[![Dev Container Ready](https://img.shields.io/badge/devcontainer-ready-green?logo=visualstudiocode\\\u0026labelColor=2c2c2c)](.devcontainer/README.md) \u003cimg src=\"https://img.shields.io/badge/python-3.13-blue?logo=python\u0026logoColor=white\" alt=\"Python Version\" /\u003e\n![License](https://img.shields.io/github/license/openfactoryio/openfactory-virtual-assets?style=flat-square)\n\nA collection of virtual assets for OpenFactory. Each asset simulates a device and can be used for testing, development, or demonstration purposes.\n\nVirtual assets are organized in `virtual_assets/`, and each asset has its own subdirectory with source code, a `Dockerfile`, and a README explaining its configuration and usage.\n\n## 🚀 Quick Start\n\nDeploying a virtual asset involves **two simple steps**:\n\n1. **Create a configuration file**\n   Write a YAML file that defines the virtual device and its adapter. You can base it on the example provided in the asset’s README. For example, for the temperature sensor:\n\n   ```yaml\n   devices:\n     vtempsens:\n       uuid: VIRTUAL-TEMP-SENS-002\n       connector:\n         type: mtconnect\n         agent:\n           port: 2102\n           device_xml: github://openfactoryio:openfactory-virtual-assets@/virtual_assets/temp_sensor/device.xml\n           adapter:\n             image: ghcr.io/openfactoryio/virtual-temp-sensor:${OPENFACTORY_VERSION}\n             port: 7878\n             environment:\n               - SLEEP_INTERVAL=4.0\n               - MIN_TEMP=200\n               - MAX_TEMP=220\n               - ADAPTER_PORT=7878\n   ```\n\n   Save this file as `temp_sensor.yml` (or any name you prefer).\n\n2. **Deploy the virtual asset in OpenFactory**\n\n   ```bash\n   ofa device up temp_sensor.yml\n   ```\n\nOpenFactory will automatically build and deploy the virtual asset based on this configuration.\n\n## 🤝 Contributing\n\nContributions are welcome! Please follow these guidelines:\n\n* Add new virtual assets in their own subdirectory under `virtual_assets/`.\n* Include a README for each asset explaining configuration and deployment.\n\n## 🛠 Development\n\n### 🧪 Install for Development\n\nInstall in editable mode with development tools:\n\n```bash\npip install -e .[dev]\n```\n\n\u003e 🔧 For a zero-configuration local dev environment using Docker and VS Code, see [Development Container Setup](.devcontainer/README.md)\n\n### 💻 CLI Commands\n\nUse the `ofa` command for deploying and managing virtual assets.\n\n### ✅ Code Quality\n\nRun linting checks with:\n\n```bash\nflake8 .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfactoryio%2Fopenfactory-virtual-assets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenfactoryio%2Fopenfactory-virtual-assets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfactoryio%2Fopenfactory-virtual-assets/lists"}