From 7fbc4ef27b21b9fa38b61df45f68070eca66b9f0 Mon Sep 17 00:00:00 2001 From: scith Date: Tue, 29 Nov 2016 16:15:18 +0100 Subject: [PATCH] First commit --- README.md | 18 ++++++ index.php | 129 ++++++++++++++++++++++++++++++++++++++ install-with-yunohost.png | Bin 0 -> 3772 bytes logo-ynh-white.svg | 34 ++++++++++ 4 files changed, 181 insertions(+) create mode 100644 README.md create mode 100644 index.php create mode 100644 install-with-yunohost.png create mode 100644 logo-ynh-white.svg diff --git a/README.md b/README.md new file mode 100644 index 0000000..9950c5a --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +This small webpage helps users install specific apps by redirecting them to the appropriate page of their YunoHost admin panels. + +It is used to create an "Install with YunoHost" badge/link that can be placed on app developers' websites to promote YunoHost. This badge is similar to the badges "deploy to Heroku" etc... + +As YunoHost is not a centralized service, such a badge cannot link directly to users' servers. They are thus redirected to this page in which they have to enter the link to their server. This trick is similar to the one used in the "share to diaspora*" badge, which is also a decentralized service. + + +# Embed the "Install with YunoHost" button + +Example for the Roundcube app + +*HTML* + +`Install Roundcube with YunoHost` + +*Markdown* + +`[![Install Roundcube with YunoHost](http://www.scith.ovh/installynh/install-with-yunohost.png)](http://www.scith.ovh/installynh/?app=roundcube)` diff --git a/index.php b/index.php new file mode 100644 index 0000000..8ed6d41 --- /dev/null +++ b/index.php @@ -0,0 +1,129 @@ + + + + + + + + + Install with YunoHost + + + +

+ +

+
+ +
+
+ + +
+
+
+ + \ No newline at end of file diff --git a/install-with-yunohost.png b/install-with-yunohost.png new file mode 100644 index 0000000000000000000000000000000000000000..b463c53c7b0fb9d500e1d1d90435d8d6079b656d GIT binary patch literal 3772 zcmd^Cc{r49+aG&GNLj-)$P&hkF&H~z8T-CVvteQuGb3Y76onREArZ1APnHs8&rY5c zDob`1QMR%c-*}#<=llM6j`ur`_uuzA?)$#B^LK97@4SxVzG`o4&c`Fp0{{T{P!>o> zW}nA=6%Mg6zqV^E515@8-PE1#ME0YHqN#X*5s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