1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00
Minimalist and opinionated feed reader
Find a file
Julien Voisin 637fb85de0
refactor(handler): delay store.UserByID as much as possible
In internal/reader/handler/handler.go:RefreshFeed, there is a call to
store.UserByID pretty early, which is only used for
originalFeed.WithTranslatedErrorMessage(localizedError.Translate(user.Language)
Its only other usage is in processor.ProcessFeedEntries(store, originalFeed,
user, forceRefresh), which is pretty late in RefreshFeed, and only called if
there are new items in the feed. It makes sense to only fetch the user's
language if the error localization function is used.

Calls to `store.UserByID` take around 10% of the CPU time of RefreshFeed in my
profiling.

This commit also makes `processor.ProcessFeedEntries` take a `userID` instead
of a `user`, to make the code a bit more concise.

This should close #2984
2024-12-09 19:32:59 -08:00
.devcontainer build: Bump devcontainer version to go 1.23 2024-09-21 20:56:56 -07:00
.github fix: fix grammar in pull-request template 2024-11-11 19:55:01 -08:00
client feat(api): rename integrations status endpoint 2024-10-17 21:29:44 -07:00
contrib fix: add datasource variable and upgrade depecrated panels on the grafana dashboard 2024-08-22 14:29:50 -07:00
internal refactor(handler): delay store.UserByID as much as possible 2024-12-09 19:32:59 -08:00
packaging build: bump Alpine Linux build image to v3.20 2024-08-15 16:48:26 -07:00
.gitignore build: add sha256 checksum file for published binaries 2024-08-15 17:24:28 -07:00
ChangeLog docs(changelog): update release notes for version 2.2.3 2024-11-10 15:53:03 -08:00
go.mod feat(rewrite)!: remove parse_markdown rewrite rule 2024-12-08 14:34:47 -08:00
go.sum feat(rewrite)!: remove parse_markdown rewrite rule 2024-12-08 14:34:47 -08:00
LICENSE First commit 2017-11-19 22:01:46 -08:00
main.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
Makefile build: add sha256 checksum file for published binaries 2024-08-15 17:24:28 -07:00
miniflux.1 feat: optionally fetch watch time from YouTube API instead of website 2024-12-07 16:00:35 -08:00
Procfile Make latest changes compatible with Heroku 2018-08-29 20:50:36 -07:00
README.md Update contributor link and Godoc badge for client 2020-10-18 21:53:07 -07:00
SECURITY.md Update Security policy 2023-03-13 19:56:47 -07:00

Miniflux 2

Miniflux is a minimalist and opinionated feed reader:

  • Written in Go (Golang)
  • Works only with Postgresql
  • Doesn't use any ORM
  • Doesn't use any complicated framework
  • Use only modern vanilla Javascript (ES6 and Fetch API)
  • Single binary compiled statically without dependency
  • The number of features is voluntarily limited

It's simple, fast, lightweight and super easy to install.

Official website: https://miniflux.app

Documentation

The Miniflux documentation is available here: https://miniflux.app/docs/ (Man page)

Screenshots

Default theme:

Default theme

Dark theme when using keyboard navigation:

Dark theme

Credits