Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moul/anonuuid

:wrench: Anonymize UUIDs outputs (written in Golang)
https://github.com/moul/anonuuid

anonymous cli privacy tool uuid

Last synced: 1 day ago
JSON representation

:wrench: Anonymize UUIDs outputs (written in Golang)

Awesome Lists containing this project

README

        

# anonuuid

:wrench: anonymize UUIDs

![anonuuid Logo](https://raw.githubusercontent.com/moul/anonuuid/master/assets/anonuuid.png)

[![CircleCI](https://circleci.com/gh/moul/anonuuid.svg?style=shield)](https://circleci.com/gh/moul/anonuuid)
[![GoDoc](https://godoc.org/moul.io/anonuuid?status.svg)](https://godoc.org/moul.io/anonuuid)
[![License](https://img.shields.io/github/license/moul/anonuuid.svg)](https://github.com/moul/anonuuid/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/moul/anonuuid.svg)](https://github.com/moul/anonuuid/releases)
[![Go Report Card](https://goreportcard.com/badge/moul.io/anonuuid)](https://goreportcard.com/report/moul.io/anonuuid)
[![CodeFactor](https://www.codefactor.io/repository/github/moul/anonuuid/badge)](https://www.codefactor.io/repository/github/moul/anonuuid)
[![codecov](https://codecov.io/gh/moul/anonuuid/branch/master/graph/badge.svg)](https://codecov.io/gh/moul/anonuuid)
[![Docker Metrics](https://images.microbadger.com/badges/image/moul/anonuuid.svg)](https://microbadger.com/images/moul/anonuuid)
[![Sourcegraph](https://sourcegraph.com/github.com/moul/anonuuid/-/badge.svg)](https://sourcegraph.com/github.com/moul/anonuuid?badge)
[![Made by Manfred Touron](https://img.shields.io/badge/made%20by-Manfred%20Touron-blue.svg?style=flat)](https://manfred.life/)

**anonuuid** anonymize an input string by replacing all UUIDs by an anonymized
new one.

The fake UUIDs are cached, so if `anonuuid` encounter the same real UUIDs multiple
times, the translation will be the same.

## Usage

```console
$ anonuuid --help
NAME:
anonuuid - Anonymize UUIDs outputs

USAGE:
anonuuid [global options] command [command options] [arguments...]

VERSION:
1.0.0-dev

AUTHOR(S):
Manfred Touron

COMMANDS:
help, h Shows a list of commands or help for one command

GLOBAL OPTIONS:
--hexspeak Generate hexspeak style fake UUIDs
--random, -r Generate random fake UUIDs
--keep-beginning Keep first part of the UUID unchanged
--keep-end Keep last part of the UUID unchanged
--prefix, -p Prefix generated UUIDs
--suffix Suffix generated UUIDs
--help, -h show help
--version, -v print the version
```

## Example

Replace all UUIDs and cache the correspondance.

```command
$ anonuuid git:(master) ✗ cat <