ammonia
x8
ammonia | x8 | |
---|---|---|
2 | 1 | |
469 | 1,488 | |
4.7% | - | |
6.8 | 4.6 | |
30 days ago | 10 days ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ammonia
-
What's your favorite alternative to bleach for sanitizing HTML?
nh3 which is a python binding for the Rust-based ammonia
-
How to write Python extensions in Rust with PyO3
For a somewhat more "productive" hello world (as in a very simple application which does useful things), there's nh3 (https://github.com/messense/nh3) which is a pretty simple wrapper around ammonia (https://github.com/rust-ammonia/ammonia), an HTML sanitisation library. The lib.rs is all of 125 SLOC (and about half of that is owing to the handling of `attribute_filter` which is pretty demanding on the glue layer: https://github.com/messense/nh3/commit/72be3e6728b7ceb9185e7...).
x8
What are some alternatives?
syntect - Rust library for syntax highlighting using Sublime Text syntax definitions.
feroxbuster - A fast, simple, recursive content discovery tool written in Rust.
html-sanitizer - Allowlist-based HTML cleaner
sudo_pair - Plugin for sudo that requires another human to approve and monitor privileged sudo sessions
rust_python_package_example - Example of a Rust compiled Python 3 package
OpenSK - OpenSK is an open-source implementation for security keys written in Rust that supports both FIDO U2F and FIDO2 standards.
bleach - Bleach is an allowed-list-based HTML sanitizing library that escapes or strips markup and attributes
request_smuggler - Http request smuggling vulnerability scanner
binserve - A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.
sn0int - Semi-automatic OSINT framework and package manager
delta-rs - A native Rust library for Delta Lake, with bindings into Python
kurl - HTTP Requests for security researchers