{"id":31769207,"url":"https://github.com/second-state/yomo-flow-ssvm-example","last_synced_at":"2026-02-16T03:33:50.568Z","repository":{"id":98615678,"uuid":"333020907","full_name":"second-state/yomo-flow-ssvm-example","owner":"second-state","description":"Writing a YoMo-flow by SSVM","archived":false,"fork":false,"pushed_at":"2021-04-30T02:30:27.000Z","size":20075,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-10T02:42:55.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"yomorun/yomo-flow-ssvm-example","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/second-state.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":"2021-01-26T08:34:32.000Z","updated_at":"2023-08-21T09:42:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f2afdba-b3c1-4697-b53e-e025f172dc21","html_url":"https://github.com/second-state/yomo-flow-ssvm-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/second-state/yomo-flow-ssvm-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fyomo-flow-ssvm-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fyomo-flow-ssvm-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fyomo-flow-ssvm-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fyomo-flow-ssvm-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/second-state","download_url":"https://codeload.github.com/second-state/yomo-flow-ssvm-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/second-state%2Fyomo-flow-ssvm-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29499615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T02:07:14.481Z","status":"online","status_checked_at":"2026-02-16T02:03:22.852Z","response_time":115,"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":true,"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-10-10T02:41:59.021Z","updated_at":"2026-02-16T03:33:50.563Z","avatar_url":"https://github.com/second-state.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"![ssvm-yomo](https://raw.githubusercontent.com/yomorun/yomo-flow-ssvm-example/main/yomo-ssvm-2.png)\n\n# yomo-flow-ssvm-example\n\nThis examples represents how to write a [yomo-flow](https://yomo.run/flow) with [ssvm](https://www.secondstate.io/)\n\n## Compile wasm file\n\n```bash\n# Install ssvmup tool\ncurl https://raw.githubusercontent.com/second-state/ssvmup/master/installer/init.sh -sSf | sh\n\ncd triple\nssvmup build\n```\n\nwill get the wasm file at `triple/pkg/` directory\n\n```bash\nΞ tmp/triple git:(master) ▶ ssvmup build\n[INFO]: 🎯  Checking for the Wasm target...\n[INFO]: 🌀  Compiling to Wasm...\n   Compiling a22 v0.1.0 (/Users/fanweixiao/tmp/triple)\n    Finished release [optimized] target(s) in 0.29s\n⚠️   [WARN]: origin crate has no README\n[INFO]: ⬇️  Installing wasm-bindgen...\n[INFO]: Optimizing wasm binaries with `wasm-opt`...\n[INFO]: Optional fields missing from Cargo.toml: 'description', 'repository', and 'license'. These are not necessary, but recommended\n[INFO]: ✨   Done in 1.28s\n[INFO]: 📦   Your wasm pkg is ready to publish at /Users/fanweixiao/tmp/triple/pkg.\nΞ tmp/triple git:(master) ▶\n```\n\n## Run this flow\n\n1. Run this `yomo-flow`\n\n```bash\ngo run main.go\n```\n\nThen start your [yomo source](https://yomo.run/source) and [yomo zipper](https://yomo.run/zipper)\n\n2. Run `yomo-zipper`\n\n```bash\nyomo wf run workflow.yaml\n```\n\n3. Run `yomo-source-example`\n\n```bash\ngh repo clone yomorun/yomo-source-example\ncd yomo-source-example\nYOMO_ZIPPER_ENDPOINT=localhost:9999 go run main.go\n```\n\nyou'll get: \n\n```bash\nΞ _wrk/yomo-sink-ssvm → go run main.go\n2021/01/26 00:14:20 Starting sink server...\n2021/01/26 00:14:20 ✅ Listening on 0.0.0.0:4141\n+6.913980e+015\n+9.036794e+015\n^Csignal: interrupt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecond-state%2Fyomo-flow-ssvm-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecond-state%2Fyomo-flow-ssvm-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecond-state%2Fyomo-flow-ssvm-example/lists"}