{"id":21429984,"url":"https://github.com/mblumtritt/natty-ui","last_synced_at":"2025-03-16T21:44:33.915Z","repository":{"id":205530310,"uuid":"712137916","full_name":"mblumtritt/natty-ui","owner":"mblumtritt","description":"This is the beautiful, nice, nifty, fancy, neat, pretty, cool, lovely, natty user interface you like to have for your CLI.","archived":false,"fork":false,"pushed_at":"2024-03-09T15:40:13.000Z","size":259,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-15T09:33:51.141Z","etag":null,"topics":["ansi","cli","gem","ruby","ruby-gem","ui"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mblumtritt.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}},"created_at":"2023-10-30T21:41:28.000Z","updated_at":"2024-04-18T20:28:32.158Z","dependencies_parsed_at":"2024-04-18T20:39:27.298Z","dependency_job_id":null,"html_url":"https://github.com/mblumtritt/natty-ui","commit_stats":null,"previous_names":["mblumtritt/natty-ui"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblumtritt%2Fnatty-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblumtritt%2Fnatty-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblumtritt%2Fnatty-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mblumtritt%2Fnatty-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mblumtritt","download_url":"https://codeload.github.com/mblumtritt/natty-ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940062,"owners_count":20372044,"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":["ansi","cli","gem","ruby","ruby-gem","ui"],"created_at":"2024-11-22T22:19:59.758Z","updated_at":"2025-03-16T21:44:33.891Z","avatar_url":"https://github.com/mblumtritt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NattyUI ![version](https://img.shields.io/gem/v/natty-ui?label=)\n\nThis is the beautiful, nice, nifty, fancy, neat, pretty, cool, rich, lovely, natty user interface you like to have for your command line applications. It contains elegant, simple and beautiful tools that enhance your command line interfaces functionally and aesthetically.\n\n- Gem: [rubygems.org](https://rubygems.org/gems/natty-ui)\n- Source: [github.com](https://github.com/mblumtritt/natty-ui)\n- Help: [rubydoc.info](https://rubydoc.info/gems/natty-ui/NattyUI)\n\n## Description\n\nHere you find elegant, simple and beautiful tools that enhance your command line application functionally and look.\n\nYou can style your text using a [BBCode](https://en.wikipedia.org/wiki/BBCode)-like syntax\n\n```ruby\n ui.puts '[b]Hello World![/b]' # bold\n ui.puts '[i]Hello World![/i]' # italic\n ui.puts '[u]Hello World![/u]' # underline\n ui.puts '[yellow on_blue]Hello World![/]'\n```\n\nwhich supports all ANSI attributes, colors in 3/4-bit, 8-bit and Truecolor. There are headers, rulers, diverse message types, framed blocks and tables to layout your text. You can organize the output of tasks, use progress bars and request and handle user input. And there are text animations for fame and fun!\n\n🚀 Have a look at the [features](https://rubydoc.info/gems/natty-ui/NattyUI/Features) or check the code [examples](./examples/)!\n\n![illustration](https://raw.githubusercontent.com/mblumtritt/natty-ui/main/examples/illustration.png)\n\n## NO_COLOR Convention\n\nNattyUI follows the [NO_COLOR convention](https://no-color.org).\n\n## Help\n\n📕 See the [online help](https://rubydoc.info/gems/natty-ui/NattyUI) and have a look at the [examples](./examples/) directory to learn from code.\n\n### Run Examples\n\nYou can execute the examples by\n\n```sh\nruby ./examples/demo.rb\n```\n\nor see the non-ANSI version\n\n```sh\nNO_COLOR=1 ruby ./examples/demo.rb\n```\n\n## Installation\n\nYou can install the gem in your system with\n\n```shell\ngem install natty-ui\n```\n\nor you can use [Bundler](http://gembundler.com/) to add NattyUI to your own project:\n\n```shell\nbundle add natty-ui\n```\n\nAfter that you only need one line of code to have everything together\n\n```ruby\nrequire 'natty-ui'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmblumtritt%2Fnatty-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmblumtritt%2Fnatty-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmblumtritt%2Fnatty-ui/lists"}