{"id":22285649,"url":"https://github.com/igolaizola/webcli","last_synced_at":"2025-06-14T14:03:05.764Z","repository":{"id":241438107,"uuid":"804928476","full_name":"igolaizola/webcli","owner":"igolaizola","description":"Automatic web UI on top of a golang CLI","archived":false,"fork":false,"pushed_at":"2024-06-27T20:33:19.000Z","size":591,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T05:09:45.955Z","etag":null,"topics":["cli","golang","gui","ui","web","webcli"],"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/igolaizola.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-23T14:42:41.000Z","updated_at":"2025-03-20T17:46:14.000Z","dependencies_parsed_at":"2024-06-19T03:52:39.294Z","dependency_job_id":"99382791-1709-4172-8c3c-5dcde1d1871c","html_url":"https://github.com/igolaizola/webcli","commit_stats":null,"previous_names":["igolaizola/webcli","igolaizola/ffui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/igolaizola/webcli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igolaizola%2Fwebcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igolaizola%2Fwebcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igolaizola%2Fwebcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igolaizola%2Fwebcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igolaizola","download_url":"https://codeload.github.com/igolaizola/webcli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igolaizola%2Fwebcli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259827500,"owners_count":22917707,"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","golang","gui","ui","web","webcli"],"created_at":"2024-12-03T16:53:04.910Z","updated_at":"2025-06-14T14:03:05.735Z","avatar_url":"https://github.com/igolaizola.png","language":"Go","readme":"# webcli 🌐🖥️\n\n**webcli** is a tool to generate an automatic web UI on top of a Golang CLI\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"images/webcli.png\" width=\"300\"\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/webcli-screenshot-commands.png\" width=\"390\"\u003e\n  \u003cimg src=\"images/webcli-screenshot-logs.png\" width=\"390\"\u003e\n\u003c/p\u003e\n\n## 🚀 Features\n\n- List all commands and subcommands\n- Edit the flags of the commands using input fields\n- Launch commands in the background\n- See the output of the commands in real-time\n- List and view the output of all the commands launched\n- Load command flags from configuration files\n- Save command flags to configuration files\n\n## 🔌 Compatibility\n\nThe tool is directly compatible with `github.com/peterbourgon/ff/v3` and `github.com/spf13/cobra` libraries, using `github.com/igolaizola/webcli/pkg/webff` and `github.com/igolaizola/webcli/pkg/webcobra` respectively.\n\nYou can also directly use the `github.com/igolaizola/webcli` package and pass your commands as `webcli.Command` to the `webcli.New` function.\n\n## 🕹️ Usage\n\nYou can find an example using an `ff` CLI at [cmd/webff/main.go](cmd/webff/main.go), which you can run with:\n\n```bash\ngo run cmd/webff/main.go\n```\n\nYou can find an example using a `cobra` CLI at [cmd/webcobra/main.go](cmd/webcobra/main.go), which you can run with:\n\n```bash\ngo run cmd/webcobra/main.go\n```\n\n## 📚 Resources\n\nResources used to create this project:\n\n- [HTMX](https://htmx.org/)\n- [Tailwind CSS](https://tailwindcss.com/)\n- [templ](https://templ.guide) - An HTML templating language for Go\n\n## 💖 Support\n\nPlease give the repository a star ⭐ if you have found this code helpful.\n\nFor any questions, create an issue or ping me at [x.com/igolaizola](https://x.com/igolaizola).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figolaizola%2Fwebcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figolaizola%2Fwebcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figolaizola%2Fwebcli/lists"}