{"id":16918186,"url":"https://github.com/vito/midterm","last_synced_at":"2025-04-06T16:10:36.903Z","repository":{"id":189746484,"uuid":"681228045","full_name":"vito/midterm","owner":"vito","description":"a pretty mid terminal emulator","archived":false,"fork":false,"pushed_at":"2025-02-26T17:31:56.000Z","size":1521,"stargazers_count":47,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T15:07:29.277Z","etag":null,"topics":[],"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/vito.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":"2023-08-21T14:49:07.000Z","updated_at":"2025-02-26T17:31:42.000Z","dependencies_parsed_at":"2024-06-19T06:13:52.474Z","dependency_job_id":"5eff0996-ecf0-4eef-9b17-0879310945e9","html_url":"https://github.com/vito/midterm","commit_stats":null,"previous_names":["vito/midterm"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fmidterm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fmidterm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fmidterm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fmidterm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vito","download_url":"https://codeload.github.com/vito/midterm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247509221,"owners_count":20950232,"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":"2024-10-13T19:39:05.394Z","updated_at":"2025-04-06T16:10:36.885Z","avatar_url":"https://github.com/vito.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# midterm [![GoDoc][Badge]][GoDoc]\n\n\u003e a pretty mid terminal library\n\nMidterm is a virtual terminal emulator. There is no GUI, but it has\nconveniences for rendering back to a terminal or to HTML.\n\nSome examples:\n\n* [Progrock] uses it for displaying progress logs.\n* [Dagger] uses it for interactive shells, also rendered via Progrock.\n* [Bass] uses it for rendering terminal output in its docs. (And also uses\n  Progrock.)\n\n### Project goals\n\n* Compatibility with everyday tools like `htop` and `vim`.\n* Good enough performance, though optimizations haven't been sought out yet so\n  there's probably some low hanging fruit.\n* Composability/versatility, e.g. forwarding OSC requests/responses between an\n  outer terminal and a remote shell in a container.\n* Anything you'd expect for interactive shells: full mouse support, 256 colors,\n  copy/paste, etc. - though there's no GUI so this really just amounts to\n  forwarding ANSI sequences between local/remote shells.\n\n### What's it for?\n\nThis is not a GUI terminal emulator intended for everyday use. It's all\nin-memory. If you want to wrap it in a GUI, feel free!\n\nRight now it's used for\nrendering terminals embedded in other TUIs (Progrock), and for rendering\nterminal output in documentation.\n\n### What's with the name?\n\nIt used to be called vt100, but then I added support for things beyond vt100\nlike scroll regions, and I don't want to keep renaming it.\n\nI went with midterm because this library often sits in between a local and\nremote terminal (e.g. `dagger shell`), so it's a middle terminal.\n:man_shrugging:\n\n### Credit\n\nBased on [tonistiigi/vt100] which was was based on [jaguilar/vt100].\n\n[Badge]: https://godoc.org/github.com/vito/midterm?status.svg\n[Bass]: https://github.com/vito/bass\n[Dagger]: https://github.com/dagger/dagger\n[GoDoc]: https://godoc.org/github.com/vito/midterm\n[Progrock]: https://github.com/vito/progrock\n[jaguilar/vt100]: https://github.com/jaguilar/vt100\n[tonistiigi/vt100]: https://github.com/tonistiigi/vt100\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito%2Fmidterm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvito%2Fmidterm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito%2Fmidterm/lists"}