{"id":31588518,"url":"https://github.com/duylinhphan123/wokwi_autoscript","last_synced_at":"2026-05-15T13:06:59.393Z","repository":{"id":316692007,"uuid":"1064472510","full_name":"duylinhphan123/wokwi_autoscript","owner":"duylinhphan123","description":" Wokwi CLI - Self-contained executable for STM32/ESP32 firmware scanning and Wokwi diagram downloading. No Python required!","archived":false,"fork":false,"pushed_at":"2025-09-30T08:47:03.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-06T02:24:44.638Z","etag":null,"topics":["automation","cli","embedded","esp32","firmware","iot","microcontroller","simulation","stm32","wokwi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duylinhphan123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-26T05:00:17.000Z","updated_at":"2025-09-26T05:04:40.000Z","dependencies_parsed_at":"2025-09-26T06:20:04.439Z","dependency_job_id":"7b2306a8-d2a1-4b93-8bc1-a611f718e759","html_url":"https://github.com/duylinhphan123/wokwi_autoscript","commit_stats":null,"previous_names":["duylinhphan123/wokwi_autoscript"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/duylinhphan123/wokwi_autoscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duylinhphan123%2Fwokwi_autoscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duylinhphan123%2Fwokwi_autoscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duylinhphan123%2Fwokwi_autoscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duylinhphan123%2Fwokwi_autoscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duylinhphan123","download_url":"https://codeload.github.com/duylinhphan123/wokwi_autoscript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duylinhphan123%2Fwokwi_autoscript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33067512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"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":["automation","cli","embedded","esp32","firmware","iot","microcontroller","simulation","stm32","wokwi"],"created_at":"2025-10-06T02:10:18.445Z","updated_at":"2026-05-15T13:06:59.380Z","avatar_url":"https://github.com/duylinhphan123.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wokwi CLI - Standalone Executable\n\n🚀 **Self-contained executable version of Wokwi CLI**\n\n## 📁 Files\n\n- **`wokwi.exe`** - Main executable (9.4 MB)\n- **`demo_test.cmd`** - Demo script to test all features\n- **`test_url.txt`** - Sample URL file for testing\n\n## 🎯 Usage\n\n### 💻 Basic Commands\n```cmd\n# Show version\nwokwi.exe version\n\n# Show help\nwokwi.exe help\n\n# Setup firmware (auto scan)\nwokwi.exe setup\n\n# Download diagram from url.txt\nwokwi.exe diagram\n\n# Download diagram from specific file\nwokwi.exe diagram ./my_url.txt\n\n# Download diagram from direct URL\nwokwi.exe diagram https://wokwi.com/projects/442394281549660161\n```\n\n### 🚀 Quick Start\n1. **Copy `wokwi.exe`** to your project directory\n2. **Run setup:** `wokwi.exe setup` to scan firmware\n3. **Download diagram:** `wokwi.exe diagram url.txt` if needed\n\n### 📋 Full Demo\n```cmd\n# Run demo test to see all features\ndemo_test.cmd\n```\n\n## 🌟 Features\n\n### ✅ **Universal Firmware Scanner**\n- 🔍 Auto scan STM32 (`Debug/` folders) \n- 🔍 Auto scan ESP32/PlatformIO (`.pio/build/` folders)\n- 🎯 Smart project detection\n- 📋 Multiple firmware groups support\n- 📝 Auto generate `wokwi.toml` with full info\n\n### ✅ **Wokwi Diagram Downloader** \n- 📦 Download `diagram.json` from Wokwi projects\n- 📁 Support file input (`./url.txt`)\n- 🌐 Support direct URL input\n- 📊 Show diagram statistics\n\n### ✅ **File Input Support**\n```cmd\n# File input examples\nwokwi.exe diagram ./project_url.txt\nwokwi.exe diagram ../configs/wokwi_url.txt\nwokwi.exe diagram https://wokwi.com/projects/123456789\n\n# URL file format (any of these formats):\nhttps://wokwi.com/projects/442394281549660161\n442394281549660161\n```\n\n## 🛠️ Technical Details\n\n- **Size:** ~9.4 MB (standalone, no Python required)\n- **Platform:** Windows 64-bit\n- **Dependencies:** None (self-contained)\n- **Python version:** Built with Python 3.13.7\n- **Build tool:** PyInstaller 6.16.0\n\n## 🎪 Advanced Examples\n\n### Automation Scripts\n```cmd\nREM Batch script automation\nwokwi.exe setup\nif %errorlevel% equ 0 (\n    echo Setup successful!\n    wokwi.exe diagram\n) else (\n    echo Setup failed!\n)\n```\n\n### Multiple Projects\n```cmd\nREM Project A\ncd ProjectA\nwokwi.exe setup\nwokwi.exe diagram project_a_url.txt\n\nREM Project B  \ncd ..\\ProjectB\nwokwi.exe setup\nwokwi.exe diagram project_b_url.txt\n```\n\n## 🆚 Comparison with Python Scripts\n\n| Feature | wokwi.exe | Python Scripts |\n|---------|-----------|----------------|\n| **Installation** | ✅ Ready-to-use | ❌ Requires Python |\n| **Dependencies** | ✅ Self-contained | ❌ Need libraries |\n| **Size** | ⚠️ 9.4 MB | ✅ \u003c100 KB |\n| **Startup** | ⚠️ ~2-3s | ✅ Instant |\n| **Portability** | ✅ Runs anywhere | ❌ Need Python env |\n| **File Input** | ✅ Full support | ⚠️ Limited |\n\n## 🔧 Troubleshooting\n\n### ❌ \"Windows protected your PC\"\n**Solution:** Click \"More info\" → \"Run anyway\"\n\n### ❌ Slow startup\n**Reason:** PyInstaller extracting libraries on first run\n**Solution:** Wait 2-3 seconds for first run\n\n### ❌ Antivirus false positive\n**Solution:** Add wokwi.exe to whitelist\n\n## 📝 Changelog\n\n### v2.0 - Standalone Executable\n- ➕ Self-contained executable\n- ➕ File input support (`wokwi diagram ./file.txt`)\n- ➕ Direct URL support (`wokwi diagram https://...`)\n- ➕ Embedded firmware scanner \u0026 diagram downloader\n- ➕ No external dependencies\n- ➕ Professional CLI interface\n\n---\n\n**🎉 Ready to use! Just run `wokwi.exe help` to get started**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduylinhphan123%2Fwokwi_autoscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduylinhphan123%2Fwokwi_autoscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduylinhphan123%2Fwokwi_autoscript/lists"}