├── LICENSE ├── README.md ├── assets ├── android-chrome-192x192.png ├── android-chrome-512x512.png ├── apple-touch-icon.png ├── browserconfig.xml ├── favicon-16x16.png ├── favicon-32x32.png ├── favicon.ico ├── mstile-144x144.png ├── mstile-150x150.png ├── mstile-310x150.png ├── mstile-310x310.png ├── mstile-70x70.png ├── safari-pinned-tab.svg └── site.webmanifest └── plugin.php /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2013-present, The YOURLS Contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # YOURLS Favicon Plugin [![Listed in Awesome YOURLS!](https://img.shields.io/badge/Awesome-YOURLS-C5A3BE)](https://github.com/YOURLS/awesome-yourls/) 2 | 3 | > Displays a fancy YOURLS favicon in all flavors (Chrome, Safari, Android...) 4 | 5 | Requires [YOURLS](https://yourls.org) `1.7.10` and above. 6 | 7 | ## Installation 8 | 9 | 1. In `/user/plugins`, create a new folder named `yourls-favicon`. 10 | 2. Drop these files in that directory. 11 | 3. Go to the Plugins administration page (eg. `http://sho.rt/admin/plugins.php`) and activate the plugin. 12 | 4. Have fun! 13 | 14 | ## Usage 15 | 16 | After plugin is activated, you can check your favicon with the [favicon checker](https://realfavicongenerator.net/favicon_checker) 17 | 18 | 19 | ## License 20 | 21 | This package is licensed under the [MIT License](LICENSE). 22 | 23 | HTML code courtesy of the excellent [RealFaviconGenerator](https://realfavicongenerator.net/) 24 | 25 | -------------------------------------------------------------------------------- /assets/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/android-chrome-192x192.png -------------------------------------------------------------------------------- /assets/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/android-chrome-512x512.png -------------------------------------------------------------------------------- /assets/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/apple-touch-icon.png -------------------------------------------------------------------------------- /assets/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | #4ea3c5 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/favicon-16x16.png -------------------------------------------------------------------------------- /assets/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/favicon-32x32.png -------------------------------------------------------------------------------- /assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/favicon.ico -------------------------------------------------------------------------------- /assets/mstile-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/mstile-144x144.png -------------------------------------------------------------------------------- /assets/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/mstile-150x150.png -------------------------------------------------------------------------------- /assets/mstile-310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/mstile-310x150.png -------------------------------------------------------------------------------- /assets/mstile-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/mstile-310x310.png -------------------------------------------------------------------------------- /assets/mstile-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YOURLS/yourls-favicon/3820c5ed3e067bba21531902d34d7f4f918e1088/assets/mstile-70x70.png -------------------------------------------------------------------------------- /assets/safari-pinned-tab.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | Created by potrace 1.11, written by Peter Selinger 2001-2013 9 | 10 | 12 | 19 | 27 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /assets/site.webmanifest: -------------------------------------------------------------------------------- 1 | { 2 | "name": "YOURLS", 3 | "short_name": "YOURLS", 4 | "icons": [ 5 | { 6 | "src": "android-chrome-192x192.png", 7 | "sizes": "192x192", 8 | "type": "image/png" 9 | }, 10 | { 11 | "src": "android-chrome-512x512.png", 12 | "sizes": "512x512", 13 | "type": "image/png" 14 | } 15 | ], 16 | "theme_color": "#4ea3c5", 17 | "background_color": "#4ea3c5" 18 | } 19 | -------------------------------------------------------------------------------- /plugin.php: -------------------------------------------------------------------------------- 1 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | HTML; 34 | 35 | return true; 36 | } 37 | --------------------------------------------------------------------------------