# 🔥 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](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 for [many Linux distributions](https://repology.org/project/rssguard/versions), and even via [Flathub](https://flathub.org/apps/details/com.github.rssguard). I highly recommend to download RSS Guard only from reputable 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 **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. While the old algorithm usually always fetch all available articles, even if they are not needed, which leads to unnecessary overload of your network connection and 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 secure way of authenticating users in online applications. ### Article Filtering Sometimes you need to automatically tweak 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 any changes you make are synchronized back to feed service if the particular RSS Guard plugin supports it. You can use [special placeholders](#userd-plac) within article filter. Also, there is a special variable named `utils`. This variable is of type `FilterUtils` and offers some useful [utility functions](#utils-object) for you to use in your filters. RSS Guard allows to use the list of labels assigned to each article. 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 array of [`Label`](#Label-class) objects. Passed article also offers special function: ```js Boolean MessageObject.isAlreadyInDatabase(DuplicateCheck) ``` which allows you to perform runtime check for existence of the article in RSS Guard's database. The parameter is value from enumeration [`DuplicateCheck`](#dupl-check) and specifies how exactly you want to match your article. For example, if you want to check if there is already another article with same author in database, you should call `msg.isAlreadyInDatabase(MessageObject.SameAuthor)`. Values of the enumeration can be combined via bitwise OR (`|`) operator in single call, like this: ```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