4e193a2b02
Segregating more code as one task per function, particularly adding of new subscription. Fix allow/deny keys.
170 lines
5.5 KiB
TOML
170 lines
5.5 KiB
TOML
about = """
|
|
Slixfeed is a news broker bot for syndicated news which aims to be \
|
|
an easy to use and fully-featured news aggregator bot.
|
|
|
|
Slixfeed provides a convenient access to Blogs, News websites and \
|
|
even Fediverse instances, along with filtering and other privacy \
|
|
driven functionalities.
|
|
|
|
Slixfeed is designed primarily for the XMPP communication network \
|
|
(aka Jabber). Visit https://xmpp.org/software/ for more information.
|
|
|
|
https://gitgud.io/sjehuda/slixfeed
|
|
"""
|
|
|
|
authors = """
|
|
Laura Lapina
|
|
Co-Author, Instructor and Mentor.
|
|
Schimon Zackary
|
|
Author.
|
|
"""
|
|
|
|
filetypes = """
|
|
Supported filetypes: Atom, JSON, RDF, RSS and XML.
|
|
"""
|
|
|
|
license = """
|
|
Copyright 2022 - 2024 Schimon Zackary Jehudah
|
|
|
|
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.
|
|
"""
|
|
|
|
note = """
|
|
You can run Slixfeed as a client, from your own computer, server, \
|
|
and even from a Linux phone (i.e. Droidian, Kupfer, Mobian, NixOS, \
|
|
postmarketOS), and even from Termux.
|
|
All you need is one of the above and an XMPP account to connect \
|
|
Slixfeed to. Good luck!
|
|
"""
|
|
|
|
operators = """
|
|
No operator was specified for this instance.
|
|
"""
|
|
|
|
platforms = """
|
|
Supported platforms: XMPP
|
|
Platforms to be added in future: ActivityPub, Briar, Email, IRC, LXMF, \
|
|
Matrix, MQTT, Nostr, Session, Tox.
|
|
For ideal experience, we recommend using XMPP.
|
|
"""
|
|
|
|
privacy = """
|
|
All your data belongs to us.
|
|
"""
|
|
|
|
protocols = """
|
|
Supported protocols: HTTP
|
|
Protocols to be added in future: Dat, FTP, Gemini, Gopher, IPFS.
|
|
"""
|
|
# Supported protocols: Dat, FTP, Gemini, Gopher, HTTP and IPFS.
|
|
|
|
resources = """
|
|
Slixfeed
|
|
https://gitgud.io/sjehuda/slixfeed
|
|
|
|
Slixmpp
|
|
https://slixmpp.readthedocs.io/
|
|
|
|
feedparser
|
|
https://pythonhosted.org/feedparser
|
|
|
|
XMPP
|
|
https://xmpp.org/about/
|
|
"""
|
|
|
|
sleekxmpp = """
|
|
SleekXMPP is an MIT licensed XMPP library for Python 2.6/3.1+, and is featured \
|
|
in examples in the book XMPP: The Definitive Guide by Kevin Smith, Remko Tronçon, \
|
|
and Peter Saint-Andre.
|
|
|
|
https://codeberg.org/fritzy/SleekXMPP
|
|
"""
|
|
|
|
slixmpp = """
|
|
Slixmpp is an MIT licensed XMPP library for Python 3.7+. It is a fork of SleekXMPP.
|
|
|
|
Slixmpp's goals is to only rewrite the core of the SleekXMPP library \
|
|
(the low level socket handling, the timers, the events dispatching) \
|
|
in order to remove all threads.
|
|
|
|
https://codeberg.org/poezio/slixmpp
|
|
"""
|
|
|
|
terms = """
|
|
Slixfeed is free software; you can redistribute it and/or \
|
|
modify it under the terms of the MIT License.
|
|
|
|
Slixfeed is distributed in the hope that it will be useful, \
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of \
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \
|
|
MIT License for more details.
|
|
|
|
https://gitgud.io/sjehuda/slixfeed
|
|
"""
|
|
|
|
thanks = [
|
|
"Alixander Court <alixandercourt.com> (Utah)",
|
|
"Chriss Farrell (SalixOS, Oregon)",
|
|
"Christian Dersch (SalixOS)",
|
|
"Cyrille Pontvieux <enialis.net> (SalixOS, France)",
|
|
"Denis Fomin (Gajim, Russia)",
|
|
"Dimitris Tzemos (SalixOS, Greece)",
|
|
"Emmanuel Gil Peyrot (Poezio, France)",
|
|
"Florent Le Coz (Poezio, France)",
|
|
"George Vlahavas <vlahavas.com> (SalixOS, Greece)",
|
|
"Guus der Kinderen <igniterealtime.org> (Openfire, Netherlands)",
|
|
"habnabit_ from #python on irc.libera.chat",
|
|
"Imar van Erven Dorens <simplicit.nl> (SalixOS, Netherlands)",
|
|
"imattau (atomtopubsub)",
|
|
"Jaussoin Timothée <mov.im> (Movim, France)",
|
|
"Justin Karneges <jblog.andbit.net> (Psi, California)",
|
|
"Kevin Smith <isode.com> (Swift IM, Wales)",
|
|
"Lars Windolf (Liferea, Germany)",
|
|
"Luis Henrique Mello (SalixOS, Brazil)",
|
|
"magicfelix",
|
|
"Markus Muttilainen (SalixOS)",
|
|
"Martin <debacle@debian.org> (Debian, Germany)",
|
|
"Mathieu Pasquet (slixmpp, France)",
|
|
"Maxime Buquet (slixmpp, France)",
|
|
"mirux (Germany)",
|
|
"Phillip Watkins (SalixOS, United Kingdom)",
|
|
"Pierrick Le Brun (SalixOS, France)",
|
|
"Raphael Groner (Fedora, Germany)",
|
|
"Remko Tronçon <mko.re> (Psi , Belgium)",
|
|
"Simone \"roughnecks\" Canaletti <woodpeckersnest.space> (Italy)",
|
|
"Richard Lapointe (SalixOS, Connecticut)",
|
|
"Stephen Paul Weber <singpolyma.net>",
|
|
"Strix from Loqi",
|
|
"Thibaud Guerin (SalixOS)",
|
|
"Thorsten Fröhlich (France)",
|
|
"Thorsten Mühlfelder (SalixOS, Germany)",
|
|
"Tim Beech (SalixOS, Brazil)",
|
|
"Yann Leboulanger (Gajim, France)"
|
|
]
|
|
|
|
xmpp = """
|
|
XMPP is the Extensible Messaging and Presence Protocol, a set \
|
|
of open technologies for instant messaging, presence, multi-party \
|
|
chat, voice and video calls, collaboration, lightweight \
|
|
middleware, content syndication, and generalized routing of XML \
|
|
data.
|
|
|
|
https://xmpp.org/about/
|
|
"""
|