{"id":24544135,"url":"https://github.com/hacktoolkit/csharp-htk","last_synced_at":"2025-03-16T08:09:59.114Z","repository":{"id":46177077,"uuid":"413741200","full_name":"hacktoolkit/csharp-htk","owner":"hacktoolkit","description":"A set of convenience utils for C#","archived":false,"fork":false,"pushed_at":"2021-11-09T12:16:49.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-22T20:16:06.427Z","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/hacktoolkit.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}},"created_at":"2021-10-05T08:51:56.000Z","updated_at":"2021-10-26T22:44:03.000Z","dependencies_parsed_at":"2022-09-22T06:22:23.953Z","dependency_job_id":null,"html_url":"https://github.com/hacktoolkit/csharp-htk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hacktoolkit%2Fcsharp-htk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hacktoolkit%2Fcsharp-htk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hacktoolkit%2Fcsharp-htk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hacktoolkit%2Fcsharp-htk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hacktoolkit","download_url":"https://codeload.github.com/hacktoolkit/csharp-htk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841223,"owners_count":20356446,"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":"2025-01-22T20:16:09.666Z","updated_at":"2025-03-16T08:09:59.092Z","avatar_url":"https://github.com/hacktoolkit.png","language":"C#","readme":"# csharp-htk\n\nA set of convenience utils for C#.\n\n\n# Features\n\n- Debug via Slack using `Htk.Utils.Debuggers.SlackDebug`.\n- Debug via writing to local file using `Htk.Utils.Debuggers.FileDebug`. Certifiably awesome, fast, and secure.\n\n\n# Setters \u0026 Methods\n- `Htk.Utils.Debuggers.FilePath` You can set a default file path for `FileDebug` method.\n- `Htk.Utils.Debuggers.SlackWebhookUrl` Set yout Slack Webhook URL. `SlackDebug` method uses this URL.\n- `Htk.Utils.Debuggers.FileDebug(string text, string fileName = DEFALT_FILE_PATH)` uses `FilePath` if `fileName` is omited.\n- `Htk.Utils.Debuggers.FileDebug(object obj, string fileName = DEFALT_FILE_PATH)` dumps given object to file using JSON Serialization. uses `FilePath` if `fileName` is omited.\n- `Htk.Utils.Debuggers.SlackDebug(string text)` Sends the given string to Slack.\n- `Htk.Utils.Debuggers.SlackDebug(string text, string label)` Sends the given string to Slack. Format: label: text\n- `Htk.Utils.Debuggers.SlackDebug(object obj)` Sends the given object as JSON to Slack.\n- `Htk.Utils.Debuggers.SlackDebug(object obj, string label)` Sends the given object as JSON to Slack. Format: label: JSON Dump of object\n\n**NOTE:** `FileDebug` has `fdebug` alias and `SlackDebug` has `slack_debug` alias for easy usage.\n\n# How To Use This Awesome?\n\n1. Install via nuget.\n1. (**Alternative install via clone**) Install via local clone: clone this repository into a directory named `htk`  \n    SSH: `git clone git@github.com:hacktoolkit/csharp-htk.git htk`  \n    HTTPS: `git clone https://github.com/hacktoolkit/csharp-htk.git`\n1. Add your [Slack incoming webhook](https://slack.com/apps/A0F7XDUAZ-incoming-webhooks) URL.\n1. Check your Slack to verify that the message was posted. If not, perhaps your token was wrong, or the Slack integration was disabled.\n    ![image](https://user-images.githubusercontent.com/422501/61013274-e65e1e00-a336-11e9-90aa-44a6fd1e217c.png)  \n    (Alternative link to screenshot above: https://cl.ly/436cfb4383a2)\n1. Profit!\n\n# Authors and Maintainers\n\n- [Hacktoolkit](https://github.com/hacktoolkit)\n- [Jonathan Tsai](https://github.com/jontsai)\n- [Gökhan Öztürk](https://github.com/Quanthir)\n\n# License\n\nMIT. See `LICENSE.md`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacktoolkit%2Fcsharp-htk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhacktoolkit%2Fcsharp-htk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacktoolkit%2Fcsharp-htk/lists"}