PeterVavercak ee7eb67f3c Implement sort order per feed (#8234)
* added local feed sorting

Addresses https://github.com/FreshRSS/FreshRSS/issues/4761

- Added number of sorted feeds and associative array for feed sorting option in Context.
- Number of sorted feeds and local sorting option by its index saved into Minz Request Parameters.
- Number of sorted feeds and local sorting options deleted when choosing another Option Of Global Sorting.
- Added option of allowing sorting by feed in configuration.
- Added variable for allowing local sorting in userConf.
- Added function to get feeds by current get in context.
- Added menu button for all individual feed sorting.
- New database options for individual feed sorting in EntryDAO.
- Considered choosing new entries based on chosen load limit.
- Local sorting parameter saved into continuation value in Index Controller.

How to test the feature manually:

1. At the bottom of Reading Configuration menu turn on individual sorting option menu 
2. Choose Sorting by feed option
3. Choose feed at next sorting menu and choose sorting option for that feed

* added feed sorting option

* added sort feeds display

* added template for sort feed name

* added title to feed sorting button

* added comments

* added local sorting option

* Added Docs

* css reset

* added getter and seter for local sort

* added getter and seter for local sort

* allowed sorting per feed

* allowed sorting per feed

* added sorting option for category

* deleted changes from NetryDAO

* add setting up sorting for category

* docs reset

* i18 reset

* updated i18 for category

* added i18 for categories

* added i18 for category

* added setting sorting for feeds and category

* removing userConf.allow-local-sort

* removing userConf.allow-local-sort

* removing white space

* added credits

* removed feeds_by_get

* removed whitespace

* changed escaping for values

* added escaping to user set values

* added in_array

* added secondary sort and order

* added secondary sort and order

* fixed readme

* removed whitespace change

* reseted i18n

* added translations

* added feed setting translations

* fixed i18n

* fixed i18n

* changes in sort order per feed

* changes in sort order per feed

* added secondary sort order

* primary sort

* changed to preferred sort order

* i18n

* Revert wrong whitespace changes

* Re-order new options

* added blank option

* fixed escaping

* fixed default sort in feed

* fixed default sort recovery

* siplyfied option

* added rand option

* Revert unrelated change

* Minor plaintext

* Whitespace and formatting fixes

* Avoid unneeded SQL requests and processing

* Improve syntax

* Improve logic

* Reuse existing translations as much as possible

* i18n

* Remove some options that make little sense

* Separators

* Fix old transation key

* Add help messages

* Progress on secondary sort

* raw name

* Pass parameters. Add TODO

* Progress

* Minor ordering

* Fix parenthesis

---------

Co-authored-by: root <root@LAPTOP-C8TCHHPN.localdomain>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2026-02-01 13:12:47 +01:00
2026-02-01 13:12:47 +01:00
2025-08-01 08:30:49 +02:00
2025-12-05 22:20:57 +01:00
2022-06-19 20:03:17 +02:00
2019-07-23 10:01:52 +02:00
2021-10-21 11:44:03 +02:00
2026-01-25 19:22:41 +01:00
2026-01-25 19:22:41 +01:00
2024-08-04 19:40:14 +02:00
2015-10-25 00:01:13 +02:00
2018-12-22 11:39:08 +01:00
2025-09-22 22:02:59 +02:00
2023-06-09 08:26:53 +02:00

Liberapay donations

FreshRSS

FreshRSS is a self-hosted RSS feed aggregator.

It is lightweight, easy to work with, powerful, customizable, and has been translated into many languages.

It is a multi-user application with an anonymous reading mode. It supports custom tags. There is an API for (mobile) clients, and a Command-Line Interface.

Thanks to the WebSub standard, FreshRSS is able to receive instant push notifications from compatible sources, such as Friendica, WordPress, Blogger, Medium, etc.

FreshRSS natively supports basic Web scraping, based on XPath, for Web sites not providing any RSS / Atom feed. Also supports JSON documents.

FreshRSS offers the ability to reshare selections of articles by HTML, RSS, and OPML.

Different login methods are supported: Web form (including an anonymous option), HTTP Authentication (compatible with proxy delegation), OpenID Connect.

Finally, FreshRSS supports extensions for further tuning.

FreshRSS logo

Feedback and contributions

Feature requests, bug reports, and other contributions are welcome. The best way is to open an issue on GitHub. We are a friendly community.

To facilitate contributions, the following option is available:

Open in GitHub Codespaces

Screenshot

FreshRSS screenshot

Disclaimer

FreshRSS comes with absolutely no warranty.

Documentation

Requirements

  • A recent browser like Firefox / IceCat, Edge, Chromium / Chrome, Opera, Safari.
    • Works on mobile (except a few features)
  • Light server running Linux or Windows
    • It even works on Raspberry Pi 1 with response time under a second (tested with 150 feeds, 22k articles)
  • A Web server: Apache2.4+ (recommended), nginx, lighttpd (not tested on others)
  • PHP 8.1+
  • PostgreSQL 10+ or SQLite or MariaDB 10.6+ or MySQL 8.0+

Installation

The latest stable release can be found on GitHub. New versions are released every two to three months.

If you want a rolling release with the newest features, or want to help testing or developing the next stable version, you can use the edge branch.

Automated install

Docker YunoHost Elestio
Cloudron PikaPods Zeabur
ClawCloud Hostinger

Manual install

  1. Get FreshRSS with git or by downloading the archive
  2. Put the application somewhere on your server (expose only the ./p/ folder to the Web)
  3. Add write access to the ./data/ folder for the webserver user
  4. Access FreshRSS with your browser and follow the installation process
  5. Everything should be working :) If you encounter any problems, feel free to contact us.
  6. Advanced configuration settings can be found in config.default.php and modified in data/config.php.
  7. When using Apache, enable AllowEncodedSlashes for better compatibility with mobile clients.

