{"id":36784817,"url":"https://github.com/desertbit/turban","last_synced_at":"2026-01-12T13:20:01.157Z","repository":{"id":57528126,"uuid":"67752433","full_name":"desertbit/turban","owner":"desertbit","description":"Turban Shell - A simple shell experience.","archived":false,"fork":false,"pushed_at":"2016-09-16T23:13:47.000Z","size":62,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T06:28:24.898Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/desertbit.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":"2016-09-09T01:01:44.000Z","updated_at":"2024-06-20T06:28:24.899Z","dependencies_parsed_at":"2022-08-31T07:01:21.135Z","dependency_job_id":null,"html_url":"https://github.com/desertbit/turban","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/desertbit/turban","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fturban","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fturban/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fturban/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fturban/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desertbit","download_url":"https://codeload.github.com/desertbit/turban/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desertbit%2Fturban/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-12T13:19:59.894Z","updated_at":"2026-01-12T13:20:01.130Z","avatar_url":"https://github.com/desertbit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turban Shell\n\n[![GoDoc](https://godoc.org/github.com/desertbit/turban?status.svg)](https://godoc.org/github.com/desertbit/turban)\n[![Go Report Card](https://goreportcard.com/badge/github.com/desertbit/turban)](https://goreportcard.com/report/github.com/desertbit/turban)\n\nA simple shell experience.\n\n![Turban Preview](preview.jpg \"Turban\")\n\n## Turban Application\n\nThere is a turban shell application available in the cmd directory.\nIt reads a TURBAN.toml file and provides a simple shell.\n\n```\n\tgo get -u github.com/desertbit/turban\n\tgo install github.com/desertbit/turban/cmd/turban\n\tturban -p \"prompt text\" -d \"path to directory\"\n```\n\n## Library Sample\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/desertbit/turban\"\n)\n\nfunc main() {\n\tturban.SetPrompt(\"TURBAN » \")\n\tturban.SetHelpHeader(\"TURBAN - A simple shell experience\")\n\tturban.SetPrintASCIIArtFunc(printASCIIArt)\n\n\tturban.AddCommand(\"foo\", \u0026turban.Command{\n\t\tHelp:  \"Print foo help text\",\n\t\tUsage: \"foo [BAR]\",\n\t\tRun: func(args []string) error {\n\t\t\t// ...\n\t\t\treturn nil\n\t\t},\n\t})\n\n\tturban.Run(true)\n}\n\nfunc printASCIIArt() {\n\tfmt.Println(\"____ _ _  ___  ___   __  _ _ \")\n\tfmt.Println(\" ))  ))`) ))_) ))_) /_`) )\\\\`)\")\n\tfmt.Println(\"((  ((_( ((`\\\\ ((__)(( ( ((`( \")\n\tfmt.Println(\"\")\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesertbit%2Fturban","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesertbit%2Fturban","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesertbit%2Fturban/lists"}