{"id":15446186,"url":"https://github.com/moul/anonuuid","last_synced_at":"2025-04-06T01:10:16.149Z","repository":{"id":35562789,"uuid":"39834749","full_name":"moul/anonuuid","owner":"moul","description":":wrench: Anonymize UUIDs outputs (written in Golang)","archived":false,"fork":false,"pushed_at":"2025-03-05T13:13:58.000Z","size":1416,"stargazers_count":21,"open_issues_count":11,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T00:09:27.775Z","etag":null,"topics":["anonymous","cli","privacy","tool","uuid"],"latest_commit_sha":null,"homepage":"https://manfred.life/anonuuid","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/moul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["moul"],"patreon":"moul","open_collective":"moul","custom":["https://manfred.life/donate"]}},"created_at":"2015-07-28T13:14:34.000Z","updated_at":"2024-09-23T10:58:22.000Z","dependencies_parsed_at":"2024-04-27T16:45:18.650Z","dependency_job_id":"2aacfd87-be48-4635-818c-9e046cba846b","html_url":"https://github.com/moul/anonuuid","commit_stats":{"total_commits":88,"total_committers":8,"mean_commits":11.0,"dds":"0.20454545454545459","last_synced_commit":"15a62a323f94b1068e6cee0f999d8353ecd5f081"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moul%2Fanonuuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moul%2Fanonuuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moul%2Fanonuuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moul%2Fanonuuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moul","download_url":"https://codeload.github.com/moul/anonuuid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419861,"owners_count":20936012,"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":["anonymous","cli","privacy","tool","uuid"],"created_at":"2024-10-01T19:59:30.070Z","updated_at":"2025-04-06T01:10:16.122Z","avatar_url":"https://github.com/moul.png","language":"Go","funding_links":["https://github.com/sponsors/moul","https://patreon.com/moul","https://opencollective.com/moul","https://manfred.life/donate"],"categories":[],"sub_categories":[],"readme":"# anonuuid\n\n:wrench: anonymize UUIDs\n\n![anonuuid Logo](https://raw.githubusercontent.com/moul/anonuuid/master/assets/anonuuid.png)\n\n[![CircleCI](https://circleci.com/gh/moul/anonuuid.svg?style=shield)](https://circleci.com/gh/moul/anonuuid)\n[![GoDoc](https://godoc.org/moul.io/anonuuid?status.svg)](https://godoc.org/moul.io/anonuuid)\n[![License](https://img.shields.io/github/license/moul/anonuuid.svg)](https://github.com/moul/anonuuid/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/release/moul/anonuuid.svg)](https://github.com/moul/anonuuid/releases)\n[![Go Report Card](https://goreportcard.com/badge/moul.io/anonuuid)](https://goreportcard.com/report/moul.io/anonuuid)\n[![CodeFactor](https://www.codefactor.io/repository/github/moul/anonuuid/badge)](https://www.codefactor.io/repository/github/moul/anonuuid)\n[![codecov](https://codecov.io/gh/moul/anonuuid/branch/master/graph/badge.svg)](https://codecov.io/gh/moul/anonuuid)\n[![Docker Metrics](https://images.microbadger.com/badges/image/moul/anonuuid.svg)](https://microbadger.com/images/moul/anonuuid)\n[![Sourcegraph](https://sourcegraph.com/github.com/moul/anonuuid/-/badge.svg)](https://sourcegraph.com/github.com/moul/anonuuid?badge)\n[![Made by Manfred Touron](https://img.shields.io/badge/made%20by-Manfred%20Touron-blue.svg?style=flat)](https://manfred.life/)\n\n\n**anonuuid** anonymize an input string by replacing all UUIDs by an anonymized\nnew one.\n\nThe fake UUIDs are cached, so if `anonuuid` encounter the same real UUIDs multiple\ntimes, the translation will be the same.\n\n## Usage\n\n```console\n$ anonuuid --help\nNAME:\n   anonuuid - Anonymize UUIDs outputs\n\nUSAGE:\n   anonuuid [global options] command [command options] [arguments...]\n\nVERSION:\n   1.0.0-dev\n\nAUTHOR(S):\n   Manfred Touron \u003chttps://moul.io/anonuuid\u003e\n\nCOMMANDS:\n   help, h\tShows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --hexspeak\t\tGenerate hexspeak style fake UUIDs\n   --random, -r\t\tGenerate random fake UUIDs\n   --keep-beginning\tKeep first part of the UUID unchanged\n   --keep-end\t\tKeep last part of the UUID unchanged\n   --prefix, -p \tPrefix generated UUIDs\n   --suffix \t\tSuffix generated UUIDs\n   --help, -h\t\tshow help\n   --version, -v\tprint the version\n   ```\n\n## Example\n\nReplace all UUIDs and cache the correspondance.\n\n```command\n$ anonuuid git:(master) ✗ cat \u003c\u003cEOF | anonuuid\nVOLUMES_0_SERVER_ID=15573749-c89d-41dd-a655-16e79bed52e0\nVOLUMES_0_SERVER_NAME=hello\nVOLUMES_0_ID=c245c3cb-3336-4567-ada1-70cb1fe4eefe\nVOLUMES_0_SIZE=50000000000\nORGANIZATION=fe1e54e8-d69d-4f7c-a9f1-42069e03da31\nTEST=15573749-c89d-41dd-a655-16e79bed52e0\nEOF\nVOLUMES_0_SERVER_ID=00000000-0000-0000-0000-000000000000\nVOLUMES_0_SERVER_NAME=hello\nVOLUMES_0_ID=11111111-1111-1111-1111-111111111111\nVOLUMES_0_SIZE=50000000000\nORGANIZATION=22222222-2222-2222-2222-222222222222\nTEST=00000000-0000-0000-0000-000000000000\n```\n\n---\n\nInline\n\n```command\n$ echo 'VOLUMES_0_SERVER_ID=15573749-c89d-41dd-a655-16e79bed52e0 VOLUMES_0_SERVER_NAME=bitrig1 VOLUMES_0_ID=c245c3cb-3336-4567-ada1-70cb1fe4eefe VOLUMES_0_SIZE=50000000000 ORGANIZATION=fe1e54e8-d69d-4f7c-a9f1-42069e03da31 TEST=15573749-c89d-41dd-a655-16e79bed52e0' | ./anonuuid\nVOLUMES_0_SERVER_ID=00000000-0000-0000-0000-000000000000 VOLUMES_0_SERVER_NAME=bitrig1 VOLUMES_0_ID=11111111-1111-1111-1111-111111111111 VOLUMES_0_SIZE=50000000000 ORGANIZATION=22222222-2222-2222-2222-222222222222 TEST=00000000-0000-0000-0000-000000000000\n```\n\n---\n\n```command\n$ curl -s https://api.pathwar.net/achievements\\?max_results\\=2 | anonuuid | jq .\n{\n  \"_items\": [\n    {\n      \"_updated\": \"Thu, 30 Apr 2015 13:00:58 GMT\",\n      \"description\": \"You\",\n      \"_links\": {\n        \"self\": {\n          \"href\": \"achievements/00000000-0000-0000-0000-000000000000\",\n          \"title\": \"achievement\"\n        }\n      },\n      \"_created\": \"Thu, 30 Apr 2015 13:00:58 GMT\",\n      \"_id\": \"00000000-0000-0000-0000-000000000000\",\n      \"_etag\": \"b1e9f850accfcb952c58384db41d89728890a69f\",\n      \"name\": \"finish-20-levels\"\n    },\n    {\n      \"_updated\": \"Thu, 30 Apr 2015 13:01:07 GMT\",\n      \"description\": \"You\",\n      \"_links\": {\n        \"self\": {\n          \"href\": \"achievements/11111111-1111-1111-1111-111111111111\",\n          \"title\": \"achievement\"\n        }\n      },\n      \"_created\": \"Thu, 30 Apr 2015 13:01:07 GMT\",\n      \"_id\": \"11111111-1111-1111-1111-111111111111\",\n      \"_etag\": \"c346f5e1c4f7658f2dfc4124efa87aba909a9821\",\n      \"name\": \"buy-30-levels\"\n    }\n  ],\n  \"_links\": {\n    \"self\": {\n      \"href\": \"achievements?max_results=2\",\n      \"title\": \"achievements\"\n    },\n    \"last\": {\n      \"href\": \"achievements?max_results=2\u0026page=23\",\n      \"title\": \"last page\"\n    },\n    \"parent\": {\n      \"href\": \"/\",\n      \"title\": \"home\"\n    },\n    \"next\": {\n      \"href\": \"achievements?max_results=2\u0026page=2\",\n      \"title\": \"next page\"\n    }\n  },\n  \"_meta\": {\n    \"max_results\": 2,\n    \"total\": 46,\n    \"page\": 1\n  }\n}\n```\n\n## Install\n\n### Using go\n\n- `go get moul.io/anonuuid/cmd/anonuuid`\n\n### Using brew\n\n- `brew install moul/moul/anonuuid`\n\n### Download release\n\nhttps://github.com/moul/anonuuid/releases\n\n## License\n\n© 2015-2021   [Manfred Touron](https://manfred.life) -\n[Apache-2.0 License](https://github.com/moul/anonuuid/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoul%2Fanonuuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoul%2Fanonuuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoul%2Fanonuuid/lists"}