From be66be6e293763d7cd96b05853ea280e02f84c9e Mon Sep 17 00:00:00 2001 From: Stefan Bohacek Date: Fri, 17 May 2024 08:19:39 -0400 Subject: [PATCH] First commit. --- Dockerfile | 2 + LICENSE.md | 21 ++ README.md | 74 ++++++++ captain-definition | 4 + fediverse-share-button/icons/calckey.svg | 7 + fediverse-share-button/icons/diaspora.svg | 7 + fediverse-share-button/icons/ecko.svg | 7 + fediverse-share-button/icons/friendica.svg | 7 + fediverse-share-button/icons/glitch-soc.svg | 7 + fediverse-share-button/icons/gnu_social.svg | 1 + fediverse-share-button/icons/gotosocial.svg | 9 + fediverse-share-button/icons/groundpolis.svg | 7 + fediverse-share-button/icons/hometown.svg | 17 ++ fediverse-share-button/icons/hubzilla.svg | 9 + fediverse-share-button/icons/kepi.svg | 12 ++ fediverse-share-button/icons/lemmy.svg | 7 + fediverse-share-button/icons/mastodon.svg | 9 + fediverse-share-button/icons/misskey.svg | 1 + fediverse-share-button/icons/misty.svg | 7 + fediverse-share-button/icons/osada.svg | 9 + fediverse-share-button/icons/pleroma.svg | 1 + fediverse-share-button/icons/question.svg | 7 + fediverse-share-button/icons/socialhome.svg | 9 + fediverse-share-button/icons/todo.txt | 6 + fediverse-share-button/icons/xmpp.svg | 7 + fediverse-share-button/icons/zap.svg | 1 + fediverse-share-button/script.js | 190 +++++++++++++++++++ fediverse-share-button/script.min.js | 1 + fediverse-share-button/styles.css | 97 ++++++++++ fediverse-share-button/styles.min.css | 1 + images/fsb-1200x800.png | Bin 0 -> 5610 bytes images/fsb-640x480.png | Bin 0 -> 3924 bytes index.html | 98 ++++++++++ 33 files changed, 642 insertions(+) create mode 100644 Dockerfile create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 captain-definition create mode 100644 fediverse-share-button/icons/calckey.svg create mode 100644 fediverse-share-button/icons/diaspora.svg create mode 100644 fediverse-share-button/icons/ecko.svg create mode 100644 fediverse-share-button/icons/friendica.svg create mode 100644 fediverse-share-button/icons/glitch-soc.svg create mode 100644 fediverse-share-button/icons/gnu_social.svg create mode 100644 fediverse-share-button/icons/gotosocial.svg create mode 100644 fediverse-share-button/icons/groundpolis.svg create mode 100644 fediverse-share-button/icons/hometown.svg create mode 100644 fediverse-share-button/icons/hubzilla.svg create mode 100644 fediverse-share-button/icons/kepi.svg create mode 100644 fediverse-share-button/icons/lemmy.svg create mode 100644 fediverse-share-button/icons/mastodon.svg create mode 100644 fediverse-share-button/icons/misskey.svg create mode 100644 fediverse-share-button/icons/misty.svg create mode 100644 fediverse-share-button/icons/osada.svg create mode 100644 fediverse-share-button/icons/pleroma.svg create mode 100644 fediverse-share-button/icons/question.svg create mode 100644 fediverse-share-button/icons/socialhome.svg create mode 100644 fediverse-share-button/icons/todo.txt create mode 100644 fediverse-share-button/icons/xmpp.svg create mode 100644 fediverse-share-button/icons/zap.svg create mode 100644 fediverse-share-button/script.js create mode 100644 fediverse-share-button/script.min.js create mode 100644 fediverse-share-button/styles.css create mode 100644 fediverse-share-button/styles.min.css create mode 100644 images/fsb-1200x800.png create mode 100644 images/fsb-640x480.png create mode 100644 index.html diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a59956b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM nginx:alpine +COPY . /usr/share/nginx/html \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..b2f79ce --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2024 Stefan Bohacek, with contributions from The Bootstrap Authors and Themesberg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..5ed7657 --- /dev/null +++ b/README.md @@ -0,0 +1,74 @@ +# Fediverse Sharing Button + +Let your site's visitors share your work with the fediverse! + +## Features + +- minimalist design inspired by Bootstrap +- shows a logo of supported fediverse software +- lets you share selected text +- remembers the last fediverse domain used +- free (as in fediverse) to use! + +## How to use + +1. Download the files in this repo. +2. Add the JavaScript code and CSS stylesheet to your page. + +```html + + + + + \ No newline at end of file