{"id":23421572,"url":"https://github.com/evilbytecode/golangstyle","last_synced_at":"2025-10-16T00:48:47.994Z","repository":{"id":243904514,"uuid":"813734281","full_name":"EvilBytecode/GolangStyle","owner":"EvilBytecode","description":"GolangStyle, best looking go library.","archived":false,"fork":false,"pushed_at":"2024-08-15T19:08:04.000Z","size":20,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T18:11:36.128Z","etag":null,"topics":["cli","color","color-library","console-application","go","go-package","golang","package"],"latest_commit_sha":null,"homepage":"","language":"Go","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/EvilBytecode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-11T16:27:20.000Z","updated_at":"2024-12-26T09:44:00.000Z","dependencies_parsed_at":"2024-08-15T21:03:22.981Z","dependency_job_id":null,"html_url":"https://github.com/EvilBytecode/GolangStyle","commit_stats":null,"previous_names":["evilbytecode/golangstyle"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/EvilBytecode/GolangStyle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilBytecode%2FGolangStyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilBytecode%2FGolangStyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilBytecode%2FGolangStyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilBytecode%2FGolangStyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvilBytecode","download_url":"https://codeload.github.com/EvilBytecode/GolangStyle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilBytecode%2FGolangStyle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279133667,"owners_count":26110826,"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-10-15T02:00:07.814Z","response_time":56,"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":["cli","color","color-library","console-application","go","go-package","golang","package"],"created_at":"2024-12-23T02:16:04.669Z","updated_at":"2025-10-16T00:48:47.981Z","avatar_url":"https://github.com/EvilBytecode.png","language":"Go","readme":"# GoStyle (DONT USE NOT RELIABLE AT ALL + WIN ONLY)\nBest Looking Windows Color Library made for Go users!\n\u003ca href=\"https://t.me/pulzetools\"\u003e\u003cimg src=\"https://img.shields.io/badge/Join%20my%20Telegram%20group-2CA5E0?style=for-the-badge\u0026logo=telegram\u0026labelColor=db44ad\u0026color=5e2775\"\u003e\u003c/a\u003e\n\n![ConsoleLooks](https://github.com/EvilBytecode/GolangStyle/assets/151552809/d1bb0610-2c74-4049-b37e-797fb5c4d345)\n\n## Install\n- ```go mod init bestcolorlib```\n- ```go get github.com/EvilBytecode/GolangStyle/pkg```\n- ```go run .```\n\n## GoStyle Functions\n\n- Sample README that provides documentation for the functions in the GoStyle package.\n## `Init() error`\n\n- **Description:** Initializes the console, comes with simple error handle.\n- **Sample Usage:** \n```go\nif err := gostyle.Init(); err != nil {\n    gostyle.Write(\"Failed to init console:\", gostyle.RED_TO_BLACK, false)\n    return\n}\n```\n\n## `ClearConsole()`\n\n- **Description:** Clears the console. Anything currently displayed will be removed.\n- **Sample Usage:** \n```go\ngostyle.ClearConsole()\n```\n\n## `HideCursor()`\n\n- **Description:** Hides the console cursor.\n- **Sample Usage:** \n```go\ngostyle.HideCursor()\n```\n\n## `ShowCursor()`\n\n- **Description:** Shows the console cursor.\n- **Sample Usage:** \n```go\ngostyle.ShowCursor()\n```\n\n## `Write(text string, gradient gostyle.Gradient, true/false)`\n\n- **Description:** Writes text to the console with an optional gradient and centers it based on your choice.\n- **Parameters:**\n  - `text string`: Text to be written to the console.\n  - `gradient gostyle.Gradient`: Optional gradient color for the text.\n  - `true`: You Decide if it should be in center set true or false based on if you want the text to be centered or not.\n- **Sample Usage:** \n```go\ngostyle.Write(\"Your text here\", gostyle.PURPLE_TO_BLUE, true)\n```\n\n## `WriteColorized(text string, color string, true/false)`\n\n- **Description:** Writes text to the console with a specified color and centers it based on your choice.\n- **Parameters:**\n  - `text string`: Text to be written to the console.\n  - `color string`: Color of the text (e.g., \"red\", \"blue\").\n  - `true`: You Decide if it should be in center set true or false based on if you want the text to be centered or not.\n- **Sample Usage:** \n```go\ngostyle.WriteColorized(\"Your text here\", \"red\", true)\n```\n\n### MORE IN ```main.go```\n\nRemember to import the `gostyle` package before using these functions.\n### issues with some ascii styles will be fixed soon, i just need to find time for it. but most of them are supported\n### Credits:\n- https://github.com/MmCopyMemory (Lots of help)\n- https://github.com/billythegoat356 (GoStyle Idea, From Python to Go)\n\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for details.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilbytecode%2Fgolangstyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilbytecode%2Fgolangstyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilbytecode%2Fgolangstyle/lists"}