From 46a64269605a30481712e428a540e2d505580f18 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 26 Jun 2023 15:19:36 +0300 Subject: [PATCH] Initial commit --- .gitignore | 5 + .gitlab-ci.yml | 10 + LICENSE | 427 ++++++++++++++++++ data/plugins/official/altalias.yaml | 7 + data/plugins/official/commitstrip.yaml | 8 + data/plugins/official/dice.yaml | 9 + data/plugins/official/disruptor.yaml | 7 + data/plugins/official/echo.yaml | 12 + data/plugins/official/exec.yaml | 6 + data/plugins/official/factorial.yaml | 9 + data/plugins/official/github.yaml | 7 + data/plugins/official/gitlab.yaml | 9 + data/plugins/official/karma.yaml | 7 + data/plugins/official/manhole.yaml | 6 + data/plugins/official/media.yaml | 7 + data/plugins/official/reactbot.yaml | 7 + data/plugins/official/reminder.yaml | 8 + data/plugins/official/rss.yaml | 7 + data/plugins/official/satwcomic.yaml | 7 + data/plugins/official/sed.yaml | 8 + data/plugins/official/songwhip.yaml | 7 + data/plugins/official/supportportal.yaml | 6 + data/plugins/official/tex.yaml | 6 + data/plugins/official/translate.yaml | 8 + data/plugins/official/xkcd.yaml | 8 + data/plugins/template.yaml | 12 + data/plugins/thirdparty/activity-tracker.yaml | 6 + data/plugins/thirdparty/alertbot.yaml | 6 + data/plugins/thirdparty/alternatingcaps.yaml | 6 + data/plugins/thirdparty/autoreply.yaml | 6 + data/plugins/thirdparty/chatgpt.yaml | 6 + data/plugins/thirdparty/create-room.yaml | 6 + data/plugins/thirdparty/gifme.yaml | 11 + data/plugins/thirdparty/giphy.yaml | 6 + data/plugins/thirdparty/hasswebhookbot.yaml | 6 + data/plugins/thirdparty/help.yaml | 6 + data/plugins/thirdparty/holopin.yaml | 6 + data/plugins/thirdparty/invite.yaml | 6 + data/plugins/thirdparty/join.yaml | 6 + .../thirdparty/ldap-ad-inviterbot.yaml | 6 + data/plugins/thirdparty/metric.yaml | 6 + data/plugins/thirdparty/ovgumensabot.yaml | 6 + data/plugins/thirdparty/pingcheck.yaml | 8 + data/plugins/thirdparty/pocket.yaml | 6 + data/plugins/thirdparty/poll.yaml | 6 + data/plugins/thirdparty/random-quote.yaml | 6 + .../thirdparty/random-subreddit-post.yaml | 6 + data/plugins/thirdparty/redactbot.yaml | 6 + .../thirdparty/social-media-download.yaml | 8 + .../thirdparty/subreddit-linkifier.yaml | 7 + data/plugins/thirdparty/ticker.yaml | 6 + data/plugins/thirdparty/tmdb.yaml | 6 + data/plugins/thirdparty/token.yaml | 6 + data/plugins/thirdparty/trump.yaml | 6 + data/plugins/thirdparty/twilio.yaml | 6 + data/plugins/thirdparty/urban.yaml | 7 + data/plugins/thirdparty/urlpreview.yaml | 6 + data/plugins/thirdparty/weather.yaml | 6 + data/plugins/thirdparty/welcome.yaml | 6 + data/plugins/thirdparty/wolframalpha.yaml | 6 + hugo.toml | 4 + layouts/index.html | 30 ++ layouts/partials/plugin.html | 11 + static/index.css | 73 +++ 64 files changed, 953 insertions(+) create mode 100644 .gitignore create mode 100644 .gitlab-ci.yml create mode 100644 LICENSE create mode 100644 data/plugins/official/altalias.yaml create mode 100644 data/plugins/official/commitstrip.yaml create mode 100644 data/plugins/official/dice.yaml create mode 100644 data/plugins/official/disruptor.yaml create mode 100644 data/plugins/official/echo.yaml create mode 100644 data/plugins/official/exec.yaml create mode 100644 data/plugins/official/factorial.yaml create mode 100644 data/plugins/official/github.yaml create mode 100644 data/plugins/official/gitlab.yaml create mode 100644 data/plugins/official/karma.yaml create mode 100644 data/plugins/official/manhole.yaml create mode 100644 data/plugins/official/media.yaml create mode 100644 data/plugins/official/reactbot.yaml create mode 100644 data/plugins/official/reminder.yaml create mode 100644 data/plugins/official/rss.yaml create mode 100644 data/plugins/official/satwcomic.yaml create mode 100644 data/plugins/official/sed.yaml create mode 100644 data/plugins/official/songwhip.yaml create mode 100644 data/plugins/official/supportportal.yaml create mode 100644 data/plugins/official/tex.yaml create mode 100644 data/plugins/official/translate.yaml create mode 100644 data/plugins/official/xkcd.yaml create mode 100644 data/plugins/template.yaml create mode 100644 data/plugins/thirdparty/activity-tracker.yaml create mode 100644 data/plugins/thirdparty/alertbot.yaml create mode 100644 data/plugins/thirdparty/alternatingcaps.yaml create mode 100644 data/plugins/thirdparty/autoreply.yaml create mode 100644 data/plugins/thirdparty/chatgpt.yaml create mode 100644 data/plugins/thirdparty/create-room.yaml create mode 100644 data/plugins/thirdparty/gifme.yaml create mode 100644 data/plugins/thirdparty/giphy.yaml create mode 100644 data/plugins/thirdparty/hasswebhookbot.yaml create mode 100644 data/plugins/thirdparty/help.yaml create mode 100644 data/plugins/thirdparty/holopin.yaml create mode 100644 data/plugins/thirdparty/invite.yaml create mode 100644 data/plugins/thirdparty/join.yaml create mode 100644 data/plugins/thirdparty/ldap-ad-inviterbot.yaml create mode 100644 data/plugins/thirdparty/metric.yaml create mode 100644 data/plugins/thirdparty/ovgumensabot.yaml create mode 100644 data/plugins/thirdparty/pingcheck.yaml create mode 100644 data/plugins/thirdparty/pocket.yaml create mode 100644 data/plugins/thirdparty/poll.yaml create mode 100644 data/plugins/thirdparty/random-quote.yaml create mode 100644 data/plugins/thirdparty/random-subreddit-post.yaml create mode 100644 data/plugins/thirdparty/redactbot.yaml create mode 100644 data/plugins/thirdparty/social-media-download.yaml create mode 100644 data/plugins/thirdparty/subreddit-linkifier.yaml create mode 100644 data/plugins/thirdparty/ticker.yaml create mode 100644 data/plugins/thirdparty/tmdb.yaml create mode 100644 data/plugins/thirdparty/token.yaml create mode 100644 data/plugins/thirdparty/trump.yaml create mode 100644 data/plugins/thirdparty/twilio.yaml create mode 100644 data/plugins/thirdparty/urban.yaml create mode 100644 data/plugins/thirdparty/urlpreview.yaml create mode 100644 data/plugins/thirdparty/weather.yaml create mode 100644 data/plugins/thirdparty/welcome.yaml create mode 100644 data/plugins/thirdparty/wolframalpha.yaml create mode 100644 hugo.toml create mode 100644 layouts/index.html create mode 100644 layouts/partials/plugin.html create mode 100644 static/index.css diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f345f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json +/.hugo_build.lock diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..59f911f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +deploy: + stage: deploy + image: docker.io/klakegg/hugo + tags: + - webdeploy + only: + - main + script: + - hugo + - rsync -rcthvl --delete public/ /srv/web/plugins.maubot.xyz/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cc3e245 --- /dev/null +++ b/LICENSE @@ -0,0 +1,427 @@ +Attribution-ShareAlike 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution-ShareAlike 4.0 International Public +License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution-ShareAlike 4.0 International Public License ("Public +License"). To the extent this Public License may be interpreted as a +contract, You are granted the Licensed Rights in consideration of Your +acceptance of these terms and conditions, and the Licensor grants You +such rights in consideration of benefits the Licensor receives from +making the Licensed Material available under these terms and +conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + e. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name + of a Creative Commons Public License. The License Elements of this + Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. Additional offer from the Licensor -- Adapted Material. + Every recipient of Adapted Material from You + automatically receives an offer from the Licensor to + exercise the Licensed Rights in the Adapted Material + under the conditions of the Adapter's License You apply. + + c. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the + Adapter's License You apply. You may satisfy this condition + in any reasonable manner based on the medium, means, and + context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms + or conditions on, or apply any Effective Technological + Measures to, Adapted Material that restrict exercise of the + rights granted under the Adapter's License You apply. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material, + + including for purposes of Section 3(b); and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the “Licensor.” The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/data/plugins/official/altalias.yaml b/data/plugins/official/altalias.yaml new file mode 100644 index 0000000..37af7bf --- /dev/null +++ b/data/plugins/official/altalias.yaml @@ -0,0 +1,7 @@ +name: altalias +repo: https://github.com/maubot/altalias +license: AGPL-3.0-or-later +author: Tulir +description: A bot that lets users publish alternate aliases in rooms. +public_instances: + - "@alias:maunium.net" diff --git a/data/plugins/official/commitstrip.yaml b/data/plugins/official/commitstrip.yaml new file mode 100644 index 0000000..a245cab --- /dev/null +++ b/data/plugins/official/commitstrip.yaml @@ -0,0 +1,8 @@ +name: commitstrip +repo: https://github.com/maubot/commitstrip +license: AGPL-3.0-or-later +author: Tulir +description: A bot to view CommitStrips. +public_instances: + - "@commitstrip:maunium.net" + - "@commitstrip:t2bot.io" diff --git a/data/plugins/official/dice.yaml b/data/plugins/official/dice.yaml new file mode 100644 index 0000000..580f388 --- /dev/null +++ b/data/plugins/official/dice.yaml @@ -0,0 +1,9 @@ +name: dice +repo: https://github.com/maubot/dice +license: AGPL-3.0-or-later +author: Tulir +description: A combined dice rolling and calculator bot. +public_instances: + - "@dice:maunium.net" + - "@dice:t2bot.io" + diff --git a/data/plugins/official/disruptor.yaml b/data/plugins/official/disruptor.yaml new file mode 100644 index 0000000..48f7862 --- /dev/null +++ b/data/plugins/official/disruptor.yaml @@ -0,0 +1,7 @@ +name: disruptor +repo: https://github.com/maubot/disruptor +license: AGPL-3.0-or-later +author: Tulir +description: A bot that disrupts monologues with cat pictures. +public_instances: + - "@cat:maunium.net" diff --git a/data/plugins/official/echo.yaml b/data/plugins/official/echo.yaml new file mode 100644 index 0000000..d9b2d55 --- /dev/null +++ b/data/plugins/official/echo.yaml @@ -0,0 +1,12 @@ +name: echo +repo: https://github.com/maubot/echo +license: AGPL-3.0-or-later +author: Tulir +description: | + A bot that echoes pings and other stuff. + + See [#ping:maunium.net](https://matrix.to/#/#ping:maunium.net) for a room + with lots of echo bots. +public_instances: + - "@echo:maunium.net" + - "@echo:t2bot.io" diff --git a/data/plugins/official/exec.yaml b/data/plugins/official/exec.yaml new file mode 100644 index 0000000..899bd75 --- /dev/null +++ b/data/plugins/official/exec.yaml @@ -0,0 +1,6 @@ +name: exec +repo: https://github.com/maubot/exec +license: AGPL-3.0-or-later +author: Tulir +description: A bot that executes code. +public_instances: [] diff --git a/data/plugins/official/factorial.yaml b/data/plugins/official/factorial.yaml new file mode 100644 index 0000000..fc2b72d --- /dev/null +++ b/data/plugins/official/factorial.yaml @@ -0,0 +1,9 @@ +name: factorial +repo: https://github.com/maubot/factorial +license: AGPL-3.0-or-later +author: Tulir +description: A bot to calculate unexpected factorials. +public_instances: + - "@factorial:maunium.net" + - "@factorial:t2bot.io" + diff --git a/data/plugins/official/github.yaml b/data/plugins/official/github.yaml new file mode 100644 index 0000000..6cc85be --- /dev/null +++ b/data/plugins/official/github.yaml @@ -0,0 +1,7 @@ +name: github +repo: https://github.com/maubot/github +license: AGPL-3.0-or-later +author: Tulir +description: A GitHub client and webhook receiver. +public_instances: + - "@github:maunium.net" diff --git a/data/plugins/official/gitlab.yaml b/data/plugins/official/gitlab.yaml new file mode 100644 index 0000000..04a71ec --- /dev/null +++ b/data/plugins/official/gitlab.yaml @@ -0,0 +1,9 @@ +name: gitlab +repo: https://github.com/maubot/gitlab +license: AGPL-3.0-or-later +author: Tulir +description: A GitLab client and webhook receiver. +antifeatures: + - synchronous +public_instances: + - "@gitlab:maunium.net" diff --git a/data/plugins/official/karma.yaml b/data/plugins/official/karma.yaml new file mode 100644 index 0000000..4cac819 --- /dev/null +++ b/data/plugins/official/karma.yaml @@ -0,0 +1,7 @@ +name: karma +repo: https://github.com/maubot/karma +license: AGPL-3.0-or-later +author: Tulir +description: A user karma tracker bot. +public_instances: + - "@karma:maunium.net" diff --git a/data/plugins/official/manhole.yaml b/data/plugins/official/manhole.yaml new file mode 100644 index 0000000..a5544a6 --- /dev/null +++ b/data/plugins/official/manhole.yaml @@ -0,0 +1,6 @@ +name: manhole +repo: https://github.com/maubot/manhole +license: AGPL-3.0-or-later +author: Tulir +description: A plugin that lets you access a Python shell inside maubot. +public_instances: [] diff --git a/data/plugins/official/media.yaml b/data/plugins/official/media.yaml new file mode 100644 index 0000000..81a75a7 --- /dev/null +++ b/data/plugins/official/media.yaml @@ -0,0 +1,7 @@ +name: media +repo: https://github.com/maubot/media +license: MIT +author: Tulir +description: A bot that replies with the MXC URI of images you send it. +public_instances: + - "@media:maunium.net" diff --git a/data/plugins/official/reactbot.yaml b/data/plugins/official/reactbot.yaml new file mode 100644 index 0000000..3f263b3 --- /dev/null +++ b/data/plugins/official/reactbot.yaml @@ -0,0 +1,7 @@ +name: reactbot +repo: https://github.com/maubot/reactbot +license: AGPL-3.0-or-later +author: Tulir +description: A bot that responds to messages that match predefined rules. +public_instances: + - "@cat:maunium.net" diff --git a/data/plugins/official/reminder.yaml b/data/plugins/official/reminder.yaml new file mode 100644 index 0000000..1959f5a --- /dev/null +++ b/data/plugins/official/reminder.yaml @@ -0,0 +1,8 @@ +name: reminder +repo: https://github.com/maubot/reminder +license: AGPL-3.0-or-later +author: Tulir +description: A bot to remind you about things. +public_instances: + - "@reminder:maunium.net" + - "@reminder:t2bot.io" diff --git a/data/plugins/official/rss.yaml b/data/plugins/official/rss.yaml new file mode 100644 index 0000000..e61f17b --- /dev/null +++ b/data/plugins/official/rss.yaml @@ -0,0 +1,7 @@ +name: rss +repo: https://github.com/maubot/rss +license: AGPL-3.0-or-later +author: Tulir +description: A bot that posts RSS feed updates to Matrix. +public_instances: + - "@rss:maunium.net" diff --git a/data/plugins/official/satwcomic.yaml b/data/plugins/official/satwcomic.yaml new file mode 100644 index 0000000..77c2d8c --- /dev/null +++ b/data/plugins/official/satwcomic.yaml @@ -0,0 +1,7 @@ +name: satwcomic +repo: https://github.com/maubot/satwcomic +license: AGPL-3.0-or-later +author: Tulir +description: A bot to view SatWComics. +public_instances: + - "@satwcomic:maunium.net" diff --git a/data/plugins/official/sed.yaml b/data/plugins/official/sed.yaml new file mode 100644 index 0000000..93f3c74 --- /dev/null +++ b/data/plugins/official/sed.yaml @@ -0,0 +1,8 @@ +name: sed +repo: https://github.com/maubot/sed +license: AGPL-3.0-or-later +author: Tulir +description: A bot to do sed-like replacements. +public_instances: + - "@sed:maunium.net" + - "@sed:t2bot.io" diff --git a/data/plugins/official/songwhip.yaml b/data/plugins/official/songwhip.yaml new file mode 100644 index 0000000..fb16fcb --- /dev/null +++ b/data/plugins/official/songwhip.yaml @@ -0,0 +1,7 @@ +name: songwhip +repo: https://github.com/maubot/songwhip +license: MIT +author: Tulir +description: A bot to post Songwhip links. +public_instances: + - "@songwhip:maunium.net" diff --git a/data/plugins/official/supportportal.yaml b/data/plugins/official/supportportal.yaml new file mode 100644 index 0000000..09e0e37 --- /dev/null +++ b/data/plugins/official/supportportal.yaml @@ -0,0 +1,6 @@ +name: supportportal +repo: https://github.com/maubot/supportportal +license: AGPL-3.0-or-later +author: Tulir +description: A bot to manage customer support on Matrix. +public_instances: [] diff --git a/data/plugins/official/tex.yaml b/data/plugins/official/tex.yaml new file mode 100644 index 0000000..15920ec --- /dev/null +++ b/data/plugins/official/tex.yaml @@ -0,0 +1,6 @@ +name: tex +repo: https://github.com/maubot/tex +license: AGPL-3.0-or-later +author: Tulir +description: A bot that renders LaTeX. +public_instances: [] diff --git a/data/plugins/official/translate.yaml b/data/plugins/official/translate.yaml new file mode 100644 index 0000000..b6c23d8 --- /dev/null +++ b/data/plugins/official/translate.yaml @@ -0,0 +1,8 @@ +name: translate +repo: https://github.com/maubot/translate +license: AGPL-3.0-or-later +author: Tulir +description: A bot to translate words. +public_instances: + - "@translate:maunium.net" + - "@translate:t2bot.io" diff --git a/data/plugins/official/xkcd.yaml b/data/plugins/official/xkcd.yaml new file mode 100644 index 0000000..006616e --- /dev/null +++ b/data/plugins/official/xkcd.yaml @@ -0,0 +1,8 @@ +name: xkcd +repo: https://github.com/maubot/xkcd +license: AGPL-3.0-or-later +author: Tulir +description: A bot to view xkcd comics. +public_instances: + - "@xkcd:maunium.net" + - "@xkcd:t2bot.io" diff --git a/data/plugins/template.yaml b/data/plugins/template.yaml new file mode 100644 index 0000000..4ac6f01 --- /dev/null +++ b/data/plugins/template.yaml @@ -0,0 +1,12 @@ +# The name of the plugin. +name: +# A link to the Git repository. +repo: +# The SPDX license identifier for the plugin (same as in maubot.yaml) +license: +# The author of the plugin. +author: +# A short description for the plugin. May contain markdown. +description: +# List of public bot user IDs where the plugin is running. +public_instances: [] diff --git a/data/plugins/thirdparty/activity-tracker.yaml b/data/plugins/thirdparty/activity-tracker.yaml new file mode 100644 index 0000000..2e4e041 --- /dev/null +++ b/data/plugins/thirdparty/activity-tracker.yaml @@ -0,0 +1,6 @@ +name: activity-tracker +repo: https://github.com/williamkray/maubot-kickbot +license: +author: William Kray +description: A plugin that minimally tracks user activity within a space. Useful for kicking inactive users from a private community. +public_instances: [] diff --git a/data/plugins/thirdparty/alertbot.yaml b/data/plugins/thirdparty/alertbot.yaml new file mode 100644 index 0000000..646e147 --- /dev/null +++ b/data/plugins/thirdparty/alertbot.yaml @@ -0,0 +1,6 @@ +name: alertbot +repo: https://github.com/moan0s/alertbot +license: AGPL-3.0-or-later +author: Julian-Samuel Gebühr +description: A bot that recives monitoring alerts via alertmanager and forwards them to a matrix room. +public_instances: [] diff --git a/data/plugins/thirdparty/alternatingcaps.yaml b/data/plugins/thirdparty/alternatingcaps.yaml new file mode 100644 index 0000000..0214f04 --- /dev/null +++ b/data/plugins/thirdparty/alternatingcaps.yaml @@ -0,0 +1,6 @@ +name: alternatingcaps +repo: https://github.com/rom4nik/maubot-alternatingcaps +license: MIT +author: Przemysław Romanik +description: A bot repeating last message using aLtErNaTiNg cApS. +public_instances: [] diff --git a/data/plugins/thirdparty/autoreply.yaml b/data/plugins/thirdparty/autoreply.yaml new file mode 100644 index 0000000..5d0dc2c --- /dev/null +++ b/data/plugins/thirdparty/autoreply.yaml @@ -0,0 +1,6 @@ +name: autoreply +repo: https://github.com/babolivier/maubot-autoreply +license: Apache-2.0 +author: Brendan Abolivier +description: A bot that sends automated replies when you're away, and shows you a summary of missed messages when you come back. +public_instances: [] diff --git a/data/plugins/thirdparty/chatgpt.yaml b/data/plugins/thirdparty/chatgpt.yaml new file mode 100644 index 0000000..ec317f4 --- /dev/null +++ b/data/plugins/thirdparty/chatgpt.yaml @@ -0,0 +1,6 @@ +name: chatgpt +repo: https://github.com/williamkray/maubot-chatgpt +license: MIT +author: William Kray +description: ChatGPT plugin for maubot. Multi-user aware for use in group rooms! Customize your prompts to "train" your assistant contextually. +public_instances: [] diff --git a/data/plugins/thirdparty/create-room.yaml b/data/plugins/thirdparty/create-room.yaml new file mode 100644 index 0000000..78acdaf --- /dev/null +++ b/data/plugins/thirdparty/create-room.yaml @@ -0,0 +1,6 @@ +name: create-room +repo: https://github.com/williamkray/maubot-createroom +license: +author: William Kray +description: A plugin that creates new rooms and automatically sets them to be part of a private Matrix Space. +public_instances: [] diff --git a/data/plugins/thirdparty/gifme.yaml b/data/plugins/thirdparty/gifme.yaml new file mode 100644 index 0000000..316ba92 --- /dev/null +++ b/data/plugins/thirdparty/gifme.yaml @@ -0,0 +1,11 @@ +name: gifme +repo: https://github.com/williamkray/maubot-gifme +license: +author: William Kray +description: | + Superior gif responses. Giphy has gone downhill, so save your own library of + image or video responses. Allows fallback behavior to giphy.com or Tenor, and + can even be used as a drop-in replacement for your current giphy plugin. + Optionally saves quotes from users for comedic effect or to be used as an FAQ + bot! +public_instances: [] diff --git a/data/plugins/thirdparty/giphy.yaml b/data/plugins/thirdparty/giphy.yaml new file mode 100644 index 0000000..14e5229 --- /dev/null +++ b/data/plugins/thirdparty/giphy.yaml @@ -0,0 +1,6 @@ +name: giphy +repo: https://github.com/TomCasavant/GiphyMaubot +license: MIT +author: Tom Casavant +description: A bot that generates a gif (from giphy) given search terms. +public_instances: [] diff --git a/data/plugins/thirdparty/hasswebhookbot.yaml b/data/plugins/thirdparty/hasswebhookbot.yaml new file mode 100644 index 0000000..57a96c2 --- /dev/null +++ b/data/plugins/thirdparty/hasswebhookbot.yaml @@ -0,0 +1,6 @@ +name: hasswebhookbot +repo: https://github.com/v411e/hasswebhookbot +license: MIT +author: Valentin Rieß +description: A bot receiving webhooks from [Home Assistant](https://github.com/home-assistant). +public_instances: [] diff --git a/data/plugins/thirdparty/help.yaml b/data/plugins/thirdparty/help.yaml new file mode 100644 index 0000000..637cc23 --- /dev/null +++ b/data/plugins/thirdparty/help.yaml @@ -0,0 +1,6 @@ +name: help +repo: https://git.skeg1.se/vondassendorf/maubot_mauhelp +license: +author: Johan Christoffersson +description: A plugin to add a `!help` command to maubot. Returns all built-in help commands for all plugins loaded in the client instance. +public_instances: [] diff --git a/data/plugins/thirdparty/holopin.yaml b/data/plugins/thirdparty/holopin.yaml new file mode 100644 index 0000000..be176aa --- /dev/null +++ b/data/plugins/thirdparty/holopin.yaml @@ -0,0 +1,6 @@ +name: holopin +repo: https://github.com/itrich/HolopinMaubot +license: MIT +author: Eduard Itrich +description: A plugin to issue [Holopin](https://holopin.io) badges to users. +public_instances: [] diff --git a/data/plugins/thirdparty/invite.yaml b/data/plugins/thirdparty/invite.yaml new file mode 100644 index 0000000..a96416c --- /dev/null +++ b/data/plugins/thirdparty/invite.yaml @@ -0,0 +1,6 @@ +name: invite +repo: https://github.com/williamkray/maubot-invite +license: +author: William Kray +description: A bot to generate invitation tokens from [matrix-registration](https://github.com/ZerataX/matrix-registration). +public_instances: [] diff --git a/data/plugins/thirdparty/join.yaml b/data/plugins/thirdparty/join.yaml new file mode 100644 index 0000000..fef8506 --- /dev/null +++ b/data/plugins/thirdparty/join.yaml @@ -0,0 +1,6 @@ +name: join +repo: https://github.com/williamkray/maubot-join +license: +author: William Kray +description: A plugin that restricts who can convince your bot to join new rooms to certain users. +public_instances: [] diff --git a/data/plugins/thirdparty/ldap-ad-inviterbot.yaml b/data/plugins/thirdparty/ldap-ad-inviterbot.yaml new file mode 100644 index 0000000..c9b48d2 --- /dev/null +++ b/data/plugins/thirdparty/ldap-ad-inviterbot.yaml @@ -0,0 +1,6 @@ +name: LDAP/AD inviter bot +repo: https://github.com/SAPUCC/inviterbot +license: GPL-3.0-or-later +author: Valentin Rieß +description: A plugin to sync users from Microsoft Azure AD and LDAP into matrix rooms. (Membership, Power-Levels) +public_instances: [] diff --git a/data/plugins/thirdparty/metric.yaml b/data/plugins/thirdparty/metric.yaml new file mode 100644 index 0000000..542856f --- /dev/null +++ b/data/plugins/thirdparty/metric.yaml @@ -0,0 +1,6 @@ +name: metric +repo: https://github.com/edwardsdean/maubot_metric_bot +license: MIT +author: edwardsdean +description: A bot that will reply to a message that contains imperial units and replace them with metric units. +public_instances: [] diff --git a/data/plugins/thirdparty/ovgumensabot.yaml b/data/plugins/thirdparty/ovgumensabot.yaml new file mode 100644 index 0000000..195dd55 --- /dev/null +++ b/data/plugins/thirdparty/ovgumensabot.yaml @@ -0,0 +1,6 @@ +name: ovgumensabot +repo: https://github.com/v411e/ovgumensabot +license: MIT +author: Valentin Rieß +description: A bot that automatically sends meals from OvGU canteen every day. +public_instances: [] diff --git a/data/plugins/thirdparty/pingcheck.yaml b/data/plugins/thirdparty/pingcheck.yaml new file mode 100644 index 0000000..56296a3 --- /dev/null +++ b/data/plugins/thirdparty/pingcheck.yaml @@ -0,0 +1,8 @@ +name: pingcheck +repo: https://edugit.org/nik/maubot-pingcheck +license: MIT +author: Dominik George +description: A bot to ping the echo bot and send rtt to Icinga passive check. +antifeatures: + - synchronous +public_instances: [] diff --git a/data/plugins/thirdparty/pocket.yaml b/data/plugins/thirdparty/pocket.yaml new file mode 100644 index 0000000..4ba4c06 --- /dev/null +++ b/data/plugins/thirdparty/pocket.yaml @@ -0,0 +1,6 @@ +name: pocket +repo: https://github.com/jaywink/maubot-pocket +license: MIT +author: Jason Robinson +description: A bot integrating with Pocket to fetch articles and archive them. +public_instances: [] diff --git a/data/plugins/thirdparty/poll.yaml b/data/plugins/thirdparty/poll.yaml new file mode 100644 index 0000000..f86d404 --- /dev/null +++ b/data/plugins/thirdparty/poll.yaml @@ -0,0 +1,6 @@ +name: poll +repo: https://github.com/TomCasavant/PollMaubot +license: MIT +author: Tom Casavant +description: A bot that will create a simple poll for users in a room. +public_instances: [] diff --git a/data/plugins/thirdparty/random-quote.yaml b/data/plugins/thirdparty/random-quote.yaml new file mode 100644 index 0000000..5b8c400 --- /dev/null +++ b/data/plugins/thirdparty/random-quote.yaml @@ -0,0 +1,6 @@ +name: random-quote +repo: https://github.com/itrich/QuoteMaubot +license: MIT +author: Eduard Itrich +description: A plugin to answer with a random quote from a configurable list. +public_instances: [] diff --git a/data/plugins/thirdparty/random-subreddit-post.yaml b/data/plugins/thirdparty/random-subreddit-post.yaml new file mode 100644 index 0000000..cb60d39 --- /dev/null +++ b/data/plugins/thirdparty/random-subreddit-post.yaml @@ -0,0 +1,6 @@ +name: random-subreddit-post +repo: https://github.com/williamkray/maubot-reddit +license: +author: William Kray +description: A plugin that returns a random post from a given subreddit. +public_instances: [] diff --git a/data/plugins/thirdparty/redactbot.yaml b/data/plugins/thirdparty/redactbot.yaml new file mode 100644 index 0000000..3c1cdaf --- /dev/null +++ b/data/plugins/thirdparty/redactbot.yaml @@ -0,0 +1,6 @@ +name: redactbot +repo: https://gitlab.com/sspaeth/redactbot +license: AGPL-3.0-or-later +author: Sebastian Spaeth +description: A bot that immediately redacts any posted file (except for whitelisted types). +public_instances: [] diff --git a/data/plugins/thirdparty/social-media-download.yaml b/data/plugins/thirdparty/social-media-download.yaml new file mode 100644 index 0000000..8196629 --- /dev/null +++ b/data/plugins/thirdparty/social-media-download.yaml @@ -0,0 +1,8 @@ +name: social-media-download +repo: https://github.com/ggogel/SocialMediaDownloadMaubot +license: +author: Gerrit Gogel +description: A bot that that downloads content from various social media websites given a link. +antifeatures: + - synchronous +public_instances: [] diff --git a/data/plugins/thirdparty/subreddit-linkifier.yaml b/data/plugins/thirdparty/subreddit-linkifier.yaml new file mode 100644 index 0000000..539e909 --- /dev/null +++ b/data/plugins/thirdparty/subreddit-linkifier.yaml @@ -0,0 +1,7 @@ +name: subreddit-linkifier +repo: https://github.com/TomCasavant/RedditMaubot +license: MIT +author: Tom Casavant +description: A bot that condescendingly corrects a user when they enter an r/subreddit without providing a link to that subreddit. +public_instances: + - "@reddit:t2bot.io" diff --git a/data/plugins/thirdparty/ticker.yaml b/data/plugins/thirdparty/ticker.yaml new file mode 100644 index 0000000..0e22b49 --- /dev/null +++ b/data/plugins/thirdparty/ticker.yaml @@ -0,0 +1,6 @@ +name: ticker +repo: https://github.com/williamkray/maubot-ticker +license: +author: William Kray +description: A bot to return financial data about a stock or cryptocurrency. +public_instances: [] diff --git a/data/plugins/thirdparty/tmdb.yaml b/data/plugins/thirdparty/tmdb.yaml new file mode 100644 index 0000000..3c1f1c8 --- /dev/null +++ b/data/plugins/thirdparty/tmdb.yaml @@ -0,0 +1,6 @@ +name: tmdb +repo: https://codeberg.org/lomion/tmdb-bot +license: AGPL-3.0-or-later +author: lomion +description: A bot that posts information about movies fetched from TheMovieDB.org. +public_instances: [] diff --git a/data/plugins/thirdparty/token.yaml b/data/plugins/thirdparty/token.yaml new file mode 100644 index 0000000..13edbdb --- /dev/null +++ b/data/plugins/thirdparty/token.yaml @@ -0,0 +1,6 @@ +name: token +repo: https://github.com/yoxcu/maubot-token +license: AGPL-3.0-or-later +author: yoxcu +description: A maubot to create and manage your synapse user registration tokens. +public_instances: [] diff --git a/data/plugins/thirdparty/trump.yaml b/data/plugins/thirdparty/trump.yaml new file mode 100644 index 0000000..86a8b01 --- /dev/null +++ b/data/plugins/thirdparty/trump.yaml @@ -0,0 +1,6 @@ +name: trump +repo: https://github.com/jeffcasavant/MaubotTrumpTweet +license: MIT +author: Jeff Casavant +description: A bot that generates a Trump tweet with the given content. +public_instances: [] diff --git a/data/plugins/thirdparty/twilio.yaml b/data/plugins/thirdparty/twilio.yaml new file mode 100644 index 0000000..07e09c8 --- /dev/null +++ b/data/plugins/thirdparty/twilio.yaml @@ -0,0 +1,6 @@ +name: twilio +repo: https://github.com/jeffcasavant/MaubotTwilio +license: MIT +author: Jeff Casavant +description: Maubot-based SMS bridge. +public_instances: [] diff --git a/data/plugins/thirdparty/urban.yaml b/data/plugins/thirdparty/urban.yaml new file mode 100644 index 0000000..15f5eb4 --- /dev/null +++ b/data/plugins/thirdparty/urban.yaml @@ -0,0 +1,7 @@ +name: urban +repo: https://github.com/dvdgsng/UrbanMaubot +license: AGPL-3.0-or-later +author: dvdgsng +description: A bot that fetches definitions from [Urban Dictionary](https://www.urbandictionary.com/). +public_instances: + - "@urbandictionary:t2bot.io" diff --git a/data/plugins/thirdparty/urlpreview.yaml b/data/plugins/thirdparty/urlpreview.yaml new file mode 100644 index 0000000..058025e --- /dev/null +++ b/data/plugins/thirdparty/urlpreview.yaml @@ -0,0 +1,6 @@ +name: urlpreview +repo: https://github.com/coffeebank/coffee-maubot/tree/master/urlpreview +license: AGPL-3.0-or-later +author: coffeebank +description: A bot that responds to links with a link preview embed, using Matrix API to fetch meta tags. +public_instances: [] diff --git a/data/plugins/thirdparty/weather.yaml b/data/plugins/thirdparty/weather.yaml new file mode 100644 index 0000000..768f027 --- /dev/null +++ b/data/plugins/thirdparty/weather.yaml @@ -0,0 +1,6 @@ +name: weather +repo: https://github.com/kellya/maubot-weather +license: MIT +author: Alex Kelly +description: A bot to get the weather from wttr.in and return a single line of text for the location specified. +public_instances: [] diff --git a/data/plugins/thirdparty/welcome.yaml b/data/plugins/thirdparty/welcome.yaml new file mode 100644 index 0000000..401f0cf --- /dev/null +++ b/data/plugins/thirdparty/welcome.yaml @@ -0,0 +1,6 @@ +name: welcome +repo: https://github.com/williamkray/maubot-welcome +license: +author: William Kray +description: A plugin that greets new people with a configurable message when they join a room. +public_instances: [] diff --git a/data/plugins/thirdparty/wolframalpha.yaml b/data/plugins/thirdparty/wolframalpha.yaml new file mode 100644 index 0000000..bdb8889 --- /dev/null +++ b/data/plugins/thirdparty/wolframalpha.yaml @@ -0,0 +1,6 @@ +name: wolframalpha +repo: https://github.com/ggogel/WolframAlphaMaubot +license: MIT +author: Gerrit Gogel +description: A bot that allows requesting information from [WolframAlpha](https://www.wolframalpha.com/). +public_instances: [] diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..3abac09 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,4 @@ +baseURL = 'https://plugins.maubot.xyz/' +languageCode = 'en-us' +title = 'Maubot Plugins' +disableKinds = ["taxonomy", "taxonomyTerm"] diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..301855c --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,30 @@ + + + + + Maubot Plugins + + + + + + + + + + +

