docs: add examples/gifs locally to repository
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
74 files+73 added−73 removed
- other:+73 added−73 removed
Provenance
- Commit
d20732a- Tree
46fe2cd- Author
Maas Lalani <maas@lalani.dev>- Committer
Maas Lalani <maas@lalani.dev>- Parent
0851898
74 files changed+73 added−73 removed
added:examples/altscreen-toggle/altscreen-toggle.gifbinary
A binary file, added.
modified:examples/altscreen-toggle/README.md+1 added-1 removed
1233# Alt Screen Toggle
<img width="800" src="https://stuff.charm.sh/bubbletea-examples/altscreen-toggle.gif" /><img width="800" src="./altscreen-toggle.gif" />added:examples/chat/chat.gifbinary
A binary file, added.
modified:examples/chat/README.md+1 added-1 removed
1233# Chat
<img width="800" src="https://stuff.charm.sh/bubbletea-examples/chat.gif" /><img width="800" src="./chat.gif" />added:examples/composable-views/composable-views.gifbinary
A binary file, added.
modified:examples/composable-views/README.md+1 added-1 removed
1233# Composable Views
<img width="800" src="https://stuff.charm.sh/bubbletea-examples/composable-views.gif" /><img width="800" src="./composable-views.gif" />added:examples/credit-card-form/credit-card-form.gifbinary
A binary file, added.
modified:examples/credit-card-form/README.md+1 added-1 removed
1233# Credit Card Form
<img width="800" src="https://stuff.charm.sh/bubbletea-examples/credit-card-form.gif" /><img width="800" src="./credit-card-form.gif" />added:examples/debounce/debounce.gifbinary
A binary file, added.
modified:examples/debounce/README.md+1 added-1 removed
1233# Debounce
<img width="800" src="https://stuff.charm.sh/bubbletea-examples/debounce.gif" /><img width="800" src="./debounce.gif" />added:examples/exec/exec.gifbinary
A binary file, added.
modified:examples/exec/README.md+1 added-1 removed
1233# Exec
<img width="800" src="https://stuff.charm.sh/bubbletea-examples/exec.gif" /><img width="800" src="./exec.gif" />added:examples/fullscreen/fullscreen.gifbinary
A binary file, added.
modified:examples/fullscreen/README.md+1 added-1 removed
1233# Full Screen
<img width="800" src="https://stuff.charm.sh/bubbletea-examples/fullscreen.gif" /><img width="800" src="./fullscreen.gif" />added:examples/glamour/glamour.gifbinary
A binary file, added.
modified:examples/glamour/README.md+1 added-1 removed
1233# Glamour
<img width="800" src="https://stuff.charm.sh/bubbletea-examples/glamour.gif" /><img width="800" src="./glamour.gif" />added:examples/help/help.gifbinary
A binary file, added.
modified:examples/help/README.md+1 added-1 removed
1 # Help2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/help.gif" />3+<img width="800" src="./help.gif" />added:examples/http/http.gifbinary
A binary file, added.
modified:examples/http/README.md+1 added-1 removed
1 # HTTP2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/http.gif" />3+<img width="800" src="./http.gif" />added:examples/list-default/list-default.gifbinary
A binary file, added.
modified:examples/list-default/README.md+1 added-1 removed
1 # Default List2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/list-default.gif" />3+<img width="800" src="./list-default.gif" />added:examples/list-fancy/list-fancy.gifbinary
A binary file, added.
modified:examples/list-fancy/README.md+1 added-1 removed
1 # Fancy List2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/list-fancy.gif" />3+<img width="800" src="./list-fancy.gif" />added:examples/list-simple/list-simple.gifbinary
A binary file, added.
modified:examples/list-simple/README.md+1 added-1 removed
1 # Simple List2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/list-simple.gif" />3+<img width="800" src="./list-simple.gif" />modified:examples/mouse/README.md+1 added-1 removed
1 # Mouse2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/mouse.gif" />3+<img width="800" src="./mouse.gif" />added:examples/package-manager/package-manager.gifbinary
A binary file, added.
modified:examples/package-manager/README.md+1 added-1 removed
1 # Package Manager2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/package-manager.gif" />3+<img width="800" src="./package-manager.gif" />added:examples/pager/pager.gifbinary
A binary file, added.
modified:examples/pager/README.md+1 added-1 removed
1 # Pager2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/pager.gif" />3+<img width="800" src="./pager.gif" />added:examples/paginator/paginator.gifbinary
A binary file, added.
modified:examples/paginator/README.md+1 added-1 removed
1 # Paginator2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/paginator.gif" />3+<img width="800" src="./paginator.gif" />added:examples/pipe/pipe.gifbinary
A binary file, added.
modified:examples/pipe/README.md+1 added-1 removed
1 # Pipe2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/pipe.gif" />3+<img width="800" src="./pipe.gif" />added:examples/progress-animated/progress-animated.gifbinary
A binary file, added.
modified:examples/progress-animated/README.md+1 added-1 removed
1 # Animated Progress2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/progress-animated.gif" />3+<img width="800" src="./progress-animated.gif" />added:examples/progress-static/progress-static.gifbinary
A binary file, added.
modified:examples/progress-static/README.md+1 added-1 removed
1 # Static Progress2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/progress-static.gif" />3+<img width="800" src="./progress-static.gif" />modified:examples/realtime/README.md+1 added-1 removed
1 # Real Time2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/realtime.gif" />3+<img width="800" src="./realtime.gif" />added:examples/realtime/realtime.gifbinary
A binary file, added.
modified:examples/result/README.md+1 added-1 removed
1 # Result2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/result.gif" />3+<img width="800" src="./result.gif" />added:examples/result/result.gifbinary
A binary file, added.
modified:examples/send-msg/README.md+1 added-1 removed
1 # Send Msg2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/send-msg.gif" />3+<img width="800" src="./send-msg.gif" />added:examples/send-msg/send-msg.gifbinary
A binary file, added.
modified:examples/sequence/README.md+1 added-1 removed
1 # Sequence2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/sequence.gif" />3+<img width="800" src="./sequence.gif" />added:examples/sequence/sequence.gifbinary
A binary file, added.
modified:examples/simple/README.md+1 added-1 removed
1 # Simple2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/simple.gif" />3+<img width="800" src="./simple.gif" />added:examples/simple/simple.gifbinary
A binary file, added.
modified:examples/spinner/README.md+1 added-1 removed
1 # Spinner2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/spinner.gif" />3+<img width="800" src="./spinner.gif" />added:examples/spinner/spinner.gifbinary
A binary file, added.
modified:examples/spinners/README.md+1 added-1 removed
1 # Spinners2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/spinners.gif" />3+<img width="800" src="./spinners.gif" />added:examples/spinners/spinners.gifbinary
A binary file, added.
modified:examples/split-editors/README.md+1 added-1 removed
1 # Split Editors2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/split-editors.gif" />3+<img width="800" src="./split-editors.gif" />added:examples/split-editors/split-editors.gifbinary
A binary file, added.
modified:examples/stopwatch/README.md+1 added-1 removed
1 # Stopwatch2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/stopwatch.gif" />3+<img width="800" src="./stopwatch.gif" />added:examples/stopwatch/stopwatch.gifbinary
A binary file, added.
modified:examples/table/README.md+1 added-1 removed
1 # Table2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/table.gif" />3+<img width="800" src="./table.gif" />added:examples/table/table.gifbinary
A binary file, added.
modified:examples/tabs/README.md+1 added-1 removed
1 # Tabs2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/tabs.gif" />3+<img width="800" src="./tabs.gif" />added:examples/tabs/tabs.gifbinary
A binary file, added.
modified:examples/textarea/README.md+1 added-1 removed
1 # Text Area2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/textarea.gif" />3+<img width="800" src="./textarea.gif" />added:examples/textarea/textarea.gifbinary
A binary file, added.
modified:examples/textinput/README.md+1 added-1 removed
1 # Text Input2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/textinput.gif" />3+<img width="800" src="./textinput.gif" />added:examples/textinput/textinput.gifbinary
A binary file, added.
modified:examples/textinputs/README.md+1 added-1 removed
1 # Text Inputs2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/textinputs.gif" />3+<img width="800" src="./textinputs.gif" />added:examples/textinputs/textinputs.gifbinary
A binary file, added.
modified:examples/timer/README.md+1 added-1 removed
1 # Timer2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/timer.gif" />3+<img width="800" src="./timer.gif" />added:examples/timer/timer.gifbinary
A binary file, added.
modified:examples/tui-daemon-combo/README.md+1 added-1 removed
1 # TUI Daemon2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/tui-daemon-combo.gif" />3+<img width="800" src="./tui-daemon-combo.gif" />added:examples/tui-daemon-combo/tui-daemon-combo.gifbinary
A binary file, added.
modified:examples/views/README.md+1 added-1 removed
1 # Views2 3-<img width="800" src="https://stuff.charm.sh/bubbletea-examples/views.gif" />3+<img width="800" src="./views.gif" />added:examples/views/views.gifbinary
A binary file, added.
modified:examples/README.md+36 added-36 removed
4 unmodified lines5 The `altscreen-toggle` example shows how to transition between the alternative6 screen buffer and the normal screen buffer using Bubble Tea.7 8 <a href="./altscreen-toggle/main.go">9- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/altscreen-toggle.gif" />9+ <img width="750" src="./altscreen-toggle/altscreen-toggle.gif" />10 </a>11 12 ### Chat13 14 The `chat` examples shows a basic chat application with a multi-line `textarea`15 input.16 17 <a href="./chat/main.go">18- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/chat.gif" />18+ <img width="750" src="./chat/chat.gif" />19 </a>20 21 ### Composable Views22 23 The `composable-views` example shows how to compose two bubble models (spinner24 and timer) together in a single application and switch between them.25 26 <a href="./composable-views/main.go">27- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/composable-views.gif" />27+ <img width="750" src="./composable-views/composable-views.gif" />28 </a>29 30 ### Credit Card Form31 32 The `credit-card-form` example demonstrates how to build a multi-step form with33 `textinput`s bubbles and validation on the inputs.34 35 <a href="./credit-card-form/main.go">36- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/credit-card-form.gif" />36+ <img width="750" src="./credit-card-form/credit-card-form.gif" />37 </a>38 39 ### Debounce40 41 The `debounce` example shows how to throttle key presses to avoid overloading42 your Bubble Tea application.43 44 <a href="./debounce/main.go">45- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/debounce.gif" />45+ <img width="750" src="./debounce/debounce.gif" />46 </a>47 48 ### Exec49 50 The `exec` example shows how to execute a running command during the execution51 of a Bubble Tea application such as launching an `EDITOR`.52 53 <a href="./exec/main.go">54- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/exec.gif" />54+ <img width="750" src="./exec/exec.gif" />55 </a>56 57 ### Full Screen58 59 The `fullscreen` example shows how to make a Bubble Tea application fullscreen.60 61 <a href="./fullscreen/main.go">62- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/fullscreen.gif" />62+ <img width="750" src="./fullscreen/fullscreen.gif" />63 </a>64 65 ### Glamour66 67 The `glamour` example shows how to use [Glamour](https://github.com/charmbracelet/glamour) inside a viewport bubble.68 69 <a href="./glamour/main.go">70- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/glamour.gif" />70+ <img width="750" src="./glamour/glamour.gif" />71 </a>72 73 ### Help74 75 The `help` example shows how to use the `help` bubble to display help to the76 user of your application.77 78 <a href="./help/main.go">79- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/help.gif" />79+ <img width="750" src="./help/help.gif" />80 </a>81 82 ### Http83 84 The `http` example shows how to make an `http` call within your Bubble Tea85 application.86 87 <a href="./http/main.go">88- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/http.gif" />88+ <img width="750" src="./http/http.gif" />89 </a>90 91 ### Default List92 93 The `list-default` example shows how to use the list bubble.94 95 <a href="./list-default/main.go">96- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/list-default.gif" />96+ <img width="750" src="./list-default/list-default.gif" />97 </a>98 99 ### Fancy List100 101 The `list-fancy` example shows how to use the list bubble with extra customizations.102 103 <a href="./list-fancy/main.go">104- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/list-fancy.gif" />104+ <img width="750" src="./list-fancy/list-fancy.gif" />105 </a>106 107 ### Simple List108 109 The `list-simple` example shows how to use the list and customize it to have a simpler, more compact, appearance.110 111 <a href="./list-simple/main.go">112- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/list-simple.gif" />112+ <img width="750" src="./list-simple/list-simple.gif" />113 </a>114 115 ### Mouse116 9 unmodified lines126 The `package-manager` example shows how to build an interface for a package127 manager using the `tea.Println` feature.128 129 <a href="./package-manager/main.go">130- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/package-manager.gif" />130+ <img width="750" src="./package-manager/package-manager.gif" />131 </a>132 133 ### Pager134 135 The `pager` example shows how to build a simple pager application similar to136 `less`.137 138 <a href="./pager/main.go">139- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/pager.gif" />139+ <img width="750" src="./pager/pager.gif" />140 </a>141 142 ### Paginator143 144 The `paginator` example shows how to build a simple paginated list.145 146 <a href="./paginator/main.go">147- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/paginator.gif" />147+ <img width="750" src="./paginator/paginator.gif" />148 </a>149 150 ### Pipe151 152 The `pipe` example demonstrates using shell pipes to communicate with Bubble153 Tea applications.154 155 <a href="./pipe/main.go">156- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/pipe.gif" />156+ <img width="750" src="./pipe/pipe.gif" />157 </a>158 159 ### Animated Progress160 161 The `progress-animated` example shows how to build a progress bar with an162 animated progression.163 164 <a href="./progress-animated/main.go">165- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/progress-animated.gif" />165+ <img width="750" src="./progress-animated/progress-animated.gif" />166 </a>167 168 ### Download Progress169 9 unmodified lines179 The `progress-static` example shows a progress bar with static incrementation180 of progress.181 182 <a href="./progress-static/main.go">183- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/progress-static.gif" />183+ <img width="750" src="./progress-static/progress-static.gif" />184 </a>185 186 ### Real Time187 188 The `realtime` example demonstrates the use of go channels to perform realtime189 communication with a Bubble Tea application.190 191 <a href="./realtime/main.go">192- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/realtime.gif" />192+ <img width="750" src="./realtime/realtime.gif" />193 </a>194 195 ### Result196 197 The `result` example shows a choice menu with the ability to select an option.198 199 <a href="./result/main.go">200- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/result.gif" />200+ <img width="750" src="./result/result.gif" />201 </a>202 203 ### Send Msg204 205 The `send-msg` example demonstrates the usage of custom `tea.Msg`s.206 207 <a href="./send-msg/main.go">208- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/send-msg.gif" />208+ <img width="750" src="./send-msg/send-msg.gif" />209 </a>210 211 ### Sequence212 213 The `sequence` example demonstrates the `tea.Sequence` command.214 215 <a href="./sequence/main.go">216- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/sequence.gif" />216+ <img width="750" src="./sequence/sequence.gif" />217 </a>218 219 ### Simple220 221 The `simple` example shows a very simple Bubble Tea application.222 223 <a href="./simple/main.go">224- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/simple.gif" />224+ <img width="750" src="./simple/simple.gif" />225 </a>226 227 ### Spinner228 229 The `spinner` example demonstrates a spinner bubble being used to indicate loading.230 231 <a href="./spinner/main.go">232- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/spinner.gif" />232+ <img width="750" src="./spinner/spinner.gif" />233 </a>234 235 ### Spinners236 237 The `spinner` example shows various spinner types that are available.238 239 <a href="./spinners/main.go">240- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/spinners.gif" />240+ <img width="750" src="./spinners/spinners.gif" />241 </a>242 243 ### Split Editors244 245 The `split-editors` example shows multiple `textarea`s being used in a single246 application and being able to switch focus between them.247 248 <a href="./split-editors/main.go">249- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/split-editors.gif" />249+ <img width="750" src="./split-editors/split-editors.gif" />250 </a>251 252 ### Stop Watch253 254 The `stopwatch` example shows a sample stop watch built with Bubble Tea.255 256 <a href="./stopwatch/main.go">257- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/stopwatch.gif" />257+ <img width="750" src="./stopwatch/stopwatch.gif" />258 </a>259 260 ### Table261 262 The `table` example demonstrates the table bubble being used to display tabular263 data.264 265 <a href="./table/main.go">266- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/table.gif" />266+ <img width="750" src="./table/table.gif" />267 </a>268 269 ### Tabs270 271 The `tabs` example demonstrates tabbed navigation styled with [Lip Gloss](https://github.com/charmbracelet/lipgloss).272 273 <a href="./tabs/main.go">274- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/tabs.gif" />274+ <img width="750" src="./tabs/tabs.gif" />275 </a>276 277 ### Text Area278 279 The `textarea` example demonstrates a simple Bubble Tea application using a280 `textarea` bubble.281 282 <a href="./textarea/main.go">283- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/textarea.gif" />283+ <img width="750" src="./textarea/textarea.gif" />284 </a>285 286 ### Text Input287 288 The `textinput` example demonstrates a simple Bubble Tea application using a `textinput` bubble.289 290 <a href="./textinput/main.go">291- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/textinput.gif" />291+ <img width="750" src="./textinput/textinput.gif" />292 </a>293 294 ### Multiple Text Inputs295 296 The `textinputs` example shows multiple `textinputs` and being able to switch297 focus between them as well as changing the cursor mode.298 299 <a href="./textinputs/main.go">300- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/textinputs.gif" />300+ <img width="750" src="./textinputs/textinputs.gif" />301 </a>302 303 ### Timer304 305 The `timer` example shows a simple timer built with Bubble Tea.306 307 <a href="./timer/main.go">308- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/timer.gif" />308+ <img width="750" src="./timer/timer.gif" />309 </a>310 311 ### TUI Daemon312 313 The `tui-daemon-combo` demonstrates building a text-user interface along with a314 daemon mode using Bubble Tea.315 316 <a href="./tui-daemon-combo/main.go">317- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/tui-daemon-combo.gif" />317+ <img width="750" src="./tui-daemon-combo/tui-daemon-combo.gif" />318 </a>319 320 ### Views321 322 The `views` example demonstrates how to build a Bubble Tea application with323 multiple views and switch between them.324 325 <a href="./views/main.go">326- <img width="750" src="https://stuff.charm.sh/bubbletea-examples/views.gif" />326+ <img width="750" src="./views/views.gif" />327 </a>328