{"id":13653972,"url":"https://github.com/bash-bastion/bash-term","last_synced_at":"2026-03-07T09:03:55.890Z","repository":{"id":108432013,"uuid":"459990703","full_name":"bash-bastion/bash-term","owner":"bash-bastion","description":"Bash library for terminal escape sequences.","archived":false,"fork":false,"pushed_at":"2025-06-03T18:08:10.000Z","size":3679,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-05T13:34:03.451Z","etag":null,"topics":["basalt","bash","shell","tput"],"latest_commit_sha":null,"homepage":"https://bash-bastion.github.io/bash-term/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bash-bastion.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}},"created_at":"2022-02-16T12:16:41.000Z","updated_at":"2025-06-03T18:08:12.000Z","dependencies_parsed_at":"2023-03-15T01:05:41.265Z","dependency_job_id":"f96beb56-08b5-457e-b3e0-66f8fd15f2c0","html_url":"https://github.com/bash-bastion/bash-term","commit_stats":null,"previous_names":["bash-bastion/bash-term","hyperupcall/bash-term"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/bash-bastion/bash-term","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-term","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-term/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-term/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-term/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bash-bastion","download_url":"https://codeload.github.com/bash-bastion/bash-term/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bash-bastion%2Fbash-term/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266384860,"owners_count":23921153,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["basalt","bash","shell","tput"],"created_at":"2024-08-02T02:01:21.354Z","updated_at":"2026-03-07T09:03:55.877Z","avatar_url":"https://github.com/bash-bastion.png","language":"Shell","funding_links":[],"categories":["General use"],"sub_categories":["Libraries"],"readme":"# bash-term\n\nBash library for terminal escape sequences\n\n## Summary\n\nIncludes functions to print standard ANSI escape sequences\n\n## Installation\n\nUse [Basalt](https://github.com/bash-bastion/basalt), a Bash package manager, to add this project as a dependency\n\n```sh\nbasalt add bash-bastion/bash-term\n```\n\n## Usage\n\nSee [Tweet](https://twitter.com/hyperupcall/status/1553612233388670976)\n\n```sh\n# -d means 'done'; that is, reset the style at the end of the string (same as `term.style_reset`)\n# -p means 'print'; that is, print the value of \"$REPLY\" that it sets\n# -P is similar to -p, but print with an appended newline\nterm.color_light_purple 'four'\nterm.style_strikethrough \"$REPLY\"\nterm.style_inverse \"$REPLY\"\nterm.style_underline -dp \"$REPLY\"\n```\n\n## References\n\n- [vtasni.html](https://www2.ccs.neu.edu/research/gpc/VonaUtils/vona/terminal/vtansi.htm)\n- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes/blob/main/index.js)\n- [ANSIcode.html](https://www.real-world-systems.com/docs/ANSIcode.html)\n- [terminalcodes](https://wiki.bash-hackers.org/scripting/terminalcodes)\n- [StackOverflow/20983251](https://stackoverflow.com/a/20983251)\n- [dylanaraps/writing-a-tui-in-bash](https://github.com/dylanaraps/writing-a-tui-in-bash)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash-bastion%2Fbash-term","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbash-bastion%2Fbash-term","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbash-bastion%2Fbash-term/lists"}