https://github.com/takezyou/rb-spinners
More than 60 spinners for terminal, ruby wrapper for amazing node library cli-spinners and python library py-spinners.
https://github.com/takezyou/rb-spinners
gem json ruby sipnners
Last synced: 5 months ago
JSON representation
More than 60 spinners for terminal, ruby wrapper for amazing node library cli-spinners and python library py-spinners.
- Host: GitHub
- URL: https://github.com/takezyou/rb-spinners
- Owner: takezyou
- License: mit
- Created: 2019-04-24T06:22:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-02T09:54:50.000Z (about 7 years ago)
- Last Synced: 2025-12-04T19:13:56.199Z (7 months ago)
- Topics: gem, json, ruby, sipnners
- Language: Ruby
- Homepage:
- Size: 3.87 MB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# rb-spinners
[](https://badge.fury.io/rb/rb-spinners)
[](https://travis-ci.org/takezyou/rb-spinners)
[](https://coveralls.io/github/takezyou/rb-spinner?branch=master)
More than 60 spinners for terminal, ruby wrapper for amazing node library cli-spinners and python library py-spinners.

The list of spinners is just a [JSONfile](https://github.com/sindresorhus/cli-spinners/blob/dac4fc6571059bb9e9bc204711e9dfe8f72e5c6f/spinners.json).
If you want to use something more wonderful, use [halo](https://github.com/manrajgrover/halo) and [ora](https://github.com/sindresorhus/ora)
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'rb-spinners'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install rb-spinners
## Usage
```
require 'spinners'
puts Spinners::DOTS
# {:dots=>{:interval=>80, :frames=>["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]}}
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/takezyou/rb-spinners.
## Related
- [cli-spinners](https://github.com/sindresorhus/cli-spinners)
- [py-spinners](https://github.com/sindresorhus/cli-spinners)
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).