{"id":17912645,"url":"https://github.com/danielgatis/go-vte","last_synced_at":"2025-03-23T22:34:47.972Z","repository":{"id":79824987,"uuid":"265990884","full_name":"danielgatis/go-vte","owner":"danielgatis","description":"A library to parse terminal escape sequences (almost) exactly how the real hardware does.","archived":false,"fork":false,"pushed_at":"2025-01-03T20:13:13.000Z","size":104,"stargazers_count":25,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-19T00:06:37.654Z","etag":null,"topics":["go","golang","parser","terminal-emulator","vt100","vte"],"latest_commit_sha":null,"homepage":null,"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/danielgatis.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":"2020-05-22T01:33:33.000Z","updated_at":"2025-01-03T20:12:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3579a94-3924-4939-80b3-d615e9af51ce","html_url":"https://github.com/danielgatis/go-vte","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fgo-vte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fgo-vte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fgo-vte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielgatis%2Fgo-vte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielgatis","download_url":"https://codeload.github.com/danielgatis/go-vte/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245180301,"owners_count":20573644,"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":["go","golang","parser","terminal-emulator","vt100","vte"],"created_at":"2024-10-28T19:46:20.925Z","updated_at":"2025-03-23T22:34:47.645Z","avatar_url":"https://github.com/danielgatis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-vte\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/danielgatis/go-vte?style=flat-square)](https://goreportcard.com/report/github.com/danielgatis/go-vte)\n[![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/danielgatis/go-vte/master/LICENSE)\n[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/danielgatis/go-vte)\n\nA GO version of https://github.com/alacritty/vte.\n\nThe pkg `vtparse` implements a state machine that mirrors the behaviour of DEC (Digital Equipment Corporation) VT hardware terminals. The state machine was originally described by Paul Williams; more information can be found here: http://www.vt100.net/emu/dec_ansi_parser.\n\n## Install\n\n```bash\ngo get -u github.com/danielgatis/go-vte\n```\n\nAnd then import the package in your code:\n\n```go\nimport \"github.com/danielgatis/go-vte\"\n```\n\n### Example\n\nPlease look at: [examples/parserlog/main.go](examples/parserlog/main.go)\n\n```\n❯ echo -ne \"Hello\\nWorld\" | go run ./examples/parserlog/main.go\n[Print] H\n[Print] e\n[Print] l\n[Print] l\n[Print] o\n[Execute] 0a\n[Print] W\n[Print] o\n[Print] r\n[Print] l\n[Print] d\n```\n\n## License\n\nCopyright (c) 2020-present [Daniel Gatis](https://github.com/danielgatis)\n\nLicensed under [MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgatis%2Fgo-vte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielgatis%2Fgo-vte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielgatis%2Fgo-vte/lists"}