Go to file
Robert Lützner facf38955c Add 'Enter' key as a hotkey to open selected item
There are a few things that need to be done, to make this work.

First, we need to register `Enter` as another hotkey that opens the
selected item.

However, by default the `KeyboardHandler` will override all default
actions. That might make sense for any other key, but for the `Enter`
key, we want to keep the default behavior (i.e. follow a selected link
or press a button). So for this single key event, we do not call
`preventDefault()`.

I see this as unproblematic for the following reasons.

1. With the changes from #2348, when we're in a list of items (articles,
   categories, feeds), there is no link selected. This is what made the
   `Enter` key work _implicitly_ in the past. With nothing selected, the
   `Enter` key will do nothing by default.
2. If we have **any** link selected (including when we are in a view
   with a list of selectable items), we'll get the default action of
   `Enter` (i.e. follow a link), which is exactly what we had before.

Lastly, we need to update the list of keyboard shortcuts displayed when
pressing `?`.

This fixes #2366.
2024-02-21 20:02:58 -08:00
.devcontainer Add github-cli and docker-outside-of-docker to devcontainer 2023-11-02 14:31:54 +00:00
.github Update GitHub Actions to Go 1.12 2024-02-17 12:00:23 -08:00
client Add /v1/version endpoint 2023-10-08 15:53:24 -07:00
contrib Create default miniflux db 2023-12-31 10:54:53 -08:00
internal Add 'Enter' key as a hotkey to open selected item 2024-02-21 20:02:58 -08:00
packaging Debian packages are failing to build 2024-02-07 21:35:06 -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/tdewolff/minify/v2 from 2.20.16 to 2.20.17 2024-02-19 14:58:10 -08:00
go.sum Bump github.com/tdewolff/minify/v2 from 2.20.16 to 2.20.17 2024-02-19 14:58:10 -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 Makefile: do not force CGO_ENABLED=0 for miniflux target 2024-02-21 19:47:58 -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