{"id":20254196,"url":"https://github.com/fumeapp/taskin","last_synced_at":"2025-04-10T23:50:33.330Z","repository":{"id":238200327,"uuid":"796080036","full_name":"fumeapp/taskin","owner":"fumeapp","description":"Add user-friendly tasks to your terminal","archived":false,"fork":false,"pushed_at":"2025-02-14T21:15:11.000Z","size":7314,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T20:38:13.105Z","etag":null,"topics":["charmbracelet","cli","golang","tasks"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fumeapp.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}},"created_at":"2024-05-04T21:51:58.000Z","updated_at":"2025-02-14T21:11:49.000Z","dependencies_parsed_at":"2024-06-19T11:19:45.903Z","dependency_job_id":"dd28648e-3bca-4d77-91d0-55acdfc0b9e7","html_url":"https://github.com/fumeapp/taskin","commit_stats":null,"previous_names":["fumeapp/taskin"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumeapp%2Ftaskin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumeapp%2Ftaskin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumeapp%2Ftaskin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumeapp%2Ftaskin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fumeapp","download_url":"https://codeload.github.com/fumeapp/taskin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317707,"owners_count":21083528,"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":["charmbracelet","cli","golang","tasks"],"created_at":"2024-11-14T10:30:38.741Z","updated_at":"2025-04-10T23:50:33.313Z","avatar_url":"https://github.com/fumeapp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/fumeapp/taskin/raw/main/taskin.png\" width=\"300\" /\u003e\n \u003cbr /\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003cstrong\u003e📋 Add user-friendly tasks to your terminal \u003c/strong\u003e\u003c/p\u003e\n\u003cbr /\u003e\n\n![Multi](/multi.gif)\n\n\n[![Release](https://img.shields.io/github/v/release/fumeapp/taskin)](https://github.com/fumeapp/taskin/releases)\n[![Go Report Card](https://goreportcard.com/badge/github.com/fumeapp/taskin)](https://goreportcard.com/report/github.com/fumeapp/taskin)\n[![Go Reference](https://pkg.go.dev/badge/github.com/fumeapp/taskin.svg)](https://pkg.go.dev/github.com/fumeapp/taskin)\n[![Lint](https://github.com/fumeapp/taskin/actions/workflows/lint.yml/badge.svg)](https://github.com/fumeapp/taskin/actions/workflows/lint.yml)\n[![Tests](https://github.com/fumeapp/taskin/actions/workflows/test.yml/badge.svg)](https://github.com/fumeapp/taskin/actions/workflows/test.yml)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/fumeapp/taskin/pulls)\n[![Examples](https://github.com/fumeapp/taskin/actions/workflows/examples.yml/badge.svg)](https://github.com/fumeapp/taskin/actions/workflows/examples.yml)\n[![Phorm](https://img.shields.io/badge/Phorm-Ask-pink)](https://www.phorm.ai/query?projectId=4d6b35fb-2ee0-40a3-ad5f-952dc5f69365)\n\n\n\u003e [!TIP]\n\u003e\n\u003e All output is Github Action friendly! \n\u003e You can view the output of each example [here](https://github.com/fumeapp/taskin/actions/workflows/examples.yml)\n\n\n\n## Installation\n\n```bash\ngo get github.com/fumeapp/taskin\n```\n\n## Examples\n\nSimplest way to line up and fire off tasks\n\nhttps://github.com/fumeapp/taskin/blob/3cd766c21e5eaba5edb33f38d3781d6cf814f9f9/examples/simple/main.go#L11-L33\n\n![Simple](/simple.gif)\n\n\nUsing a progress bar for a task\n\nhttps://github.com/fumeapp/taskin/blob/06b4d112f7d2dcf9fb4ee9b210f0be2d5cda03b5/examples/progress/main.go#L11-L24\n\n![Progress](/progress.gif)\n\n\nCustomize colors, spinner, and progress bar\n\nhttps://github.com/fumeapp/taskin/blob/3cd766c21e5eaba5edb33f38d3781d6cf814f9f9/examples/custom/main.go#L13-L54\n\n![Custom](/custom.gif)\n\n\n\nNest tasks inside tasks\n\nhttps://github.com/fumeapp/taskin/blob/3cd766c21e5eaba5edb33f38d3781d6cf814f9f9/examples/multi/main.go#L23-L34\n\n![Multi](/multi.gif)\n\n\n\n## Usage inside a task\nThe `*taskin.Task` struct passeed into your task has some useful properties that you can use to customize the task view.\n\n### Change the title\nAlready demonstrated in most of the examples, you can change `t.Title` at any time\n\n### Hide a view\nSometimes you might need to temporarily hide you task view in order to prompt a user for input.\nYou can do this by toggling the task.HideView boolean.\n\n```go\nTask: func(T *taskin.Task ) error {\n\tt.HideView = true\n\tif err := PromptForInput(); err != nil {\n\t\tt.HideView = false\n        return err\n    }\n    t.HideView = false\n\tt.Title = \"Input received\"\n\treturn nil\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumeapp%2Ftaskin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffumeapp%2Ftaskin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumeapp%2Ftaskin/lists"}