{"id":13852695,"url":"https://github.com/bpkg/term","last_synced_at":"2025-08-19T09:13:57.008Z","repository":{"id":17266486,"uuid":"20036127","full_name":"bpkg/term","owner":"bpkg","description":"Terminal fun written in bash inspired by clibs/term","archived":false,"fork":false,"pushed_at":"2023-07-20T04:37:14.000Z","size":8,"stargazers_count":62,"open_issues_count":0,"forks_count":10,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-20T14:47:15.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/bpkg.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}},"created_at":"2014-05-21T20:24:48.000Z","updated_at":"2024-10-24T09:44:14.000Z","dependencies_parsed_at":"2024-01-18T11:04:14.646Z","dependency_job_id":"38a21779-3b1a-4934-aa8c-5e3191c83a0f","html_url":"https://github.com/bpkg/term","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bpkg/term","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpkg%2Fterm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpkg%2Fterm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpkg%2Fterm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpkg%2Fterm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpkg","download_url":"https://codeload.github.com/bpkg/term/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpkg%2Fterm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271128972,"owners_count":24703879,"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-08-19T02:00:09.176Z","response_time":63,"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":[],"created_at":"2024-08-04T22:01:32.554Z","updated_at":"2025-08-19T09:13:56.985Z","avatar_url":"https://github.com/bpkg.png","language":"Shell","readme":"term.sh\n=======\n\nTerminal fun written in bash inspired by clibs/term\n\n## install\n\n```sh\n$ make install\n```\n\nor \n\n```sh\n$ . term.sh\n```\n\n## usage\n\n```\nusage: term [-hV] \u003ccommand\u003e [args]\n```\n\n## example\n\n```sh\n$ { term color green; } \u0026\u0026 { term underline; } \u0026\u0026 { echo heyaaaa; }\nheyaaaa\n```\n\n## api\n\n```\ncommands:\n\n  write \u003ccode\u003e           Write a terminal escape code\n  cursor \u003cop\u003e            Perform operation to cursor\n  color \u003ccolor\u003e          Set terminal color by name (See colors)\n  background \u003ccolor\u003e     Set terminal background by name (See colors)\n  move \u003cx\u003e \u003cy\u003e           Move to (x, y)\n  transition \u003cx\u003e \u003cy\u003e     Transition to (x, y)\n  clear \u003csection\u003e        Clear terminal section by name (See sections)\n  reset                  Reset the terminal escape code sequence\n  bright                 Write bright escape code\n  dim                    Write dim escape code\n  underline              Write underline escape code\n  blink                  Write blink escape code\n  reverse                Write reverse escape code\n  hidden                 Write hidden escape code\n\ncolors:\n\n  black                  $ term color black\n  red                    $ term color red\n  green                  $ term color green\n  yellow                 $ term color yellow\n  blue                   $ term color blue\n  magenta                $ term color magenta\n  cyan                   $ term color cyan\n  white                  $ term color white\n  gray|grey              $ term color gray\n\nsections:\n\n  start                  Start of line\n  end                    End of line\n  up                     Upper section\n  down                   Lower section\n  line                   Current line\n  screen                 Entire screen\n```\n\n## histogram\n\nSee [`example.sh`](https://github.com/bpkg/term/blob/master/example.sh)\n\n```\n  .\n\n  .\n\n  .\n\n  .\n\n  .\n                                                        █\n  .                                                     █\n                                                        █\n  .                                                     █\n                                            █           █\n  .                                         █           █\n                                            █           █\n                                            █           █\n  .     █     █     █     █     █     █     █     █     █     █     █\n```\n\n## license\n\nMIT\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpkg%2Fterm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpkg%2Fterm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpkg%2Fterm/lists"}