Go to file
jvoisin ab85d4d678 Improve EstimateReadingTime's speed by a factor 7
- Refactorise the tests and add some
- Use 250 signs instead of the whole text
- Only check for Korean, Chinese and Japanese script
- Add a benchmark
- Use a more idiomatic control flow

```console
$ # main branch
$ go test -bench=.
goos: linux
goarch: amd64
pkg: miniflux.app/v2/internal/reader/readingtime
BenchmarkEstimateReadingTime-12              267           4821268 ns/op
PASS
ok      miniflux.app/v2/internal/reader/readingtime     1.754s
$ # speed_up_reading_time branch
$ go test -bench=.
goos: linux
goarch: amd64
pkg: miniflux.app/v2/internal/reader/readingtime
cpu: 12th Gen Intel(R) Core(TM) i7-1265U
BenchmarkEstimateReadingTime-12             1941            653312 ns/op
PASS
ok      miniflux.app/v2/internal/reader/readingtime     1.342s
$
```
2024-02-29 19:24:15 -08:00
.devcontainer Add github-cli and docker-outside-of-docker to devcontainer 2023-11-02 14:31:54 +00:00
.github Fix CodeQL workflow 2024-02-27 21:01:38 -08:00
client Use %q instead of "%s" 2024-02-28 19:47:30 -08:00
contrib Create default miniflux db 2023-12-31 10:54:53 -08:00
internal Improve EstimateReadingTime's speed by a factor 7 2024-02-29 19:24:15 -08:00
packaging Build amd64/arm64 Debian packages with CGO disabled 2024-02-21 21:23:48 -08:00
.gitignore Add Bruno Miniflux API collection 2023-10-06 19:39:20 -07:00
ChangeLog Fix typo in man page and Changelog 2024-02-17 13:28:17 -08:00
go.mod Bump github.com/PuerkitoBio/goquery from 1.9.0 to 1.9.1 2024-02-29 18:36:57 -08:00
go.sum Bump github.com/PuerkitoBio/goquery from 1.9.0 to 1.9.1 2024-02-29 18:36:57 -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 Remove Golint 2024-02-24 21:17:56 -08:00
miniflux.1 Fix typo in man page and Changelog 2024-02-17 13:28:17 -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