Maubot Plugins

+
+ {{ range index $.Site.Data.plugins.official }} + {{ partial "plugin.html" . }} + {{ end }} + {{ range index $.Site.Data.plugins.thirdparty }} + {{ partial "plugin.html" . }} + {{ end }} +
+ + + diff --git a/layouts/partials/plugin.html b/layouts/partials/plugin.html new file mode 100644 index 0000000..b493310 --- /dev/null +++ b/layouts/partials/plugin.html @@ -0,0 +1,11 @@ +
+

{{ .name }}

+ +
{{ .description | markdownify }}
+
+ View repo +
+
diff --git a/static/index.css b/static/index.css new file mode 100644 index 0000000..1b75bde --- /dev/null +++ b/static/index.css @@ -0,0 +1,73 @@ +html { + margin: 0; + padding: 0; +} + +body { + margin: 1rem; + line-height: 1.4; + background-color: #EEE; + color: #000; + font-family: sans-serif; +} + +main { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); +} + +body > h1 { + text-align: center; +} + +.plugin { + box-sizing: border-box; + background-color: #FFF; + box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25); + padding: .5rem 1rem; + margin: 1rem; + display: flex; + flex-direction: column; +} + +.plugin > h3 { + margin: 0; +} + +.plugin > .metadata { + color: #444 !important; + font-size: .8rem; + margin: .25rem 0 .5rem; +} + +.plugin > .description { + flex: 1; + overflow: hidden; + display: -webkit-box; + -webkit-line-clamp: 4; + line-clamp: 4; + -webkit-box-orient: vertical; +} + +/* This is very hacky and not really optimal UX */ +.plugin:hover > .description { + display: block; +} + +.plugin > .buttons > a { + margin-top: .5rem; + background-color: #00c853; + border: none; + color: white; + font-weight: bold; + padding: .25rem 1rem; + width: 100%; + box-sizing: border-box; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 16px; +} +.plugin > .buttons > a:hover { + background-color: #00963e; +}