{"id":15713776,"url":"https://github.com/samuallb/ncurses","last_synced_at":"2025-04-15T01:07:54.387Z","repository":{"id":53191845,"uuid":"140971386","full_name":"SamualLB/ncurses","owner":"SamualLB","description":"Ncurses bindings for Crystal","archived":false,"fork":false,"pushed_at":"2024-06-15T05:16:37.000Z","size":191,"stargazers_count":28,"open_issues_count":7,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T01:07:45.861Z","etag":null,"topics":["crystal","crystal-language","curses","library","ncurses","ncurses-library"],"latest_commit_sha":null,"homepage":"https://samuallb.github.io/ncurses/","language":"Crystal","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/SamualLB.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":"2018-07-14T19:09:00.000Z","updated_at":"2024-12-18T23:34:54.000Z","dependencies_parsed_at":"2024-10-24T11:55:49.524Z","dependency_job_id":"456317ee-c7da-49ac-8d89-4ce72a081365","html_url":"https://github.com/SamualLB/ncurses","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamualLB%2Fncurses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamualLB%2Fncurses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamualLB%2Fncurses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamualLB%2Fncurses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamualLB","download_url":"https://codeload.github.com/SamualLB/ncurses/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986312,"owners_count":21194025,"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":["crystal","crystal-language","curses","library","ncurses","ncurses-library"],"created_at":"2024-10-03T21:33:26.165Z","updated_at":"2025-04-15T01:07:54.359Z","avatar_url":"https://github.com/SamualLB.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/SamualLB/ncurses.svg?branch=master)](https://travis-ci.com/SamualLB/ncurses)\n# ncurses\n\nNcurses Bindings for Crystal\n\n## Installation\n\n1. Add this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  ncurses:\n    github: SamualLB/ncurses\n```\n\n2. Run `shards install`\n\n**NOTE**: You may need to install the wide ncurses development library `libncursesw5-dev` (Debian)\n\n## Usage\n\n\n```crystal\nrequire \"ncurses\"\n```\n\n#### Basic Printing\n\n```crystal\nNCurses.start\n\nNCurses.print \"Hello world!\"\n\nNCurses.end\n```\n\n#### Run Examples\n\nPrints input\n```text\n$ crystal run examples/input.cr\n```\n\nDisplays text with attributes\n```text\n$ crystal run examples/attributes.cr\n```\n\nDisplays text with colors\n```text\n$ crystal run examples/colors.cr\n```\n\nShows separate windows\n```text\n$ crystal run examples/windows.cr\n```\n\nMouse interaction with individual windows\n```text\n$ crystal run examples/window_enclose.cr\n```\n\nScroll when overflowing window\n```text\n$ crystal run examples/scroll.cr\n```\n\n\n## Contributing\n\n1. Fork it ( https://github.com/SamualLB/ncurses.git )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n\n## Contributors\n\n- (https://github.com/jreinert) Joakim Reinert - creator, maintainer\n- (https://github.com/SamualLB) Samual Black - maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuallb%2Fncurses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuallb%2Fncurses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuallb%2Fncurses/lists"}