Privacy aware web content sanitizer proxy as a service
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2cc130c Sep 7, 2018


Build Status License: AGPL v3

Web content sanitizer proxy as a service

Morty rewrites web pages to exclude malicious HTML tags and attributes. It also replaces external resource references to prevent third party information leaks.

The main goal of morty is to provide a result proxy for searx, but it can be used as a standalone sanitizer service too.


  • HTML sanitization
  • Rewrites HTML/CSS external references to locals
  • JavaScript blocking
  • No Cookies forwarded
  • No Referrers
  • No Caching/Etag
  • Supports GET/POST forms and IFrames
  • Optional HMAC URL verifier key to prevent service abuse

Installation and setup

Requirement: Go version 1.10 or higher.

$ go get
$ "$GOPATH/bin/morty" --help


$ cd "$GOPATH/src/"
$ go test


$ cd "$GOPATH/src/"
$ go test -benchmem -bench .


Bugs or suggestions? Visit the issue tracker.