{"id":13413983,"url":"https://github.com/JoshuaDoes/gofuckyourself","last_synced_at":"2025-03-14T20:30:56.830Z","repository":{"id":57496927,"uuid":"147979190","full_name":"JoshuaDoes/gofuckyourself","owner":"JoshuaDoes","description":"A sanitization-based swear filter for Go.","archived":false,"fork":false,"pushed_at":"2023-04-16T19:15:33.000Z","size":22,"stargazers_count":63,"open_issues_count":4,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-22T13:32:23.120Z","etag":null,"topics":["filter","golang","joshuadoes","swear","swear-filter"],"latest_commit_sha":null,"homepage":null,"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/JoshuaDoes.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}},"created_at":"2018-09-09T00:07:26.000Z","updated_at":"2024-04-06T14:53:30.000Z","dependencies_parsed_at":"2024-01-07T21:54:10.746Z","dependency_job_id":"3811304f-1d07-4f93-9481-61713a2a8799","html_url":"https://github.com/JoshuaDoes/gofuckyourself","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaDoes%2Fgofuckyourself","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaDoes%2Fgofuckyourself/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaDoes%2Fgofuckyourself/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaDoes%2Fgofuckyourself/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshuaDoes","download_url":"https://codeload.github.com/JoshuaDoes/gofuckyourself/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221504065,"owners_count":16833948,"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":["filter","golang","joshuadoes","swear","swear-filter"],"created_at":"2024-07-30T20:01:54.382Z","updated_at":"2024-10-26T06:30:32.131Z","avatar_url":"https://github.com/JoshuaDoes.png","language":"Go","funding_links":["https://paypal.me/JoshuaDoes"],"categories":["Text Processing","文本处理","文本处理`解析和操作文本的代码库`","Bot Building","Template Engines","Utility"],"sub_categories":["Sanitation","查询语","HTTP Clients","环境卫生"],"readme":"# gofuckyourself\n\n[![GoDoc](https://godoc.org/github.com/JoshuaDoes/gofuckyourself?status.svg)](https://godoc.org/github.com/JoshuaDoes/gofuckyourself)\n[![Go Report Card](https://goreportcard.com/badge/github.com/JoshuaDoes/gofuckyourself)](https://goreportcard.com/report/github.com/JoshuaDoes/gofuckyourself)\n[![cover.run](https://cover.run/go/github.com/JoshuaDoes/gofuckyourself.svg?style=flat\u0026tag=golang-1.10)](https://cover.run/go?tag=golang-1.10\u0026repo=github.com%2FJoshuaDoes%2Fgofuckyourself)\n\nA sanitization-based swear filter for Go.\n\n# Installing\n`go get github.com/JoshuaDoes/gofuckyourself`\n\n# Example\n```Go\npackage main\n\nimport (\n\t\"fmt\"\n\n\tswearfilter \"github.com/JoshuaDoes/gofuckyourself\"\n)\n\nvar message = \"This is a fûçking message with shitty swear words.\"\nvar swears = []string{\"fuck\", \"shit\"}\n\nfunc main() {\n\tfilter := swearfilter.New(false, false, false, false, false, swears...)\n\tswearFound, swearsFound, err := filter.Check(message)\n\tfmt.Println(\"Swear found: \", swearFound)\n\tfmt.Println(\"Swears tripped: \", swearsFound)\n\tfmt.Println(\"Error: \", err)\n}\n```\n### Output\n```\n\u003e go run main.go\nSwear found:  true\nSwears tripped:  [fuck shit]\nError:  \u003cnil\u003e\n```\n\n## License\nThe source code for gofuckyourself is released under the MIT License. See LICENSE for more details.\n\n## Donations\nAll donations are appreciated and help me stay awake at night to work on this more. Even if it's not much, it helps a lot in the long run!\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/JoshuaDoes)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJoshuaDoes%2Fgofuckyourself","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJoshuaDoes%2Fgofuckyourself","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJoshuaDoes%2Fgofuckyourself/lists"}