{"id":23655211,"url":"https://github.com/caplin/vizor","last_synced_at":"2025-11-22T07:30:14.438Z","repository":{"id":239003505,"uuid":"798231876","full_name":"caplin/vizor","owner":"caplin","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-09T11:16:03.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-28T19:52:04.214Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/caplin.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":"2024-05-09T11:09:14.000Z","updated_at":"2024-05-09T11:16:06.000Z","dependencies_parsed_at":"2024-05-09T12:43:28.128Z","dependency_job_id":null,"html_url":"https://github.com/caplin/vizor","commit_stats":null,"previous_names":["caplin/vizor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caplin%2Fvizor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caplin%2Fvizor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caplin%2Fvizor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caplin%2Fvizor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caplin","download_url":"https://codeload.github.com/caplin/vizor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627287,"owners_count":19670844,"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","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-12-28T19:51:55.187Z","updated_at":"2025-11-22T07:30:13.577Z","avatar_url":"https://github.com/caplin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Vizor\n\nView deployment at https://caplin.github.io/vizor/\n\n### Classes\nVizor.js https://stash.caplin.com/projects/TP/repos/vizor/browse/src/Vizor.js \n- Responsible for processing the streamlink logs\n- Each log is a LogLine.js object where meta data is applied based on assuming RegExp patterns\n\nLogLine.js https://stash.caplin.com/projects/TP/repos/vizor/browse/src/LogLine.js\n- Responsible for applying meta-data to associate a type with each log line\n- E.g. CONTRIB, PERMISSION UPDATE, CONTAINER UPDATES etc\n\n### Future Improvements\n- Add a free-form `\u003ctextArea\u003e` where the user can persist a trade spec matcher in JSON.\n- E.G\n```\n{ 'MsgType=Submit, TradingProtocol=RFS' : {'Account' }\n```\n\nThe above would then split the matcher string on the `,` separator and check that for all fields that come through in each LogLine.js, whether it meets this matcher.\n\n\n```\n// Example logic:\nvar matcherString = \"MsgType=Submit,TradingProtocol=RFS\"\nvar allMatchers = matcherString.split(',');\n\nfor(var i = 0; i \u003c allMatchers.length; i++) {\n\tvar regex = new RegExp[allMatchers[i];\n\t// check to see through all the current log's tradeFields to see if it matches\n}\n// if it matches, then simply pull out the key/value for the matcher \n// E.g. pull out 'Account' as a field to ensure that it was included or not etc\n// If the field is missing, apply a class to the DOM and insertBefore the collapsed element to show what was missing \n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaplin%2Fvizor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaplin%2Fvizor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaplin%2Fvizor/lists"}