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