{"id":27299817,"url":"https://github.com/w8tcha/stacktracebeautify","last_synced_at":"2025-09-14T16:47:56.650Z","repository":{"id":40372029,"uuid":"481831274","full_name":"w8tcha/StackTraceBeautify","owner":"w8tcha","description":"A simple Library for highlighting .NET stack traces. It converts a Stack Trace (String) in to an html highlighted (beautified) String","archived":false,"fork":false,"pushed_at":"2025-07-26T04:02:37.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-26T17:19:14.521Z","etag":null,"topics":["exception","exception-handling","exceptions","highlighting","stacktrace"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/w8tcha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2022-04-15T04:01:45.000Z","updated_at":"2025-07-26T04:02:41.000Z","dependencies_parsed_at":"2023-01-29T18:45:51.665Z","dependency_job_id":"a50311df-2a38-4a59-9943-60a40d8ddb3c","html_url":"https://github.com/w8tcha/StackTraceBeautify","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/w8tcha/StackTraceBeautify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w8tcha%2FStackTraceBeautify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w8tcha%2FStackTraceBeautify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w8tcha%2FStackTraceBeautify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w8tcha%2FStackTraceBeautify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w8tcha","download_url":"https://codeload.github.com/w8tcha/StackTraceBeautify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w8tcha%2FStackTraceBeautify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275136218,"owners_count":25411706,"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-09-14T02:00:10.474Z","response_time":75,"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":["exception","exception-handling","exceptions","highlighting","stacktrace"],"created_at":"2025-04-12T00:49:39.267Z","updated_at":"2025-09-14T16:47:56.591Z","avatar_url":"https://github.com/w8tcha.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StackTraceBeautify\n\n.NET Port of [netStack.js](https://github.com/elmahio/netStack.js)\n\n[![NuGet](https://img.shields.io/nuget/v/StackTraceBeautify.svg)](https://nuget.org/packages/StackTraceBeautify) [![license](https://img.shields.io/hexpm/l/plug.svg)](#)\n\n![build status](https://github.com/w8tcha/StackTraceBeautify/actions/workflows/build.yml/badge.svg)\n\nA simple Library for highlighting .NET stack traces. It converts a Stack Trace (String) in to an html highlighted (beautified) String\n\n#### Stacktrace - Language support\n* English\n* Denmark\n* German\n* Russia\n* Chinese\n\n#### Demo\n[Stack Trace Formatter - Online pretty print of .NET stack traces](https://elmah.io/tools/stack-trace-formatter/)\n\n#### Initialization\n```c#\nvar bs = new StackTraceBeautify()\nbs.Beautify(input);\n```\n\n#### Options\n```c#\nvar bs = new StackTraceBeautify(new Options\n                           {\n                               PrettyPrint = false,\n                               FrameCssClass = \"st-frame\",\n                               TypeCssClass = \"st-type\",\n                               MethodCssClass = \"st-method\",\n                               ParamsListCssClass = \"st-frame-params\",\n                               ParamTypeCssClass = \"st-param-type\",\n                               ParamNameCssClass = \"st-param-name\",\n                               FileCssClass = \"st-file\",\n                               LineCssClass = \"st-line\"\n                           });\n```\n\n#### Ready to go css\n```css\npre, code {background-color:#333; color: #ffffff;}\n.st-type {color: #0a8472; font-weight: bolder;}\n.st-method {color: #70c9ba; font-weight: bolder;}\n.st-frame-params {color: #ffffff; font-weight: normal;}\n.st-param-type {color: #0a8472;}\n.st-param-name {color: #ffffff;}\n.st-file {color:#f8b068;}\n.st-line {color:#ff4f68;}\n```\n\n---\n### Acknowledgments\n\n* [@elmahio](https://github.com/elmahio)\n* [@IgoR-NiK](https://github.com/IgoR-NiK)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw8tcha%2Fstacktracebeautify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw8tcha%2Fstacktracebeautify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw8tcha%2Fstacktracebeautify/lists"}