No description
Find a file
Ztec 4498ba10e8 Fix: Integration with Pinboard: Preserve Existing Bookmarks
The Issue:
When saving an entry that is already bookmarked on Pinboard,
Miniflux was overriding all existing data on Pinboard. This action
removed any extended content or, worse, changed the private settings
to public, making previously private bookmarks publicly available.

The Fix:
Now, upon saving an entry as a bookmark, I first fetch it. If it
already exists, I apply the necessary modifications (adding tags and any state)
that Miniflux would have normally done, then add it again. This way, no
data is lost in the process. Pinboard has a stable API, so I don't anticipate
any new fields being added soon.

I manually tested the integration by hitting the save button in the following situations:
- Entry URL does not exist on Pinboard:
  - Bookmark is properly added on Pinboard with tags and "to read" status according to Miniflux settings.
- Entry URL already exists on Pinboard:
  - Existing data remains unchanged.
  - Tags from Miniflux settings are properly added to the bookmark.
  - "To read" status is set to yes when the option is checked in Miniflux. Nothing is changed otherwise.
2024-06-28 20:27:52 -07:00
.devcontainer Add FILTER_ENTRY_MAX_AGE_DAYS config option to limit fetching all feed items 2024-03-20 02:58:53 +00:00
.github build(deps): bump docker/build-push-action from 5 to 6 2024-06-17 18:23:26 -07:00
client Enable go-critic linter and fix various issues detected 2024-03-17 13:52:34 -07:00
contrib Create default miniflux db 2023-12-31 10:54:53 -08:00
internal Fix: Integration with Pinboard: Preserve Existing Bookmarks 2024-06-28 20:27:52 -07:00
packaging build(deps): bump library/alpine in /packaging/docker/alpine 2024-05-27 15:44:57 -07:00
.gitignore Add Bruno Miniflux API collection 2023-10-06 19:39:20 -07:00
ChangeLog Update ChangeLog 2024-04-27 15:06:28 -07:00
go.mod build(deps): bump github.com/yuin/goldmark from 1.7.3 to 1.7.4 2024-06-25 16:11:25 -07:00
go.sum build(deps): bump github.com/yuin/goldmark from 1.7.3 to 1.7.4 2024-06-25 16:11:25 -07: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 packaging: fix failed to solve: arm64v8/golang:1.22-bookworm 2024-05-17 21:07:40 -07:00
miniflux.1 options: add FETCH_NEBULA_WATCH_TIME 2024-05-02 16:30:01 -07: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