{"id":13424503,"url":"https://github.com/askn/spinner","last_synced_at":"2025-07-13T17:34:31.263Z","repository":{"id":146503142,"uuid":"48796762","full_name":"askn/spinner","owner":"askn","description":"Terminal Spinner for Crystal Programming Language","archived":false,"fork":false,"pushed_at":"2023-03-08T04:20:54.000Z","size":70,"stargazers_count":55,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T15:01:44.294Z","etag":null,"topics":["crystal","spinner"],"latest_commit_sha":null,"homepage":"","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/askn.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":"2015-12-30T11:00:37.000Z","updated_at":"2024-05-31T11:55:16.000Z","dependencies_parsed_at":"2023-07-14T05:45:08.239Z","dependency_job_id":null,"html_url":"https://github.com/askn/spinner","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/askn/spinner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askn%2Fspinner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askn%2Fspinner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askn%2Fspinner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askn%2Fspinner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/askn","download_url":"https://codeload.github.com/askn/spinner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/askn%2Fspinner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265179230,"owners_count":23723430,"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","spinner"],"created_at":"2024-07-31T00:00:55.312Z","updated_at":"2025-07-13T17:34:31.235Z","avatar_url":"https://github.com/askn.png","language":"Crystal","funding_links":[],"categories":["Crystal","Cli Utils"],"sub_categories":[],"readme":"# Spinner\n\nTerminal Spinner for Crystal Programming Language\n\n![All](/images/all.gif)\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  spinner:\n    github: askn/spinner\n```\n\n## Usage\n\n\n```crystal\nrequire \"spinner\"\n\nsp = Spin.new\nsp.start\nsleep 3\nsp.stop\n```\n\n## Options\n\n`delay`: `default = 0.1`\n\n`chars`: you can choose charset from [CHARSET](src/spinner/charset.cr) `default = Spinner::Charset[:pipe]`\n\n## Examples\n\n```crystal\nrequire \"spinner\"\nrequire \"colorize\"\n\nchars = Spinner::Charset[:arrow].map do |c|\n  c.colorize(:light_green)\nend\n\nspin = Spin.new(0.2, chars)\nspin.start\nsleep 3\nspin.stop\n```\n\n![Color](/images/color.gif)\n\n## Contributing\n\n1. Fork it ( https://github.com/askn/spinner/fork )\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- [askn](https://github.com/askn) Aşkın Gedik - creator, maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskn%2Fspinner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faskn%2Fspinner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faskn%2Fspinner/lists"}