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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -10
  3. data/chimp.gemspec +1 -1
  4. data/lib/output/screen.rb +2 -2
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60b1648d2f77f0538934c8e3c7307544f1b408697db13b08e3f01aa00e65a5ed
4
- data.tar.gz: 290ecb81787a12c69c2cf71940a1ee469563aa728e1221f34efbb05523e4c424
3
+ metadata.gz: 76030894a0e7c54a9977b6fc6f65e11d4c516191192ca10eda508ad46cff45e6
4
+ data.tar.gz: 1014aa89eb276c6223f0f1529c8578e3b454d4b2d73ae9929786d2910b3e0a6a
5
5
  SHA512:
6
- metadata.gz: e25e47ad2fec51885746a25f3a4ab72f1f9860f2ed1fc961857e7a1bf3999374162ca58c6406e44f9ee29b3d0cdb96456bc49b03744065fab1f24e3cae68471c
7
- data.tar.gz: 95f4507a2fcb8e2f2e97c05203631bd69b913c4b8ef46e1934883006195e80f086470196840ea4b71fd5c9c77c459c4c475e98a56bd04c335ae78b36cc4d1f48
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 chimp```
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
- * Line Numbers: display line numbers beforce any text.
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
- ```figlet
39
+ ```lnums
34
40
  Line
35
41
  Line
36
42
  Line
37
43
  ```
38
44
  ~~~
39
45
 
40
- During presenting you can use the usual button for navigating. In addition, you
41
- can use ``q`` to quit the presentation, and ``r`` to refresh the screen.
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 logo for CHIMP all the way back in 2009. 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 it up (2025) and make it available
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. To send the presentation
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cheap-impression-presenter"
3
- s.version = "1.0.0"
3
+ s.version = "1.0.1"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "GPL-3.0-or-later"
6
6
  s.summary = "CHIMP - Make a cheap impression. Present via terminal."
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-1, 30
122
- @screen.print "\e[1;37m^\e[0m"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheap-impression-presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler