spinner
Version, currently 0.1.12 versions
- 0.1.1latestJun 21, 2017
- 0.1.0not indexedMar 8, 2023
github.com/askn/spinner
Terminal Spinner for Crystal Programming Language
57 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
spinner:
github: askn/spinner
version: ~> 0.1.1Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Aşkın Gedik <askn@bil.omu.edu.tr>
Dependencies
This version declares no dependencies.
README
# Spinner
Terminal Spinner for Crystal Programming Language

## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
spinner:
github: askn/spinner
```
## Usage
```crystal
require "spinner"
sp = Spin.new
sp.start
sleep 3
sp.stop
```
## Options
`delay`: `default = 0.1`
`chars`: you can choose charset from [CHARSET](src/spinner/charset.cr) `default = Spinner::Charset[:pipe]`
## Examples
```crystal
require "spinner"
require "colorize"
chars = Spinner::Charset[:arrow].map do |c|
c.colorize(:light_green)
end
spin = Spin.new(0.2, chars)
spin.start
sleep 3
spin.stop
```

## Contributing
1. Fork it ( https://github.com/askn/spinner/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Contributors
- [askn](https://github.com/askn) Aşkın Gedik - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.1- Tagged
- Jun 21, 2017
- Commit
8a8dbca835ee- Indexed
- yes
Dependents
Repository
github.com/askn/spinner
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 2