• Stars
    star
    6
  • Rank 2,461,535 (Top 50 %)
  • Language
    Crystal
  • License
    Other
  • Created about 4 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Display images within the terminal using the ITerm2 Inline Images Protocol.

iterm2

GitHub Release Build Status Documentation

Displays images within the terminal using the ITerm2 Inline Images Protocol.

Requires ITerm2.

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  iterm2:
    github: toddsundsted/iterm2
  1. Run shards install

Usage

require "iterm2"

File.open("unicorn.png") do |file|
  Iterm2.new.display(file)
end

The #display method also accepts a block and yields an instance of IO that may be written to. See the documentation for the full API.

Contributors

More Repositories

1

ktistec

Single user ActivityPub (https://www.w3.org/TR/activitypub/) server.
Crystal
330
star
2

stunt

LambdaMOO with multiple inheritance, anonymous objects, HTTP, JSON <-> MOO translation, better crypto, a map datatype and a RESTful interface.
C++
72
star
3

ishi

Graph plotting package with a small API and sensible defaults powered by gnuplot.
Crystal
47
star
4

mxnet.cr

MXNet (AI/ML) bindings for the Crystal language.
Crystal
22
star
5

improvise

Starter kit for Stunt.
JavaScript
18
star
6

rmoo

A major mode for interacting with MOOs.
Emacs Lisp
12
star
7

Public-Suffix-List

Ruby code for working with the Public Suffix List
Ruby
11
star
8

deep-learning

Exercises in deep learning -- Crystal language edition
Crystal
10
star
9

web_finger

A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal.
Crystal
9
star
10

jquery.tweetcapture

Capture Twitter search tweets in real time and stick them in a web-page.
JavaScript
7
star
11

slang

Slim-inspired templating language for Crystal
Crystal
5
star
12

host_meta

A Web Host Metadata (https://tools.ietf.org/html/rfc6415) client for Crystal.
Crystal
3
star
13

shiken

Basic Rails and Git skills test for candidates.
Ruby
3
star
14

javascript-as3-socket

Git clone of http://code.google.com/p/javascript-as3-socket/ with improvements.
JavaScript
3
star
15

heroku-buildpack-stunt

Heroku buildpack for Stunt.
Shell
2
star
16

openssl_ext

Crystal bindings for OpenSSL RSA
Crystal
2
star
17

ki

A simple mobile agent framework, described in a series of articles for JavaWorld c. 1998.
Java
2
star
18

pwnserver

It's my data and I wants it back!
2
star
19

public_suffix

A small Crystal library designed to make the Public Suffix List (https://publicsuffix.org/) easier to use.
Crystal
2
star
20

compare-cores

Compares two LambdaMOO databases (with extensions).
Perl
2
star
21

moocode-mode

A fork of Rob Myers' Emacs major mode providing syntax highlighting and indentation for MOO code.
Emacs Lisp
2
star
22

rubyweb

Rubyweb - a literate programming system for Ruby
Ruby
1
star
23

zzz

Hypermedia controls.
1
star
24

Scala-for-Scripting

Scala
1
star
25

libxml_ext

Extensions to XML in Crystal.
Crystal
1
star
26

iui

Custom version of the IUI iPhone webapp library.
JavaScript
1
star