{"id":27756828,"url":"https://github.com/noborus/tcellansi","last_synced_at":"2025-11-27T02:04:04.766Z","repository":{"id":282037119,"uuid":"947020827","full_name":"noborus/tcellansi","owner":"noborus","description":"tcellansi converts tcell styles to ANSI escape sequences, enabling styled terminal output with ease","archived":false,"fork":false,"pushed_at":"2025-11-01T02:39:55.000Z","size":32,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-01T04:15:04.892Z","etag":null,"topics":["escape-sequences","go","tcell"],"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/noborus.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-12T03:07:41.000Z","updated_at":"2025-11-01T02:35:37.000Z","dependencies_parsed_at":"2025-08-24T04:14:09.165Z","dependency_job_id":"2e347931-6d64-49b4-9044-b21bcb098137","html_url":"https://github.com/noborus/tcellansi","commit_stats":null,"previous_names":["noborus/tcellansi"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/noborus/tcellansi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noborus%2Ftcellansi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noborus%2Ftcellansi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noborus%2Ftcellansi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noborus%2Ftcellansi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noborus","download_url":"https://codeload.github.com/noborus/tcellansi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noborus%2Ftcellansi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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-11-27T02:00:05.795Z","response_time":58,"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":["escape-sequences","go","tcell"],"created_at":"2025-04-29T08:46:25.264Z","updated_at":"2025-11-27T02:04:04.730Z","avatar_url":"https://github.com/noborus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tcellansi\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/noborus/tcellansi.svg)](https://pkg.go.dev/github.com/noborus/tcellansi)\n\n`tcellansi` is a package for converting [tcell](https://github.com/gdamore/tcell) styles to ANSI escape sequences.\n\n## Installation\n\nTo install the package, run:\n\n```sh\ngo get github.com/noborus/tcellansi\n```\n\n## Usage\n\nHere is a simple example of how to use `tcellansi`:\n\n```go\npackage main\n\nimport (\n\t\"github.com/gdamore/tcell/v2\"\n\t\"github.com/noborus/tcellansi\"\n)\n\nfunc main() {\n\t// Initialize tcell screen\n\tscreen, _ := tcell.NewScreen()\n\tscreen.Init()\n\n\t// Create a style\n\tstyle := tcell.StyleDefault.Foreground(tcell.ColorRed).Background(tcell.ColorBlack)\n\n\t// Convert the style to ANSI escape sequence\n\tansiSeq := tcellansi.ToAnsi(style)\n\tscreen.Fini()\n\n\tprintln(ansiSeq + \"Hello world!\")\n}\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoborus%2Ftcellansi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoborus%2Ftcellansi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoborus%2Ftcellansi/lists"}