{"id":18148640,"url":"https://github.com/xiaomi7732/stackbeauty","last_synced_at":"2025-10-27T23:15:32.448Z","repository":{"id":40460770,"uuid":"460676813","full_name":"xiaomi7732/StackBeauty","owner":"xiaomi7732","description":"Format stack, make it easy to read and understand","archived":false,"fork":false,"pushed_at":"2024-11-12T18:41:39.000Z","size":496,"stargazers_count":5,"open_issues_count":12,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-24T03:44:19.642Z","etag":null,"topics":["callstack","debugging","diagnostic-tool","formatter"],"latest_commit_sha":null,"homepage":"https://stack.codewithsaar.net","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaomi7732.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2022-02-18T02:04:47.000Z","updated_at":"2024-11-12T18:41:44.000Z","dependencies_parsed_at":"2025-04-24T03:44:22.286Z","dependency_job_id":"85bc821a-6ee6-4117-8a49-1406c2ded0e1","html_url":"https://github.com/xiaomi7732/StackBeauty","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xiaomi7732/StackBeauty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaomi7732%2FStackBeauty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaomi7732%2FStackBeauty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaomi7732%2FStackBeauty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaomi7732%2FStackBeauty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaomi7732","download_url":"https://codeload.github.com/xiaomi7732/StackBeauty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaomi7732%2FStackBeauty/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265121386,"owners_count":23714501,"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":["callstack","debugging","diagnostic-tool","formatter"],"created_at":"2024-11-01T23:09:33.091Z","updated_at":"2025-10-27T23:15:27.417Z","avatar_url":"https://github.com/xiaomi7732.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stack Beauty\n\n.NET Call Stack is a chuck of text that is not easy to read.\nAnd we shall try to make a change there.\n\n## Vision\n\nThis is a service, taking in a chuck of text, understand the semantic of it and beautify it!\n\n\n## Live site\n\n[Stack Beauty @ stack.codewithsaar.net 🔗](https://stack.codewithsaar.net/)\n\n## Approach\n\nStacks are similar. We build parsers to understand the text, and unify them into the same syntax:\n\n\u003cp align='center'\u003e\u003cimg alt='Syntax railway chart' src='./images/IFrameLineSyntax.png'\u003e\u003c/p\u003e\n\nThere will be the engine, some parsers for .NET to bootstrap the effort. Looking forward to have more contributions on parsers for other languages. If you have any idea/suggestion, [file an issue](https://github.com/xiaomi7732/StackBeauty/issues).\n\n## Challenge\n\nThere are various formats for call stack the user could get. And that shouldn't matter to the user. As long as it is a  stack, this service shall be able to recognize it, beautify it and return the result to the user.\n\n## Architecture\n\n```mermaid\ngraph LR\n    A[Input] --\u003e |Pre-Filter| G(IFrame created \u0026 tagged)\n    G --\u003e|Parsers| B(IFrameLine collection)\n    B --\u003e|Beautifiers| C{Beautified IFrameLine collection}\n    C --\u003e|Html Render| D[Html]\n    C --\u003e|Text Render| E[Text]\n    C --\u003e|... Render| F[...]\n```\n\nGenerally, once input, callstack will be parsed by parsers; then beautifiers steps in to beautify various parts and output it as json; renders will pick up the json and output it to various results - html; svg; ...\n\n```mermaid\ngraph TD\n    A[Stack Blob] --\u003e|Match| B{Find out beautifier}\n    B --\u003e |exception| C[Exception trace beautify]\n    B --\u003e |ETW trace| D[ETW trace beautify]\n    B --\u003e |...| E[...]\n    B --\u003e |Stream| F[Stream trace beautify]\n    F\n    C --\u003e Z[output AsyncEnumerable of FrameItem]\n    D --\u003e Z\n    E --\u003e Z\n    F --\u003e Z\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaomi7732%2Fstackbeauty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaomi7732%2Fstackbeauty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaomi7732%2Fstackbeauty/lists"}