cheap-impression-presenter 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +25 -10
- data/chimp.gemspec +1 -1
- data/lib/output/screen.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76030894a0e7c54a9977b6fc6f65e11d4c516191192ca10eda508ad46cff45e6
|
|
4
|
+
data.tar.gz: 1014aa89eb276c6223f0f1529c8578e3b454d4b2d73ae9929786d2910b3e0a6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b788a032d8441f975d781d8cd2a9787fb2ffe12727c712af5fe837cc8f9ee37244425a75494a52b7bbc31f85b4c777c3cb24510fb644f270772c7fee9519da3
|
|
7
|
+
data.tar.gz: de89b182400f26184b2dfe5a3c74b3d624a34b0055faf67b08aa10a5f0c3de0c51fcd035872563072ed51e47780f7b81eef088255ee2d1be7cd26dc48e02cc92
|
data/README.md
CHANGED
|
@@ -5,12 +5,12 @@ CHIMP - Cheap IMpression Presenter
|
|
|
5
5
|
___ / /___ / _ \ \ ___
|
|
6
6
|
/ __| |/ _ \ | | | | |__ \
|
|
7
7
|
| (__| | (_) | | |_| | |__) |
|
|
8
|
-
\___| |\
|
|
8
|
+
\___| |\___(_|_)____| |___/
|
|
9
9
|
\_\ /_/
|
|
10
10
|
|
|
11
11
|
Make a cheap impression. Present via terminal.
|
|
12
12
|
|
|
13
|
-
```gem install
|
|
13
|
+
```gem install cheap-impression-presenter```
|
|
14
14
|
|
|
15
15
|
It has a simple syntax:
|
|
16
16
|
|
|
@@ -23,35 +23,50 @@ It has a simple syntax:
|
|
|
23
23
|
!!Bold Text!!
|
|
24
24
|
``Red Text``
|
|
25
25
|
%%Blue Text%%
|
|
26
|
+
~~Center Text
|
|
26
27
|
|
|
27
28
|
Everything else is in plugins. The following plugins are existing for now:
|
|
28
29
|
|
|
29
|
-
* Sixel: display graphics in the terminal: `` ```sixel name.png``.
|
|
30
|
+
* Sixel: display graphics in the terminal: `` ```sixel,20 name.png``.
|
|
31
|
+
* The parameter 20 denotes the size in characters.
|
|
32
|
+
* You can add right or center as an additional parameter to align the picture.
|
|
33
|
+
* If the picture is right aligned, text is added on the left of the picture instead of beneath.
|
|
30
34
|
* Figlet: display fancy ascii text: `` ```figlet FANCY_TEXT``.
|
|
31
|
-
*
|
|
35
|
+
* You can add right or center as a parameter to align the fancy text.
|
|
36
|
+
* If the fancy text is right aligned, normal text is added on the left of the fancy text instead of beneath.
|
|
37
|
+
* Line Numbers: display line numbers beforce any text (mostly used for code :-).
|
|
32
38
|
~~~text
|
|
33
|
-
```
|
|
39
|
+
```lnums
|
|
34
40
|
Line
|
|
35
41
|
Line
|
|
36
42
|
Line
|
|
37
43
|
```
|
|
38
44
|
~~~
|
|
39
45
|
|
|
40
|
-
|
|
41
|
-
|
|
46
|
+
Run the presentation with:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
chimp mypresentation.txt
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
While presenting you can use the usual button for navigating. In addition, you
|
|
53
|
+
can use ``q`` to quit the presentation, and ``r`` to refresh the screen. I suggest zooming
|
|
54
|
+
the terminal until about 30 lines are visible. To make this easy a lightgray ``^`` character is
|
|
55
|
+
visible in the rightmost column of the terminal. Zoom until the ``^`` character is no longer visible for
|
|
56
|
+
the most audience friendly results.
|
|
42
57
|
|
|
43
58
|
Check out the examples.
|
|
44
59
|
|
|
45
60
|
History & Thanks
|
|
46
61
|
================
|
|
47
62
|
|
|
48
|
-
Amy Hoy allowed me to use the
|
|
63
|
+
Amy Hoy allowed me to use the monkey ascii art she created for the CHIMP all the way back in 2009. The
|
|
49
64
|
CHIMP was written as an icebreaker for the curucamp, which was a ruby
|
|
50
65
|
un-conference in 2009 in Vienna. We had fun, and many cool people from the
|
|
51
66
|
community attended.
|
|
52
67
|
|
|
53
68
|
I am still using the CHIMP for scientifc presentations, and as sixel terminals
|
|
54
|
-
finally are more common, I tried to polish
|
|
69
|
+
finally are more common, I tried to polish the CHIMP up (2025) and make it available
|
|
55
70
|
for easy consumption. Maybe you like it. I use it because I can create
|
|
56
71
|
presentations faster than in PP, KN, other programs. Most of the work goes
|
|
57
72
|
into graphics anyway, which I create with dedicated tools.
|
|
@@ -62,7 +77,7 @@ have created some plugins. Creating plugins is very simple :-)
|
|
|
62
77
|
Missing Features
|
|
63
78
|
================
|
|
64
79
|
|
|
65
|
-
Presenting is nice. A PDF output mode would be useful
|
|
80
|
+
Presenting is nice. A PDF output mode would be useful ... to send the presentation
|
|
66
81
|
to people in one file.
|
|
67
82
|
|
|
68
83
|
LICENSE
|
data/chimp.gemspec
CHANGED
data/lib/output/screen.rb
CHANGED
|
@@ -118,8 +118,8 @@ module Chimp
|
|
|
118
118
|
lines = @screen.lines
|
|
119
119
|
columns = @screen.columns
|
|
120
120
|
### print mark
|
|
121
|
-
@screen.set_pos columns
|
|
122
|
-
@screen.print "\e[
|
|
121
|
+
@screen.set_pos columns, 30
|
|
122
|
+
@screen.print "\e[0;37m^\e[0m"
|
|
123
123
|
### print footer
|
|
124
124
|
@screen.set_pos 0, lines-1
|
|
125
125
|
@screen.print "-"*columns
|