{"id":20494064,"url":"https://github.com/jaystack/worksmith","last_synced_at":"2026-04-24T05:35:31.046Z","repository":{"id":146253544,"uuid":"134347449","full_name":"jaystack/WorkSmith","owner":"jaystack","description":"Workflow composition library for Task\u003cT\u003e based, non-persisted (in-memory) workflows","archived":false,"fork":false,"pushed_at":"2018-05-23T11:37:06.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-05T17:52:02.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/jaystack.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}},"created_at":"2018-05-22T02:07:10.000Z","updated_at":"2018-05-23T11:37:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d0c6f20-e4de-4432-86e6-a7994813edef","html_url":"https://github.com/jaystack/WorkSmith","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jaystack/WorkSmith","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaystack%2FWorkSmith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaystack%2FWorkSmith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaystack%2FWorkSmith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaystack%2FWorkSmith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaystack","download_url":"https://codeload.github.com/jaystack/WorkSmith/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaystack%2FWorkSmith/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32211378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":"2024-11-15T17:38:06.190Z","updated_at":"2026-04-24T05:35:31.009Z","avatar_url":"https://github.com/jaystack.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿### WorkSharp\r\n\r\nWorkSharp is a task based workflow composition tool. Its main goal is to allow defining complex async process flows via configuration. \r\nThis is done by creating the building blocks in C# and defining the workflow in JSON utilzing CSharp Script to glue to pieces together.\r\n\r\n### Example workflow definitions\r\n\r\n```json\r\n{\r\n  \"_type\": \"Sequence\",\r\n  \"items\": [\r\n    { \"_type\": \"Assign\", \"name\": \"Scope.Url\", \"expression\": \"\\\"https://jsonplaceholder.typicode.com/posts\\\"\" },\r\n    {\r\n      \"_type\": \"HttpGet\",\r\n      \"_resultTo\": \"Scope.ContentList\",\r\n      \"url\": \"Scope.Url\"\r\n    },\r\n    {\r\n      \"_type\": \"Assign\",\r\n      \"name\": \"Scope.SelectedContent\",\r\n      \"expression\": \"Scope.ContentList[0]\"\r\n    },\r\n    {\r\n      \"_type\": \"Delay\",\r\n      \"_resultTo\":  \"Scope.DelayTime\",\r\n      \"duration\": \"1000 * 2 + 42\"\r\n    },\r\n    {\r\n      \"_type\": \"ConsoleWrite\",\r\n      \"message\": \"$\\\"We were also Delayed {Scope.DelayTime} ms before we could see this -\u003e {Scope.SelectedContent.body}\\\"\"\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\n### How to use\r\n\r\n```C#\r\n\tvar jsonText = File.ReadAllText(Directory.GetCurrentDirectory() + \"\\\\wf.json\");\r\n\tExpandoObject json = JsonConvert.DeserializeObject\u003cExpandoObject\u003e(jsonText);\r\n\tvar ws = new WorkSharp.WorkSharp();\r\n\tvar wf = ws.CreateFromJSON(json);\r\n\tvar r = await wf.Invoke(((dynamic)new ExpandoObject()));\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaystack%2Fworksmith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaystack%2Fworksmith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaystack%2Fworksmith/lists"}