More detailed information about installation and server configuration can be found in our documentation.

Advice

  • For better security, expose only the ./p/ folder to the Web.
    • Be aware that the ./data/ folder contains all personal data, so it is a bad idea to expose it.
  • The ./constants.php file defines access to the application folder. If you want to customize your installation, look here first.
  • If you encounter any problem, logs are accessible from the interface or manually in ./data/users/*/log*.txt files.
    • The special folder ./data/users/_/ contains the part of the logs that are shared by all users.

FAQ

  • The date and time in the right-hand column is the date declared by the feed, not the time at which the article was received by FreshRSS, and it is not used for sorting.
    • In particular, when importing a new feed, all of its articles will appear at the top of the feed list regardless of their declared date.

Extensions

FreshRSS supports further customizations by adding extensions on top of its core functionality. See the repository dedicated to those extensions.

Internationalization: 20+ languages. Translation progress

Language Progress
Čeština (cs) ■■■■■■■■・・ 83% contribute
Deutsch (de) ■■■■■■■■■・ 94% contribute
Ελληνικά (el) ■■■・・・・・・・ 38% contribute
English (en) ■■■■■■■■■■ 100% contribute
English (United States) (en-US) ■■■■■■■■■■ 100% contribute
Español (es) ■■■■■■■■■・ 99% contribute
فارسی (fa) ■■■■■■■■■・ 92% contribute
Suomi (fi) ■■■■■■■■■・ 94% contribute
Français (fr) ■■■■■■■■■■ 100% contribute
עברית (he) ■■■■・・・・・・ 42% contribute
Magyar (hu) ■■■■■■■■■・ 98% contribute
Bahasa Indonesia (id) ■■■■■■■■■・ 91% contribute
Italiano (it) ■■■■■■■■■・ 98% contribute
日本語 (ja) ■■■■■■■■■・ 90% contribute
한국어 (ko) ■■■■■■■■・・ 83% contribute
Latviešu (lv) ■■■■■■■・・・ 77% contribute
Nederlands (nl) ■■■■■■■■■・ 99% contribute
Occitan (oc) ■■■■■■■・・・ 76% contribute
Polski (pl) ■■■■■■■■■・ 99% contribute
Português (Brasil) (pt-BR) ■■■■■■■■■・ 99% contribute
Português (Portugal) (pt-PT) ■■■■■■■■・・ 82% contribute
Русский (ru) ■■■■■■■■■・ 98% contribute
Slovenčina (sk) ■■■■■■■■・・ 83% contribute
Türkçe (tr) ■■■■■■■■■・ 91% contribute
Українська (uk) ■■■■■■■■■・ 93% contribute
简体中文 (zh-CN) ■■■■■■■■■・ 99% contribute
正體中文 (zh-TW) ■■■■■■■■・・ 83% contribute

APIs & native apps

FreshRSS supports access from mobile / native apps for Linux, Android, iOS, Windows and macOS, via two distinct APIs: Google Reader API (best), and Fever API (limited features, less efficient, less safe).

App Platform Free Software Maintained & Developed API Works offline Fast sync Fetch more in individual views Fetch read articles Favourites Labels Podcasts Manage feeds
Capy Reader Android ✔️ ✔️✔️ GReader ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Readrops Android ✔️ ✔️✔️ GReader ✔️ ✔️ ✔️ ✔️
FeedMe Android ✔️✔️ GReader ✔️ ✔️ ✔️ ✔️
FocusReader Android ✔️✔️ GReader ✔️ ✔️ ✔️
Read You Android ✔️ ✔️✔️ GReader ✔️ ✔️ ✔️ ✔️ ✔️
Your News Android, iOS ✔️✔️ GReader ✔️ ✔️ ✔️
Fluent Reader Lite Android, iOS ✔️ ✔️ GReader ✔️
App Platform Free Software Maintained & Developed API Works offline Fast sync Fetch more in individual views Fetch read articles Favourites Labels Podcasts Manage feeds
Fluent Reader Windows, Linux, macOS ✔️ ✔️✔️ GReader ✔️ ✔️
RSS Guard Windows, GNU/Linux, macOS, OS/2 ✔️ ✔️✔️ GReader ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
NewsFlash GNU/Linux ✔️ ✔️✔️ GReader ✔️ ✔️ ✔️
Newsboat GNU/Linux, macOS, FreeBSD ✔️ ✔️✔️ GReader ✔️ ✔️ ✔️
App Platform Free Software Maintained & Developed API Works offline Fast sync Fetch more in individual views Fetch read articles Favourites Labels Podcasts Manage feeds
Vienna RSS macOS ✔️ ✔️✔️ GReader
Readkit iOS, macOS ✔️✔️ GReader ✔️ ✔️ ✔️ 💲
Reeder Classic iOS, macOS ✔️✔️ GReader ✔️ ✔️ ✔️ ✔️
lire iOS, macOS ✔️✔️ GReader
Unread iOS ✔️✔️ Fever ✔️ ✔️
Fiery Feeds iOS ✔️✔️ Fever
Netnewswire iOS, macOS ✔️ Work in progress GReader ✔️ ✔️ ✔️

Included libraries

Additional credits

Alternatives

If FreshRSS does not suit you for one reason or another, here are alternative solutions to consider:

Description
No description provided
Readme 103 MiB
Languages
PHP 79.8%
CSS 10.5%
HTML 7.1%
JavaScript 2.3%
Shell 0.1%
Other 0.1%