{"id":17289836,"url":"https://github.com/noahgorstein/guard-dog","last_synced_at":"2025-12-16T01:49:45.942Z","repository":{"id":41356111,"uuid":"487180195","full_name":"noahgorstein/guard-dog","owner":"noahgorstein","description":"A TUI to manage users, roles, and permissions in Stardog.","archived":false,"fork":false,"pushed_at":"2023-05-07T16:32:13.000Z","size":47,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T00:41:38.657Z","etag":null,"topics":["go","golang","tui"],"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/noahgorstein.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":"2022-04-30T04:22:34.000Z","updated_at":"2024-02-09T14:32:56.000Z","dependencies_parsed_at":"2024-06-19T22:52:20.050Z","dependency_job_id":"bbbe62ca-dc8a-4533-aaa5-1f4777977063","html_url":"https://github.com/noahgorstein/guard-dog","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"64d5a59256bde2392fbe9fec40bcf1c7065b2c04"},"previous_names":["noahgorstein/stardog-security"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahgorstein%2Fguard-dog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahgorstein%2Fguard-dog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahgorstein%2Fguard-dog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahgorstein%2Fguard-dog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noahgorstein","download_url":"https://codeload.github.com/noahgorstein/guard-dog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248869650,"owners_count":21174908,"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":["go","golang","tui"],"created_at":"2024-10-15T10:36:15.503Z","updated_at":"2025-10-17T19:40:52.997Z","avatar_url":"https://github.com/noahgorstein.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# guard-dog 🔒🐕\n\nA TUI to manage users, roles, and permissions in [Stardog](https://www.stardog.com/).\n\nhttps://user-images.githubusercontent.com/23270779/176809760-984de87f-649d-4223-a86e-b6fa571ccccc.mov\n\n`guard-dog` currently supports:\n- viewing users, roles and their respective permissions\n- granting and revoking permissions from users and roles\n- assigning and unassigning users from/to roles\n- deleting users and roles\n- changing users' passwords\n- enabling and disabling users\n\n## Installation\n\n### homebrew\n\n```bash\nbrew install noahgorstein/tap/guard-dog\n```\n\n### Github releases\n\nDownload the relevant asset for your operating system from the latest Github release. Unpack it, then move the binary to somewhere accessible in your `PATH`, e.g. `mv ./guard-dog /usr/local/bin`.\n\n### Build from source\n\nClone this repo, build from source with `cd guard-dog \u0026\u0026 go build`, then move the binary to somewhere accessible in your `PATH`, e.g. `mv ./guard-dog /usr/local/bin`.\n\n## Usage\n\nRun the app by running `guard-dog` in a terminal. See `guard-dog --help` and [configuration](#configuration) section below for details.\n\n### Controls\n\n- To switch between panes, `tab`. This is important as actions can only be performed if the pane is active. For example, in order to create a new user (`ctrl+n`), the `user list` tab must be active. In order to add an explicit permission to a user, the `user details` pane must be active. \n  \n-  Controls are highlighted throughout the app. If needed,`?` displays a help menu on the right side of the app. The help menu lists the controls for the current active pane. \n\n\u003cimg width=\"1298\" alt=\"help\" src=\"https://user-images.githubusercontent.com/23270779/176811048-3c5879d7-4f28-40f7-9064-8c9f8e5df59b.png\"\u003e\n\n## Configuration\n\n`guard-dog` can be configured in a yaml file at `$HOME/.guard-dog.yaml`.\n\nExample yaml file:\n\n```yaml\n# .guard-dog.yaml\nusername: \"admin\"\npassword: \"admin\"\nserver: \"http://localhost:5820\"\n```\n\nAlternatively, `guard-dog` can be configured via environment variables, or via command line args visible by running `guard-dog --help`.\n\n\u003e Command line args take precedence over both the configuation file and environment variables. Environment variables take precedence over the configuration file.\n\n`guard-dog` will attempt to authenticate using the default superuser `admin` with password `admin` on `http://localhost:5820` if no credentials are provided.\n\n### Environment Variables\n\n| Environment Variable  |  Description |\n|---|---|\n| `GUARD_DOG_USERNAME`  | username |\n| `GUARD_DOG_PASSWORD`  | password |\n| `GUARD_DOG_SERVER`  | Stardog server to connect to |\n\n\n## Built With\n\n- [bubbletea](https://github.com/charmbracelet/bubbletea)\n- [bubbles](https://github.com/charmbracelet/bubbles)\n- [bubble-table](https://github.com/Evertras/bubble-table)\n- [teacup](https://github.com/knipferrc/teacup)\n- [lipgloss](https://github.com/charmbracelet/lipgloss)\n- [go-stardog](https://github.com/noahgorstein/go-stardog)\n\n## Notes\n\n- 🚧 this project is under active development and is relatively unstable. Please file an issue if you see a bug or have suggestions on how to improve the app.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahgorstein%2Fguard-dog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoahgorstein%2Fguard-dog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahgorstein%2Fguard-dog/lists"}