{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/bluemonday/","markdown":"https://findsoftware.frbit.cloud/bluemonday.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"bluemonday","name":"bluemonday","urls":{"repository":"https://github.com/microcosm-cc/bluemonday"},"category":["library"],"description":"HTML sanitizer for Go that removes markup outside an allowlist from untrusted input, such as user generated content.","maintainer":"David Kitchen","firstRelease":2018,"hosting":["binary"],"language":"go","runtime":["binary"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"go get","licenseModel":"open-source","license":"BSD-3-Clause","currentMajor":"1","latestReleaseDate":"2024-07-04T00:00:00.000Z","githubStargazers":3731,"contributors":29,"packagistDownloads":null,"npmWeeklyDownloads":null,"checkedAt":"2026-11-04T00:00:00.000Z","addedAt":"2026-11-04T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/microcosm-cc/bluemonday","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/microcosm-cc/bluemonday/main/LICENSE.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/microcosm-cc/bluemonday","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/microcosm-cc/bluemonday/main/README.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"category","url":"https://raw.githubusercontent.com/microcosm-cc/bluemonday/main/README.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/microcosm-cc/bluemonday/main/README.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/microcosm-cc/bluemonday/main/LICENSE.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"licenseModel","url":"https://raw.githubusercontent.com/microcosm-cc/bluemonday/main/LICENSE.md","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"firstRelease","url":"https://proxy.golang.org/github.com/microcosm-cc/bluemonday/@v/v1.0.0.info","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"currentMajor","url":"https://proxy.golang.org/github.com/microcosm-cc/bluemonday/@v/v1.0.27.info","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://proxy.golang.org/github.com/microcosm-cc/bluemonday/@v/v1.0.27.info","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/microcosm-cc/bluemonday","checkedAt":"2026-11-04T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/microcosm-cc/bluemonday/contributors?per_page=1","checkedAt":"2026-11-04T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"bluemonday is an HTML sanitizer for Go. It takes untrusted HTML, such as user generated content, and returns HTML limited to an allowlist of elements and attributes. A Go server builds a policy, either from the two policies the library ships or from its own rules, and applies it to each input. The library is installed with `go get`.\n\n## Worth knowing\n\nThe README asks that bluemonday run after any other HTML processing, such as Markdown rendering, so that no unsanitized markup is added later. Script and style elements are dropped unless the policy enables them."}