[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112745":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":14,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":33,"discoverSource":34},112745,"bloom","lrstanley\u002Fbloom","lrstanley","🌸 Bubbletea compositor -- layout, animations, effects, simplified.","http:\u002F\u002Fbloomfx.dev\u002F",null,"Go",199,4,2,0,129,140,9,76.1,"MIT License",false,"master",true,[25,26,27,28],"bubbletea","compositor","golang","tui","2026-11-23 05:50:00","2026-11-23 11:07:48","\u003C!-- template:define:options\n{\n  \"nodescription\": true\n}\n-->\n![banner](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Faabf5a70-8c5c-4de0-8dd1-805767dd2290)\n\n\u003C!-- template:begin:header -->\n\u003C!-- do not edit anything in this \"template\" block, its auto-generated -->\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbloom\u002Ftags\">\n    \u003Cimg title=\"Latest Semver Tag\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Ftag\u002Flrstanley\u002Fbloom?style=flat-square\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbloom\u002Fcommits\u002Fmaster\">\n    \u003Cimg title=\"Last commit\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flast-commit\u002Flrstanley\u002Fbloom?style=flat-square\">\n  \u003C\u002Fa>\n\n\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbloom\u002Factions?query=workflow%3Atest+event%3Apush\">\n    \u003Cimg title=\"GitHub Workflow Status (test @ master)\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Flrstanley\u002Fbloom\u002Ftest.yml?branch=master&label=test&style=flat-square\">\n  \u003C\u002Fa>\n\n\n  \u003Ca href=\"https:\u002F\u002Fcodecov.io\u002Fgh\u002Flrstanley\u002Fbloom\">\n    \u003Cimg title=\"Code Coverage\" src=\"https:\u002F\u002Fimg.shields.io\u002Fcodecov\u002Fc\u002Fgithub\u002Flrstanley\u002Fbloom\u002Fmaster?style=flat-square\">\n  \u003C\u002Fa>\n\n  \u003Ca href=\"https:\u002F\u002Fpkg.go.dev\u002Fbloomfx.dev\u002Fbloom\">\n    \u003Cimg title=\"Go Documentation\" src=\"https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fbloomfx.dev\u002Fbloom?style=flat-square\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbloom\u002Fissues?q=is:open+is:issue+label:bug\">\n    \u003Cimg title=\"Bug reports\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues\u002Flrstanley\u002Fbloom\u002Fbug?label=issues&style=flat-square\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbloom\u002Fissues?q=is:open+is:issue+label:enhancement\">\n    \u003Cimg title=\"Feature requests\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues\u002Flrstanley\u002Fbloom\u002Fenhancement?label=feature%20requests&style=flat-square\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbloom\u002Fpulls\">\n    \u003Cimg title=\"Open Pull Requests\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues-pr\u002Flrstanley\u002Fbloom?label=prs&style=flat-square\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbloom\u002Fdiscussions\u002Fnew?category=q-a\">\n    \u003Cimg title=\"Ask a Question\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fsupport-ask_a_question!-blue?style=flat-square\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fliam.sh\u002Fchat\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdiscord-bytecord-blue.svg?style=flat-square\" title=\"Discord Chat\">\u003C\u002Fa>\n\u003C\u002Fp>\n\u003C!-- template:end:header -->\n\n\u003C!-- template:begin:toc -->\n\u003C!-- do not edit anything in this \"template\" block, its auto-generated -->\n## :link: Table of Contents\n\n  - [Features](#sparkles-features)\n  - [Usage](#gear-usage)\n    - [Related libraries](#related-libraries)\n  - [Support &amp; Assistance](#raising_hand_man-support--assistance)\n  - [Contributing](#handshake-contributing)\n  - [License](#balance_scale-license)\n\u003C!-- template:end:toc -->\n\n## :sparkles: Features\n\n**bloom** is a layout, compositing, and animation engine for [Bubble Tea](https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fbubbletea)\nprograms. Describe your view as a tree of rows, columns, and layers, built from your model every frame, and bloom\nsizes it to the terminal, draws dialogs and toasts on top, animates what changes, and tells you what the mouse is\nover.\n\n> [!WARNING]\n> bloom is still pre-1.0. Its API may change drastically until the v1.0.0 release, so expect breaking changes\n> between versions, and pin the version you use.\n\n- :heavy_check_mark: **Layout without the math**: `Row`, `Column`, `Grid`, and `Wrap`, with `Fixed`, `Fill`, `Grow`,\n  `Percent`, and natural-size slots, `Min`\u002F`Max`, gaps, alignment, and justification. No more measuring rendered\n  strings and subtracting borders on every resize.\n- :heavy_check_mark: **Responsive by priority**: panels marked `Collapsible` drop out when the terminal is too\n  small, lowest priority first, components can build a different layout for the space they're given, and\n  `MinSize` shows a \"window too small\" note in place of a layout that can't fit.\n- :heavy_check_mark: **Real layers**: `Overlay` draws dialogs, dropdowns, popovers, and toasts over the screen,\n  anchored to a corner or to another node, with backdrops, drop shadows, and modal input.\n- :heavy_check_mark: **Mouse handlers**: clicks, double clicks, the wheel, hover, and drags go to handlers on the\n  nodes they belong to, like `bloom.Text(name).On(on.Click(m.open))`. Hover styles and drag capture are built in.\n- :heavy_check_mark: **Focus**: tab order from the layout, focused styles, the real terminal cursor, and focus\n  scopes that keep \u003Ckbd>tab\u003C\u002Fkbd> inside a dialog until it closes.\n- :heavy_check_mark: **Animation kept in your model**: eased and spring values, presences for showing and hiding\n  (with `ShowFor` for toasts that hide themselves), sequences of steps, and automatic layout animation with\n  `Animate()`.\n- :heavy_check_mark: **25+ cell effects**: `Fade`, `Slide`, `Iris`, `Unfold`, `Decode`, `Glitch`, and more as\n  transitions; `Dim`, `Desaturate`, `Recolor`, and `Spotlight` as backdrops; `Shake`, `Shimmer`, `Roll`, and `Burst`\n  for feedback; `Chase`, `Pulse`, `Comet`, and `March` for looping borders; and combinators to stagger, delay,\n  reverse, and ease them. Or write your own.\n- :heavy_check_mark: **Borders that do more**: put titles, clickable tabs, icon buttons, and counters on a box's\n  border with `Edge`, plus draggable scrollbars that only show up when there's more to scroll.\n- :heavy_check_mark: **Viewports for a lot of text**: `Viewport` shows a `Buffer` of lines, such as a log of a\n  million, drawing only those in sight, with wrapping, following the end, line numbers, search marks, and selection.\n- :heavy_check_mark: **Loading placeholders**: `Skeleton(8, 0, 5, 11)` draws shimmering bars in place of content\n  that's still loading, a line for each line of the content, so nothing jumps when it arrives.\n- :heavy_check_mark: **FIGlet text**: package `fig` draws big text in 67 bundled FIGlet and TOIlet fonts, laid out\n  as C figlet does, with gradients and other paints, smaller fonts as space runs short, and letters animated one at\n  a time with bloom's effects and layout animation.\n- :heavy_check_mark: **Works with existing components**: anything with a `View() string` method, including\n  [Bubbles](https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fbubbles) components, is a leaf in the tree.\n- :heavy_check_mark: **Fast**: strings are parsed once, Lip Gloss renders are cached, and unchanged frames aren't\n  composited again. A 200×60 dashboard animating a dialog over a dimmed backdrop takes about 0.45ms a frame.\n\n---\n\n## :gear: Usage\n\nTake a look at the [official documentation](https:\u002F\u002Fbloomfx.dev\u002F) for tutorials, guides, and\nreference, starting with [building your first layout](https:\u002F\u002Fbloomfx.dev\u002Fgetting-started\u002Ffirst-layout).\nThe documentation is also available for LLMs and agents as [llms.txt](https:\u002F\u002Fbloomfx.dev\u002Fllms.txt)\nand [llms-full.txt](https:\u002F\u002Fbloomfx.dev\u002Fllms-full.txt), and every page has a markdown version.\n\n```go\nfunc (m *model) View() tea.View {\n\tv := m.ui.View(m.width, m.height, bloom.Overlay(\n\t\tbloom.Column(\n\t\t\tbloom.Fill(bloom.Row(\n\t\t\t\tbloom.Fixed(24, m.sidebar).Collapsible(1),\n\t\t\t\tbloom.Fill(m.reader).Min(40),\n\t\t\t)),\n\t\t\tm.statusbar,\n\t\t),\n\t\tbloom.Layer(m.dialog).\n\t\t\tModal().\n\t\t\tBackdrop(fx.Dim{Amount: 0.5}).\n\t\t\tPresence(m.dialogAnim, fx.Fade{}, fx.Slide{From: bloom.Bottom}),\n\t\tbloom.Layer(m.toast).\n\t\t\tAnchor(bloom.End, bloom.End).\n\t\t\tPresence(m.toastAnim, fx.Slide{From: bloom.Right}),\n\t))\n\tv.AltScreen = true\n\tv.MouseMode = tea.MouseModeCellMotion\n\treturn v\n}\n```\n\nRunnable programs, from a basic layout to a 120 FPS dashboard, are in [`_examples`](_examples). Run one with\n`go run .\u002Fforms` from that directory.\n\n\u003C!-- template:begin:goget -->\n\u003C!-- do not edit anything in this \"template\" block, its auto-generated -->\n```console\ngo get -u bloomfx.dev\u002Fbloom@latest\n```\n\u003C!-- template:end:goget -->\n\n### Related libraries\n\n- [bubbletint](https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbubbletint): hundreds of terminal color themes for Bubble Tea and Lip\n  Gloss, which work directly in bloom's styles and effects.\n- [steep](https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fsteep): a test harness that runs terminal programs, including Bubble Tea\n  programs, in an emulated terminal, used for bloom's own end-to-end tests. Docs are at\n  [getsteep.dev](https:\u002F\u002Fgetsteep.dev\u002F).\n\n---\n\n\u003C!-- template:begin:support -->\n\u003C!-- do not edit anything in this \"template\" block, its auto-generated -->\n## :raising_hand_man: Support & Assistance\n\n* :heart: Please review the [Code of Conduct](.github\u002FCODE_OF_CONDUCT.md) for\n     guidelines on ensuring everyone has the best experience interacting with\n     the community.\n* :raising_hand_man: Take a look at the [support](.github\u002FSUPPORT.md) document on\n     guidelines for tips on how to ask the right questions.\n* :lady_beetle: For all features\u002Fbugs\u002Fissues\u002Fquestions\u002Fetc, [head over here](https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbloom\u002Fissues\u002Fnew\u002Fchoose).\n\u003C!-- template:end:support -->\n\n\u003C!-- template:begin:contributing -->\n\u003C!-- do not edit anything in this \"template\" block, its auto-generated -->\n## :handshake: Contributing\n\n* :heart: Please review the [Code of Conduct](.github\u002FCODE_OF_CONDUCT.md) for guidelines\n     on ensuring everyone has the best experience interacting with the\n    community.\n* :clipboard: Please review the [contributing](.github\u002FCONTRIBUTING.md) doc for submitting\n     issues\u002Fa guide on submitting pull requests and helping out.\n* :old_key: For anything security related, please review this repositories [security policy](https:\u002F\u002Fgithub.com\u002Flrstanley\u002Fbloom\u002Fsecurity\u002Fpolicy).\n\u003C!-- template:end:contributing -->\n\n\u003C!-- template:begin:license -->\n\u003C!-- do not edit anything in this \"template\" block, its auto-generated -->\n## :balance_scale: License\n\n```\nMIT License\n\nCopyright (c) 2026 Liam Stanley \u003Cliam@liam.sh>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\u002For sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n_Also located [here](LICENSE)_\n\u003C!-- template:end:license -->\n","bloom 是一个专为 Bubble Tea（Go 语言 TUI 框架）设计的轻量级布局与合成引擎，支持声明式树状视图结构、自动尺寸计算、层级叠加、过渡动画及视觉效果。其核心特点是简化了传统 TUI 中复杂的布局管理与状态同步逻辑，通过纯函数式模型更新实现帧间一致渲染。适用于构建具备动态布局、平滑转场和多层 UI 组件（如弹窗、悬浮菜单、仪表盘）的终端应用程序。","2026-11-24 04:44:01","CREATED_QUERY"]