# 🔥 RSS Guard Documentation 🔥 Welcome to RSS Guard documentation. You can find everything about the application right here. There is a [Discord server](https://discord.gg/7xbVMPPNqH) for user communication. ## Table of Contents - [What is RSS Guard?](#wirss) - [Downloads](#dwn) - [Supported Operating Systems](#sos) - [Major Features](#mfe) - [Supported Feed Readers](#sfr) - [Article Filtering](#fltr) - [Websites Scraping](#scrap) - [Notifications](#notif) - [Database Backends](#datab) - [User Data Portability](#userd) - [Built-in Web Browser with AdBlock](#webb) - [Minor Features](#mife) - [Files Downloader](#downl) - [Node.js](#node) - [Labels](#lbls) - [Skins](#skin) - [GUI Tweaking](#guit) - [Command Line Interface (CLI)](#cli) - [For Contributors and Other Topics](#contrib) - [Donations](#donat) - [Compiling RSS Guard](#compil) - [Plugin API](#papi) - [Reporting Bugs or Feature Requests](#reprt) - [Localization](#locali) - [Migrating data](#migratt)
## What is RSS Guard? RSS Guard is an [open-source](https://en.wikipedia.org/wiki/Open_source) [cross-platform](#sos) [multi-protocol](#sfr) desktop feed reader. It is able to fetch feeds in RSS/RDF/ATOM/JSON formats. RSS Guard is developed on top of the [Qt library](http://qt-project.org). ## Downloads Official place to download RSS Guard is at [Github Releases page](https://github.com/martinrotter/rssguard/releases). You can also download the [development (beta) build](https://github.com/martinrotter/rssguard/releases/tag/devbuild), which is updated automatically every time the source code is updated. RSS Guard is also available in [repositories of many Linux distributions](https://repology.org/project/rssguard/versions), and via [Flathub](https://flathub.org/about) with two different versions: - [Regular](https://flathub.org/apps/details/io.github.martinrotter.rssguard): Includes an integrated web browser (built with `-DUSE_WEBENGINE=ON`). - [Lite](https://flathub.org/apps/details/io.github.martinrotter.rssguardlite): Does not include an integrated web browser (built with `-DUSE_WEBENGINE=OFF`). I highly recommend to download RSS Guard only from trusted sources. ## Supported Operating Systems RSS Guard is a cross-platform application, and at this point it is known to work on: * Windows 10+ * GNU/Linux with glibc 2.31+ (including PinePhone and other Linux-based phone operating systems) * BSD (FreeBSD, OpenBSD, NetBSD, etc.) * macOS 10.14+ * OS/2 (ArcaOS, eComStation) ## Major Features ### Supported Feed Readers RSS Guard is multi-account application and supports many web-based feed readers via [built-in plugins](#papi). One of the plugins, of course, provides the support for standard list of **RSS/ATOM/JSON** feeds with the set of features everyone would expect from classic feed reader, like OPML support, etc. I organized the supported web-based feed readers into an elegant table: | Service | Two-way Synchronization | [Intelligent Synchronization Algorithm](#intel) (ISA) 1 | Synchronized Labels 2 | OAuth 4 | | :--- | :---: | :---: | :---: | :---: | Feedly | ✅ | ✅ | ✅ | ✅ (only for official binaries) | Gmail | ✅ | ✅ | ❌ | ✅ | Google Reader API 3 | ✅ | ✅ | ✅ | ✅ (only for Inoreader) | Nextcloud News | ✅ | ❌ | ❌ | ❌ | Tiny Tiny RSS | ✅ | ✅ | ✅ | ❌ 1 Some plugins support next-gen intelligent synchronization algorithm (ISA) which has some benefits, as it usually offers superior synchronization speed, and transfers much less data over your network connection. alt-img With ISA, RSS Guard only downloads articles which are new or were updated. The old algorithm usually always fetches all available articles, even if they are not needed, which leads to unnecessary overload of your network connection and the RSS Guard. 2 Note that [labels](#lbls) are supported for all plugins, but for some plugins they are local-only, and are not synchronized with the service. Usually because service itself does not support the feature. 3 Tested services are: * Bazqux * Reedah * Inoreader * Miniflux * TheOldReader * FreshRSS 4 [OAuth](https://en.wikipedia.org/wiki/OAuth) is a secure way of authenticating users in online applications. ### Article Filtering Sometimes you need to automatically tweak the incoming article - mark it starred, remove ads from its contents, or simply ignore it. That's where filtering feature comes in. alt-img #### Writing article filter Article filters are small scripts which are executed automatically when articles/feeds are downloaded. Article filters are JavaScript pieces of code which must provide function with prototype: ```js function filterMessage() { } ``` The function should be fast and must return values which belong to enumeration [`FilteringAction`](#FilteringAction-enum). Each article is accessible in your script via global variable named `msg` of type `MessageObject`, see [this file](https://github.com/martinrotter/rssguard/blob/master/src/librssguard/core/messageobject.h) for the declaration. Some properties are writeable, allowing you to change contents of the article before it is written to RSS Guard's DB. You can mark article important, change its description, perhaps change author name or even assign some label to it!!! Almost all changes you make are synchronized back to feed service, if corresponding RSS Guard plugin supports it. A [special placeholders](#userd-plac) can be used in article filters. There is also a special variable named `utils`. This variable is of `FilterUtils` type. It offers some useful [utility functions](#utils-object) for your filters. Labels assigned to articles are visible to your filters. You can, therefore, execute actions in your filtering script, based on which labels are assigned to the article. The property is called `assignedLabels` and is an array of the [`Label`](#Label-class) objects. Passed article also offers a special function: ```js Boolean MessageObject.isAlreadyInDatabase(DuplicateCheck) ``` which allows you to perform runtime check for existence of the article in RSS Guard's database. Parameter is the value from enumeration [`DuplicateCheck`](#dupl-check). It specifies how exactly the article should match. For example, if you want to check if there is already another article by the same author in a database, you should call `msg.isAlreadyInDatabase(MessageObject.SameAuthor)`. The values of enumeration can be combined in a single call with the **[bitwise OR] (`|`)** operator, like this: [bitwise OR]: ```js msg.isAlreadyInDatabase(MessageObject.SameAuthor | MessageObject.SameUrl) ``` Here is the reference of methods and properties of types available in your filtering scripts. #### `MessageObject` class | Type | Name(Parameters) | Return value | Read-only | Synchronized | Description | :--- | :--- | :--- | :---: | :---: | --- | Property | `assignedLabels` | `Array