Changeset 150 in code for trunk/README.md
- Timestamp:
- Mar 24, 2024, 12:58:49 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.md
r149 r150 1 1 # Yukari's Gap 2 3 Web content sanitizer proxy as a service, fork of [MortyProxy](https://github.com/asciimoo/morty) with some suggestions from the issue tracker applied, named after [the youkai you shouldn't ever come near](https://en.touhouwiki.net/wiki/Yukari_Yakumo) 2 Web content sanitizer proxy as a service[^1], fork of [MortyProxy](https://github.com/asciimoo/morty) with some suggestions from the issue tracker applied, named after [the youkai you shouldn't ever come near](https://en.touhouwiki.net/wiki/Yukari_Yakumo) 4 3 5 4 Yukari's Gap rewrites web pages to exclude malicious HTML tags and attributes. It also replaces external resource references to prevent third party information leaks. … … 18 17 * Optional HMAC URL verifier key to prevent service abuse 19 18 20 21 19 ## Installation and setup 22 20 Requirement: Go version 1.16 or higher (thus making it incompatible with MortyProxy's own requirement, but also to use `go embed`) … … 26 24 $ "$GOPATH/bin/yukari" --help 27 25 ``` 28 29 26 ### Usage 30 27 See `yukari(1)` 31 32 ### Environment variables33 34 Yukari can additionally be configured using the following environment variables:35 - `YUKARI_ADDRESS`: Listen address (default to `127.0.0.1:3000`)36 - `YUKARI_KEY`: HMAC url validation key (base64 encoded) to prevent direct URL opening. Leave blank to disable validation. Use `openssl rand -base64 33` to generate.37 - `YUKARI_URL_PARAM`: User-defined requesting string URL parameter name (ie: `/?url=...` or `/?u=...`) (default `yukariurl`)38 - `YUKARI_HASH_PARAM`: User-defined requesting string HASH parameter name (ie: `/?hash=...` or `/?h=...`) (default `yukarihash`)39 - `DEBUG`: Enable/disable proxy and redirection logs (default to `true`). Set to `false` to disable.40 28 41 29 ### Test 42 30 43 31 ``` 44 $ cd "$GOPATH/src/marisa.chaotic.ninja/yukari" 45 $ go test 32 $ make test 46 33 ``` 47 48 34 49 35 ### Benchmark 50 36 51 37 ``` 52 $ cd "$GOPATH/src/marisa.chaotic.ninja/yukari" 53 $ go test -benchmem -bench . 38 $ make bench 54 39 ``` 55 56 40 57 41 ## Bugs 58 42 Bugs or suggestions? Mail [yukari-dev@chaotic.ninja](mailto:yukari-dev@chaotic.ninja) 43 44 --- 45 46 [^1]: or WCPaaS, mind you, also I didn't come up with that, it was already there when I arrived
Note:
See TracChangeset
for help on using the changeset viewer.