{"id":16813188,"url":"https://github.com/ivanvc/bubble-marquee","last_synced_at":"2025-07-15T17:33:09.488Z","repository":{"id":207851294,"uuid":"720250029","full_name":"ivanvc/bubble-marquee","owner":"ivanvc","description":"Marquee bubble component","archived":false,"fork":false,"pushed_at":"2023-11-20T21:38:35.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-14T10:24:58.479Z","etag":null,"topics":["bubble","bubbletea","charmbracelet","terminal","tui"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivanvc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-17T23:22:50.000Z","updated_at":"2024-06-10T07:09:32.000Z","dependencies_parsed_at":"2023-11-20T22:41:17.613Z","dependency_job_id":null,"html_url":"https://github.com/ivanvc/bubble-marquee","commit_stats":null,"previous_names":["ivanvc/bubble-marquee"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fbubble-marquee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fbubble-marquee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fbubble-marquee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fbubble-marquee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanvc","download_url":"https://codeload.github.com/ivanvc/bubble-marquee/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226059499,"owners_count":17567268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bubble","bubbletea","charmbracelet","terminal","tui"],"created_at":"2024-10-13T10:25:14.645Z","updated_at":"2024-11-23T15:24:20.963Z","avatar_url":"https://github.com/ivanvc.png","language":"Go","readme":"# Marquee Bubble\n\n\u003ca href=\"https://pkg.go.dev/github.com/ivanvc/bubble-marquee?tab=doc\"\u003e\u003cimg src=\"https://godoc.org/github.com/golang/gddo?status.svg\" alt=\"GoDoc\"\u003e\u003c/a\u003e\n\nA simple [BubbleTea] bubble component to generate marquees.\n\n![Made with VHS](https://vhs.charm.sh/vhs-6jH8qHKl7QYL5vw2RUeMLl.gif)\n\n[BubbleTea]: https://github.com/charmbracelet/bubbletea\n\n## Usage\n\nFirst, initialize a new marquee, then set the text to display, and optionally\nthe width. If width is not defined, it's assumed from the text's length.\n\n```go\nfunc NewMyModel() MyModel {\n    m := marquee.New()\n    m.SetText(\"Hello World\")\n    m.SetWidth(100) // optional\n    return MyModel{marquee: m}\n}\n```\n\nIt supports two scrolling directions, left and right.\n\n```go\nm.ScrollDirection = marquee.Right\n```\n\nYou can also specify the scrolling speed (defaults to 250ms).\n\n```go\nm.ScrollSpeed = 50 * time.Millisecond\n```\n\nAnd you can make it continuous:\n\n```go\nm.SetContinuous(true)\n```\n\nThen, call scroll in your `Init()`.\n\n```go\nfunc(m MyModel) Init() tea.Cmd {\n  return m.marquee.Scroll\n}\n```\n\nThat's it. Check the documentation and the [example](example/) directory for\nmore detailed usage.\n\n## License\n\nSee [LICENSE](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanvc%2Fbubble-marquee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanvc%2Fbubble-marquee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanvc%2Fbubble-marquee/lists"}