{"id":37188596,"url":"https://github.com/orsinium-labs/anonymizer","last_synced_at":"2026-01-14T21:56:16.595Z","repository":{"id":264477708,"uuid":"893163156","full_name":"orsinium-labs/anonymizer","owner":"orsinium-labs","description":"🙈 Go package for anonymizing text. Removes all kinds of PII: names, places, phone numbers, etc.","archived":false,"fork":false,"pushed_at":"2024-11-24T15:27:50.000Z","size":1143,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T09:22:54.449Z","etag":null,"topics":["anonymisation","anonymization","go","golang","medical","pii","text-processing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/orsinium-labs.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-11-23T17:43:43.000Z","updated_at":"2025-01-13T01:23:42.000Z","dependencies_parsed_at":"2024-11-24T16:30:43.069Z","dependency_job_id":"cd9b3b8b-958b-46fa-8a55-f0d603f3fbd8","html_url":"https://github.com/orsinium-labs/anonymizer","commit_stats":null,"previous_names":["orsinium-labs/anonymizer"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/orsinium-labs/anonymizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fanonymizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fanonymizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fanonymizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fanonymizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orsinium-labs","download_url":"https://codeload.github.com/orsinium-labs/anonymizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fanonymizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T21:32:52.117Z","status":"ssl_error","status_checked_at":"2026-01-14T21:32:33.442Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["anonymisation","anonymization","go","golang","medical","pii","text-processing"],"created_at":"2026-01-14T21:56:16.066Z","updated_at":"2026-01-14T21:56:16.574Z","avatar_url":"https://github.com/orsinium-labs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# anonymizer\n\nGo package for anonymizing text. It removes all kinds of PII: names, places, phone numbers, etc.\n\nThe main design principle is \"better safe than sorry\": if it's not sure if a word should be anonymized, it gets anonymized. It includes all non-dictionary words and words starting with a capital letter (which aren't at the beginning of a sentence).\n\n## Example\n\nInput:\n\n\u003e Good morning, doctor. My name is Gram. I live in amsterdam, at kerkstraat 42. My social number is 123-456.\n\nOutput:\n\n\u003e Good morning, doctor. My name is █▄▄▄. I live in ▄▄▄▄▄▄▄▄▄, at ▄▄▄▄▄▄▄▄▄▄ 00. My social number is 000-000.\n\n## Installation\n\n```bash\ngo get github.com/orsinium-labs/anonymizer\n```\n\nMake sure you have dictionaries installed for the language you're going to anonymize. For example, for American English:\n\n```bash\nsudo apt install wamerican\n```\n\nTo list dictionaries that you already have installed:\n\n```bash\nls /usr/share/dict\n```\n\nTo list all dictionaries that can be installed:\n\n```bash\nsudo apt install aptitude\naptitude search '?provides(wordlist)'\n```\n\nIf the language is not found or not provided, the default one will be used. Run `sudo select-default-wordlist` to change the system default.\n\n## Usage\n\n```go\ninput := \"Hi, my name is Gram.\"\ndict, err := anonymizer.LoadDict(\"en\")\nif err != nil {\n    panic(err)\n}\na := anonymizer.New(dict)\na.Language = \"en\"\noutput := a.Anonymize(input)\nfmt.Println(output)\n// Output: Hi, my name is Xxxx.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forsinium-labs%2Fanonymizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forsinium-labs%2Fanonymizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forsinium-labs%2Fanonymizer/lists"}