commit 029b83ef9b5bcbfc6d59f2fbb88c89f1abfaa1ba Author: Simon Bruder Date: Sun May 26 15:29:43 2019 +0000 init diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e6f8fe3 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +kind: pipeline +name: default + +steps: + - name: build + image: mikefarah/yq + commands: + - yq r -j bangs.yml > bangs.json + + - name: upload + image: plugins/s3 + settings: + bucket: cdn + access_key: + from_secret: aws_access_key_id + secret_key: + from_secret: aws_secret_access_key + source: bangs.json + target: /bangs/ + path_style: true + endpoint: https://s3.sbruder.de diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..890149a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bangs.json diff --git a/bangs.yml b/bangs.yml new file mode 100644 index 0000000..d806df7 --- /dev/null +++ b/bangs.yml @@ -0,0 +1,13 @@ +# Wikipedia +wde: https://de.wikipedia.org/w/index.php?search=%s +wen: https://en.wikipedia.org/wiki/Special:Search?search=%s + +# Youtube +yt: https://www.youtube.com/results?search_query=%s + +# Dictionaries +jisho: https://jisho.org/search/%s +lide: https://de.linguee.com/deutsch-englisch/search?query=%s + +# Package search +alpine: https://pkgs.alpinelinux.org/packages?name=%s&arch=x86_64