Last change
on this file since 86 was 86, checked in by asciimoo, 7 years ago |
Merge branch 'master' into readme-travis-oops
|
File size:
1.2 KB
|
Line | |
---|
1 | # Morty
|
---|
2 |
|
---|
3 | [](https://travis-ci.org/asciimoo/morty)
|
---|
4 | [](https://www.gnu.org/licenses/agpl-3.0)
|
---|
5 |
|
---|
6 | Web content sanitizer proxy as a service
|
---|
7 |
|
---|
8 | Morty rewrites web pages to exclude malicious HTML tags and attributes. It also replaces external resource references to prevent third party information leaks.
|
---|
9 |
|
---|
10 | The main goal of morty is to provide a result proxy for [searx](https://asciimoo.github.com/searx/), but it can be used as a standalone sanitizer service too.
|
---|
11 |
|
---|
12 | Features:
|
---|
13 |
|
---|
14 | - HTML sanitization
|
---|
15 | - Rewrites HTML/CSS external references to locals
|
---|
16 | - JavaScript blocking
|
---|
17 | - No Cookies forwarded
|
---|
18 | - No Referrers
|
---|
19 | - No Caching/Etag
|
---|
20 | - Supports GET/POST forms and IFrames
|
---|
21 | - Optional HMAC URL verifier key to prevent service abuse
|
---|
22 |
|
---|
23 |
|
---|
24 | ## Installation and setup
|
---|
25 | Requirement: Go version 1.10 or higher.
|
---|
26 |
|
---|
27 | ```
|
---|
28 | $ go get github.com/asciimoo/morty
|
---|
29 | $ "$GOPATH/bin/morty" --help
|
---|
30 | ```
|
---|
31 |
|
---|
32 |
|
---|
33 | ### Test
|
---|
34 |
|
---|
35 | ```
|
---|
36 | $ cd "$GOPATH/src/github.com/asciimoo/morty"
|
---|
37 | $ go test
|
---|
38 | ```
|
---|
39 |
|
---|
40 |
|
---|
41 | ### Benchmark
|
---|
42 |
|
---|
43 | ```
|
---|
44 | $ cd "$GOPATH/src/github.com/asciimoo/morty"
|
---|
45 | $ go test -benchmem -bench .
|
---|
46 | ```
|
---|
47 |
|
---|
48 |
|
---|
49 | ## Bugs
|
---|
50 |
|
---|
51 | Bugs or suggestions? Visit the [issue tracker](https://github.com/asciimoo/morty/issues).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.