{"id":19340204,"url":"https://github.com/flowbased/flowtrace","last_synced_at":"2025-08-23T20:20:23.687Z","repository":{"id":2429162,"uuid":"41515559","full_name":"flowbased/flowtrace","owner":"flowbased","description":"Traces for retroactive debugging of FBP programs","archived":false,"fork":false,"pushed_at":"2023-01-16T18:02:40.000Z","size":266,"stargazers_count":29,"open_issues_count":25,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-25T07:35:18.866Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/flowbased.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-27T23:02:52.000Z","updated_at":"2024-05-19T14:26:37.000Z","dependencies_parsed_at":"2023-02-10T05:15:21.031Z","dependency_job_id":null,"html_url":"https://github.com/flowbased/flowtrace","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/flowbased/flowtrace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowbased%2Fflowtrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowbased%2Fflowtrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowbased%2Fflowtrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowbased%2Fflowtrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flowbased","download_url":"https://codeload.github.com/flowbased/flowtrace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowbased%2Fflowtrace/sbom","scorecard":{"id":404290,"data":{"date":"2025-08-11","repo":{"name":"github.com/flowbased/flowtrace","commit":"fc6ab1b5f788c04f5dbb2d9b9657aa0d32c54b64"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/flowbased/flowtrace/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/flowbased/flowtrace/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/flowbased/flowtrace/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/flowbased/flowtrace/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/flowbased/flowtrace/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/flowbased/flowtrace/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/flowbased/flowtrace/test.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/publish.yml:17","Warn: npmCommand not pinned by hash: .github/workflows/publish.yml:29","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:19","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   3 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T20:49:42.075Z","repository_id":2429162,"created_at":"2025-08-18T20:49:42.075Z","updated_at":"2025-08-18T20:49:42.075Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271767984,"owners_count":24817592,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"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":"2024-11-10T03:25:38.549Z","updated_at":"2025-08-23T20:20:23.665Z","avatar_url":"https://github.com/flowbased.png","language":"JavaScript","readme":"Flowtrace\n=========\n\nA `flowtrace` is a persisted record of the execution of an Flow-based Programming (FBP) or dataflow program.\nIt is used for retroactive (after-the-fact) debugging; to locate, understand and fix bugs. \n\nThe concept is analogous to a 'stacktrace' or 'core dump' for imperative code.\n\nThis project provides a data format to store traces in, and provide debugging tools for working with these traces, as well as JavaScript library for recording and producing them.\n\n## Status\n\nIn production\n\n* [NoFlo](https://github.com/noflo/noflo) has support for creating flowtraces from 1.3.0 onwards. Can be triggered programmatically, via fbp-protocol, or with the [noflo-nodejs](https://github.com/noflo/noflo-nodejs) command-line tool\n* [fbp-spec 0.8](https://github.com/flowbased/fbp-spec) has support for capturing flowtraces of test runs\n* Several commandline tools exist for working with flowtraces\n* Note: File format not 100% finalized\n\nSee [braindump](./doc/braindump.md) for ideas/plans.\n\n## Installing\n\nFirst make sure you have [Node.js](http://nodejs.org/) with NPM installed.\n\nTo install locally in a project. Recommended.\n\n    npm install flowtrace\n\nTo install globally on your system\n\n    npm install -g flowtrace\n\n## Display flowtrace on commandline\n\n`flowtrace-show` reads a flowtrace, and renders a human-friendly log output from it.\n\n    npx flowtrace-show mytrace.flowtrace.json\n\nExample output:\n\n```\n-\u003e IN repeat CONN\n-\u003e IN repeat DATA hello world\n-\u003e IN stdout CONN\n-\u003e IN stdout DATA hello world\n-\u003e IN repeat DISC\n-\u003e IN stdout DISC\n```\n\nWhen used in a terminal, supports colors.\n\n## Show a flowtrace in Flowhub\n\n`flowtrace-replay` reads a flowtrace, and then acts as a live FBP runtime. That means it can be used with\nany FBP IDEs/client which support the [FBP runtime protocol](http://noflojs.org/documentation/protocol/).\n\n    npx flowtrace-replay mytrace.flowtrace.json\n\nBy default this will open [Flowhub](https://app.flowhub.io) in your browser, automatically connect and show you the graph.\nTo replay the data press the play button. You should then see the data flowing through edges.\n\n![Flowtrace replayed in Flowhub](./doc/flowtrace-replay-flowhub.png)\n\nYou can specify which `--ide` to use, and disable automatic opening of browser with `-n`.\n\n    npx flowtrace-replay --ide http://localhost:8888 -n\n\nYou can also set the `--host` and `--port`. See `--help` for all options.\n\n## Recording flowtraces in JavaScript\n\nIt is possible to use this library for recording and serializing flowtraces. Quick example:\n\n```javascript\nconst { Flowtrace } = require('flowtrace');\n\nconst tracer = new Flowtrace({\n  // metadata about this run\n});\n\n// Register the main graph you're tracing\ntracer.addGraph('example', myGraph, true);\n// You should also call addGraph for each subgraph that is running\n\nmyProgram.on('packet', (packet) =\u003e {\n  // Tell Flowtracer about each packet that arrives\n  tracer.addNetworkpacket('network:data', packet.src, packet.tgt, 'example', packet.data);\n});\n\nmyProgram.on('end', () =\u003e {\n  // Once your program is finished (or errors), you can dump the Flowtrace\n  const myTrace = tracer.toJSON();\n  fs.writeFile('example.flowtrace.json', myTrace, (err) =\u003e {\n    // ...\n  });\n});\n```\n\nSee the `src/lib/Flowtrace.js` file for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowbased%2Fflowtrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowbased%2Fflowtrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowbased%2Fflowtrace/lists"}