vicr
Version, currently 0.4.010 versions
github.com/veelenga/vicr
:v: Vim-like Interactive CRystal
42 stars
0 dependents
License: MIT
Nothing has been indexed for 0.4.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
vicr:
github: veelenga/vicr
version: ~> 0.4.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.4.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
<img src="https://github.com/veelenga/bin/blob/master/vicr/logo.png" width="200">
[](https://travis-ci.org/veelenga/vicr)
Vicr stands for **"Vim-like Interactive CRystal"** and represents a tiny command line application
that designed to quickly execute Crystal code with fast feedback and options to proceed:

## Installation
### OS X
```sh
$ brew tap veelenga/tap
$ brew install vicr
```
### From sources:
```sh
$ git clone https://github.com/veelenga/vicr
$ cd vicr
$ make
$ sudo make install
```
## Usage
Open terminal, run `vicr`, write your Crystal program, save and exit.
### Options
Vicr is able to load file content for you to start playing with Crystal code straight away.
For example:
```sh
# loads local file
$ vicr src/vicr/cli.cr
# loads Github file
$ vicr https://github.com/manastech/crystal/blob/master/samples/2048.cr
# loads Github gist
$ vicr https://gist.github.com/veelenga/a5b861ccd32ff559b7d2#file-benchmark_test-cr
# loads CarcIn file
$ vicr https://carc.in/#/r/rlj
# loads play.crystal-lang.org file
$ vicr https://play.crystal-lang.org/#/r/rlj
# loads raw file
$ vicr http://example.com/program.cr
```
Use help (`-h` flag) for more information.
### Customization
It is possible to configure Vicr start-up settings using `~/.vicr/init.yaml` configuration file.
You can customize settings and use your favorite editor and even change compiler params:
```yml
# ~/.vicr/init.yaml
---
run_file: ~/.vicr/run.cr
editor:
executable: nvim
args:
- "--cmd"
- "set paste"
compiler:
executable: crystal
args_before:
- "run"
- "--no-debug"
```
## Contributing
If you feel like you have a good idea to be implemented, please open a discussion.
If you found a defect and enough motivated to fix it, pull requests are welcome.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.4.0- Tagged
- Apr 9, 2022
- Commit
99f18062f9ff- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/veelenga/vicr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 10