Skip to content
Myr

docs: add examples/gifs locally to repository

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Maas Lalani · committed by Maas Lalani · parent 0851898 · Browse files · 74 files+73 added−73 removed
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

74 files+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
added:examples/chat/chat.gifbinary

A binary file, added.

modified:examples/chat/README.md+1 added-1 removed
added:examples/composable-views/composable-views.gifbinary

A binary file, added.

modified:examples/composable-views/README.md+1 added-1 removed
added:examples/credit-card-form/credit-card-form.gifbinary

A binary file, added.

modified:examples/credit-card-form/README.md+1 added-1 removed
added:examples/debounce/debounce.gifbinary

A binary file, added.

modified:examples/debounce/README.md+1 added-1 removed
added:examples/exec/exec.gifbinary

A binary file, added.

modified:examples/exec/README.md+1 added-1 removed
added:examples/fullscreen/fullscreen.gifbinary

A binary file, added.

modified:examples/fullscreen/README.md+1 added-1 removed
added:examples/glamour/glamour.gifbinary

A binary file, added.

modified:examples/glamour/README.md+1 added-1 removed
added:examples/help/help.gifbinary

A binary file, added.

modified:examples/help/README.md+1 added-1 removed
1# Help23<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# HTTP23<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 List23<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 List23<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 List23<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# Mouse23<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 Manager23<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# Pager23<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# Paginator23<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# Pipe23<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 Progress23<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 Progress23<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 Time23<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# Result23<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 Msg23<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# Sequence23<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# Simple23<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# Spinner23<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# Spinners23<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 Editors23<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# Stopwatch23<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# Table23<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# Tabs23<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 Area23<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 Input23<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 Inputs23<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# Timer23<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 Daemon23<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# Views23<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 lines
5The `altscreen-toggle` example shows how to transition between the alternative6screen buffer and the normal screen buffer using Bubble Tea.78<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>1112### Chat1314The `chat` examples shows a basic chat application with a multi-line `textarea`15input.1617<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>2021### Composable Views2223The `composable-views` example shows how to compose two bubble models (spinner24and timer) together in a single application and switch between them.2526<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>2930### Credit Card Form3132The `credit-card-form` example demonstrates how to build a multi-step form with33`textinput`s bubbles and validation on the inputs.3435<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>3839### Debounce4041The `debounce` example shows how to throttle key presses to avoid overloading42your Bubble Tea application.4344<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>4748### Exec4950The `exec` example shows how to execute a running command during the execution51of 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>5657### Full Screen5859The `fullscreen` example shows how to make a Bubble Tea application fullscreen.6061<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>6465### Glamour6667The `glamour` example shows how to use [Glamour](https://github.com/charmbracelet/glamour) inside a viewport bubble.6869<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>7273### Help7475The `help` example shows how to use the `help` bubble to display help to the76user of your application.7778<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>8182### Http8384The `http` example shows how to make an `http` call within your Bubble Tea85application.8687<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>9091### Default List9293The `list-default` example shows how to use the list bubble.9495<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>9899### Fancy List100101The `list-fancy` example shows how to use the list bubble with extra customizations.102103<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>106107### Simple List108109The `list-simple` example shows how to use the list and customize it to have a simpler, more compact, appearance.110111<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>114115### Mouse116
9 unmodified lines
126The `package-manager` example shows how to build an interface for a package127manager using the `tea.Println` feature.128129<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>132133### Pager134135The `pager` example shows how to build a simple pager application similar to136`less`.137138<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>141142### Paginator143144The `paginator` example shows how to build a simple paginated list.145146<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>149150### Pipe151152The `pipe` example demonstrates using shell pipes to communicate with Bubble153Tea applications.154155<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>158159### Animated Progress160161The `progress-animated` example shows how to build a progress bar with an162animated progression.163164<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>167168### Download Progress169
9 unmodified lines
179The `progress-static` example shows a progress bar with static incrementation180of progress.181182<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>185186### Real Time187188The `realtime` example demonstrates the use of go channels to perform realtime189communication with a Bubble Tea application.190191<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>194195### Result196197The `result` example shows a choice menu with the ability to select an option.198199<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>202203### Send Msg204205The `send-msg` example demonstrates the usage of custom `tea.Msg`s.206207<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>210211### Sequence212213The `sequence` example demonstrates the `tea.Sequence` command.214215<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>218219### Simple220221The `simple` example shows a very simple Bubble Tea application.222223<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>226227### Spinner228229The `spinner` example demonstrates a spinner bubble being used to indicate loading.230231<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>234235### Spinners236237The `spinner` example shows various spinner types that are available.238239<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>242243### Split Editors244245The `split-editors` example shows multiple `textarea`s being used in a single246application and being able to switch focus between them.247248<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>251252### Stop Watch253254The `stopwatch` example shows a sample stop watch built with Bubble Tea.255256<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>259260### Table261262The `table` example demonstrates the table bubble being used to display tabular263data.264265<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>268269### Tabs270271The `tabs` example demonstrates tabbed navigation styled with [Lip Gloss](https://github.com/charmbracelet/lipgloss).272273<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>276277### Text Area278279The `textarea` example demonstrates a simple Bubble Tea application using a280`textarea` bubble.281282<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>285286### Text Input287288The `textinput` example demonstrates a simple Bubble Tea application using a `textinput` bubble.289290<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>293294### Multiple Text Inputs295296The `textinputs` example shows multiple `textinputs` and being able to switch297focus between them as well as changing the cursor mode.298299<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>302303### Timer304305The `timer` example shows a simple timer built with Bubble Tea.306307<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>310311### TUI Daemon312313The `tui-daemon-combo` demonstrates building a text-user interface along with a314daemon mode using Bubble Tea.315316<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>319320### Views321322The `views` example demonstrates how to build a Bubble Tea application with323multiple views and switch between them.324325<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