asciimoo 6fbb526178 Merge pull request #68 from aveao/patch-1
Add support for image/x-icon

git-svn-id: file:///srv/svn/repo/yukari/trunk@89 f3bd38d9-da89-464d-a02a-eb04e43141b5
2019-01-14 12:27:30 +00:00
2016-11-28 20:47:18 +00:00
2018-05-28 13:30:49 +00:00
2016-10-30 11:57:34 +00:00
2019-01-08 23:38:56 +00:00

Morty

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.

Features:

  • 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 github.com/asciimoo/morty
$ "$GOPATH/bin/morty" --help

Test

$ cd "$GOPATH/src/github.com/asciimoo/morty"
$ go test

Benchmark

$ cd "$GOPATH/src/github.com/asciimoo/morty"
$ go test -benchmem -bench .

Bugs

Bugs or suggestions? Visit the issue tracker.

Description
Web content sanitizer proxy as a service (meant for SearX, but can be used standalone)
https://suzunaan.yakumo.dev/yukari/
Readme AGPL-3.0 9 MiB
Languages
Go 88.3%
Roff 5.9%
HTML 3.2%
Makefile 1.6%
Shell 1%