{"id":20376248,"url":"https://github.com/mbrlabs/clispin","last_synced_at":"2026-03-08T13:36:22.833Z","repository":{"id":57504619,"uuid":"88895381","full_name":"mbrlabs/clispin","owner":"mbrlabs","description":"Wrap your functions in fancy cli spinners","archived":false,"fork":false,"pushed_at":"2017-04-23T20:44:49.000Z","size":36,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T02:51:08.243Z","etag":null,"topics":["cli","go","golang","loading","progress","spinner","statusbar","terminal"],"latest_commit_sha":null,"homepage":null,"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/mbrlabs.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}},"created_at":"2017-04-20T18:01:03.000Z","updated_at":"2024-11-25T01:32:22.000Z","dependencies_parsed_at":"2022-08-30T07:11:26.100Z","dependency_job_id":null,"html_url":"https://github.com/mbrlabs/clispin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbrlabs%2Fclispin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbrlabs%2Fclispin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbrlabs%2Fclispin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbrlabs%2Fclispin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbrlabs","download_url":"https://codeload.github.com/mbrlabs/clispin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248535467,"owners_count":21120566,"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":["cli","go","golang","loading","progress","spinner","statusbar","terminal"],"created_at":"2024-11-15T01:36:27.180Z","updated_at":"2026-03-08T13:36:22.797Z","avatar_url":"https://github.com/mbrlabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"demo.gif\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/mbrlabs/clispin\"\u003e\n      \u003cimg src=\"https://travis-ci.org/mbrlabs/clispin.svg?branch=master\" alt=\"Travis status\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://godoc.org/github.com/mbrlabs/clispin\"\u003e\n      \u003cimg src=\"https://godoc.org/github.com/mbrlabs/clispin?status.svg\" alt=\"Godoc\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# clispin\nClispin is a Go library, that makes it ridiculously easy to integrate fancy unicode spinners in your app.\n\n ## Usage\n```go\nspinner := clispin.New(nil)\nspinner.Start(func() {\n    // Do your work here. Update spinner text with Print or Printf\n    spinner.Printf(\"Downloading file %d/2\", 1)\n    time.Sleep(time.Second)\n    spinner.Printf(\"Downloading file %d/2\", 2)\n    time.Sleep(time.Second)\n\n    spinner.Print(\"Processing files\")\n    time.Sleep(time.Second)\n    spinner.Print(\"Done\")\n})\n```\n\n```clispin.New()``` creates a new spinner. You can pass in a ```Sprite``` struct to customize the spinner\nanimation. If no sprite is provided, a default one is chosen.      \n\nThere are also a couple of [sprites](https://github.com/mbrlabs/clispin/blob/master/sprite.go) included in this library. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbrlabs%2Fclispin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbrlabs%2Fclispin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbrlabs%2Fclispin/lists"}