{"id":18328299,"url":"https://github.com/thorstenhans/mask","last_synced_at":"2025-04-09T16:54:42.368Z","repository":{"id":143345885,"uuid":"472219517","full_name":"ThorstenHans/mask","owner":"ThorstenHans","description":"A simple CLI to hide sensitive information from STDOUT","archived":false,"fork":false,"pushed_at":"2022-03-21T16:15:56.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-15T10:17:27.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.thorsten-hans.com","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/ThorstenHans.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-03-21T06:54:05.000Z","updated_at":"2024-03-04T15:30:57.000Z","dependencies_parsed_at":"2023-06-09T06:00:38.401Z","dependency_job_id":null,"html_url":"https://github.com/ThorstenHans/mask","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fmask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fmask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fmask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fmask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThorstenHans","download_url":"https://codeload.github.com/ThorstenHans/mask/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248074176,"owners_count":21043479,"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":"2024-11-05T19:13:42.979Z","updated_at":"2025-04-09T16:54:42.350Z","avatar_url":"https://github.com/ThorstenHans.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mask - Hide your sensitive data from STDOUT\n\nWith `mask` you can hide sensitive information from being printed to `stdout`. I've created `mask` because I do quite a lot of public conference speaking and found it cumbersome to memorize all CLIs that may leak sensitive information during a live demo.\n\nYou can pipe (`|`) any content to `mask`. It will replace all occurrence (case-insensitive). \n\n## Installation\n\nInstall `mask` using the latest [release for your platform](https://github.com/ThorstenHans/mask/releases). Once downloaded and extracted, ensure the location is in your `PATH`.\n\n### Configuration\n\n#### Manage masks\n\nYou can add any amount of strings that should be masked before they'll be written to `stdout`.\n\n```bash\n# Add new masks\nmask add bar\n\n# Remove existing masks\nmask remove bar\n\n# See all masks\nmask list\n```\n\n#### Customize the mask-char\n\nBy default, `mask` will mask every char of an occurrence with an `*`. This ensures potential table layouts from the original output will not be harmed. You can manage the \"mask-char\" with the following commands:\n\n```bash\n# show the current mask-char\nmask char get\n\n# use different mask-char\nmask char set \"#\"\n```\n\n## Mask output\n\n```bash\n# assumes 'bar' is in your list of masks\necho \"foo bar baz\" | mask\nfoo *** baz\n\n# mask output from more complex commands\naz account list -o table | mask\n\n```\n\n## Help\n\nFor further information consult the help `mask --help` or `mask [command] --help`. If you encounter any problems, feel free to file an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorstenhans%2Fmask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorstenhans%2Fmask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorstenhans%2Fmask/lists"}