From bf421bfb2758e0434c8ca9d80136a534324a5f0b Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Sat, 10 Mar 2018 05:34:49 +0100 Subject: [PATCH] Add Gitea (#2135) * Add Gitea * Removing unnecessary group Signed-off-by: Jonas Franz * Improve regex of Gitea Add support for version detecting Signed-off-by: Jonas Franz * Switch to https --- src/apps.json | 16 +++++ src/icons/gitea.svg | 160 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 176 insertions(+) create mode 100644 src/icons/gitea.svg diff --git a/src/apps.json b/src/apps.json index 2c4577943..e2efe05c2 100644 --- a/src/apps.json +++ b/src/apps.json @@ -3587,6 +3587,22 @@ "script": "js/gogs\\.js", "website": "http://gogs.io" }, + "Gitea": { + "cats": [ + 47 + ], + "headers": { + "Set-Cookie": "^i_like_gitea=" + }, + "html": [ + "
\n\\s+© Gitea Version: ([\\d.]+)\\;version:\\1" + ], + "icon": "gitea.svg", + "meta": { + "keywords": "^go,git,self-hosted,gitea$" + }, + "website": "https://gitea.io" + }, "Google AdSense": { "cats": [ 36 diff --git a/src/icons/gitea.svg b/src/icons/gitea.svg new file mode 100644 index 000000000..ac1594adb --- /dev/null +++ b/src/icons/gitea.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + +