{"id":27620924,"url":"https://github.com/followtheprocess/spin","last_synced_at":"2025-10-05T22:43:07.221Z","repository":{"id":288117433,"uuid":"964047104","full_name":"FollowTheProcess/spin","owner":"FollowTheProcess","description":"A simple terminal spinner","archived":false,"fork":false,"pushed_at":"2025-04-15T16:03:25.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T17:22:48.669Z","etag":null,"topics":[],"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/FollowTheProcess.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-10T15:54:35.000Z","updated_at":"2025-04-15T16:03:28.000Z","dependencies_parsed_at":"2025-04-15T17:22:50.562Z","dependency_job_id":"6c5eaf8e-9ea3-4c60-99c8-e34a03ff3af0","html_url":"https://github.com/FollowTheProcess/spin","commit_stats":null,"previous_names":["followtheprocess/spin"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowTheProcess%2Fspin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowTheProcess%2Fspin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowTheProcess%2Fspin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FollowTheProcess%2Fspin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FollowTheProcess","download_url":"https://codeload.github.com/FollowTheProcess/spin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250392706,"owners_count":21423139,"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":[],"created_at":"2025-04-23T07:33:35.225Z","updated_at":"2025-10-05T22:43:07.187Z","avatar_url":"https://github.com/FollowTheProcess.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spin\n\n[![License](https://img.shields.io/github/license/FollowTheProcess/spin)](https://github.com/FollowTheProcess/spin)\n[![Go Reference](https://pkg.go.dev/badge/go.followtheprocess.codes/spin.svg)](https://pkg.go.dev/go.followtheprocess.codes/spin)\n[![Go Report Card](https://goreportcard.com/badge/github.com/FollowTheProcess/spin)](https://goreportcard.com/report/github.com/FollowTheProcess/spin)\n[![GitHub](https://img.shields.io/github/v/release/FollowTheProcess/spin?logo=github\u0026sort=semver)](https://github.com/FollowTheProcess/spin)\n[![CI](https://github.com/FollowTheProcess/spin/workflows/CI/badge.svg)](https://github.com/FollowTheProcess/spin/actions?query=workflow%3ACI)\n\nA very simple terminal spinner\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/FollowTheProcess/spin/raw/main/docs/img/demo.gif\" alt=\"demo\"\u003e\n\u003c/p\u003e\n\n## Project Description\n\nI needed a very simple, minimal overhead, nice looking terminal spinner that didn't bring in a shed load of dependencies. So here it is!\n\nIt has a few nicities:\n\n- Auto terminal detection and colouring via [hue]\n- Customisable colours\n- Custom progress message\n- Simple and convenient API\n\n## Installation\n\n```shell\ngo get go.followtheprocess.codes/spin@latest\n```\n\n## Quickstart\n\n```go\npackage main\n\nimport (\n    \"os\"\n    \"time\"\n    \n    \"go.followtheprocess.codes/spin\"\n)\n\nfunc main() {\n    spinner := spin.New(os.Stdout, \"Digesting\")\n\n    spinner.Start()\n    defer spinner.Stop()\n\n    time.Sleep(2 * time.Second)\n}\n```\n\nYou can also wrap a function in a spinner...\n\n```go\npackage main\n\nimport (\n    \"os\"\n    \"time\"\n    \n    \"go.followtheprocess.codes/spin\"\n)\n\nfunc main() {\n    spinner := spin.New(os.Stdout, \"Digesting\")\n\n    // This is equivalent to the example above, Do will handle\n    // starting and stopping the spinner for you\n    spinner.Do(func() {\n        time.Sleep(2 * time.Second)\n    })\n}\n```\n\n### Credits\n\nThis package was created with [copier] and the [FollowTheProcess/go_copier] project template.\n\n[copier]: https://copier.readthedocs.io/en/stable/\n[FollowTheProcess/go_copier]: https://github.com/FollowTheProcess/go_copier\n[hue]: https://github.com/FollowTheProcess/hue\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffollowtheprocess%2Fspin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffollowtheprocess%2Fspin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffollowtheprocess%2Fspin/lists"}