bunnylol clone in go. github.com/boostchicken/lol
5.9K
A clone of Meta's bunnylol service written in go, configuration is via a YAML file, check the example in the repo.
Default: https://127.0.0.1:8080/lol?q=%s
Reverse Proxy: https://lol.boostchicken.dev/lol?q=%s
There is a barebones UI that lists all commmands
Default: https://127.0.0.1:8080/
Reverse Proxy: https://lol.boostchicken.dev/
- command: gh
type: Alias
value: https://www.github.com
gh -> http://www.github.com
- command: ghuser
type: Redirect
value: https://www.github.com/%s
ghuser boostchicken -> https://www.github.com/boostchicken
- command: ghr
type: RedirectVarArgs
value: https://www.github.com/%s/%s
ghr boostchicken lol -> https://www.github.com/boostchicken/lol
GET /rehash
Reloads the configuration. For use after editing config via filesystem
PUT /config
Replaces the configuration file in memory, does not write it to disk. Rehashes server after update. This will not cause the server to rebind
Headers
application/yamlBody
---
bind: "0.0.0.0:6969"
entries:
- command: g
type: Redirect
value: https://www.google.com/search?q=%s
- command: github
type: RedirectVarArgs
value: https://www.github.com/%s/%s
- command: pihole
type: Alias
value: http://pi.hole
Headers
GET /config
Returns the current config in YAML
application/yamlBody
---
bind: "0.0.0.0:6969"
entries:
- command: g
type: Redirect
value: https://www.google.com/search?q=%s
ghcr.io/boostchicken/lol:latest
-v /tmp/config.yaml:/go/config.yaml
Content type
Image
Digest
sha256:016d8a612…
Size
122.7 MB
Last updated
about 3 years ago
docker pull boostchicken/lol