Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bukuserver] RSS feed endpoint #620

Closed
piegamesde opened this issue Nov 24, 2022 · 11 comments
Closed

[bukuserver] RSS feed endpoint #620

piegamesde opened this issue Nov 24, 2022 · 11 comments

Comments

@piegamesde
Copy link

It would be cool to have bukuserver provide an RSS* feed with the bookmarks in the order they were added**. This is a useful interface to build third-party integrations. For example I'd like to build a local archive integration (ref. #127) and this could be an interesting alternative to exporting all bookmarks in regular intervals.

* Does not be RSS, maybe there are newer better feed formats but as long as it gets the job done and there are libraries for it I don't care.
** Maybe the order they were updated? Certainly the case where a bookmark's URL is edited should be handled

@virtadpt
Copy link

RSS, ATOM, and a JSON feed would all be very useful to have.

@jarun
Copy link
Owner

jarun commented Nov 26, 2022

in the order they were added

buku doesn't save time of addition (please go through the README first). So it can be by index.

Export to multiple formats is available and only URLs can be exported as well. If you still want RSS please raise a PR instead of waiting for others to spend their time on something they don't need.

@jarun jarun closed this as completed Nov 26, 2022
@piegamesde
Copy link
Author

instead of waiting for others to spend their time on something they don't need

In many open source projects, it is polite to open up an issue and discuss first before opening a pull request, especially for new features. I am not "waiting for others to spend their time" on this, please don't make assumptions like this.

@jarun
Copy link
Owner

jarun commented Nov 26, 2022

There's the ToDo list for those.

@rachmadaniHaryono
Copy link
Collaborator

for this to happen

  1. option to enable reversed sort bookmark by id
  2. endpoint for rss something like /bookmark/rss
  3. optional, paging for buku, for faster rss, this will benefit bookmark page as well

this issue should be low on priority because this is new feature

currently i want buku to fix bukuserver and then new release first before adding new feature

@piegamesde
Copy link
Author

  1. Save modification time (and also maybe creation time) for all bookmarks

Since my database is small enough so that I can export everything all the time it'll work with that and a systemd timer for my integration.

@rachmadaniHaryono
Copy link
Collaborator

Save modification time (and also maybe creation time) for all bookmarks

this one will not pass because

There's no tracking, hidden history, obsolete records, usage analytics or homing.

see also #304

@piegamesde
Copy link
Author

I don't fully understand that issue, especially: "buku needs an internet connection to work." Sorry what?

(I'd comment under that issue but it is locked; please don't lock old/stale issues)

@rachmadaniHaryono
Copy link
Collaborator

buku needs an internet connection to work

it should be 'buku have feature that need internet connection to work' for example title and tags

i will add comment on that issue

but basically that issue explain more why we dont add date information but have adding date tag feature

(I'd comment under that issue but it is locked; please don't lock old/stale issues)

this is automatically done by bot, if you need to ask on some locked issue try to ask it on #484

@piegamesde
Copy link
Author

Let's brainstorm other approaches: How about having some kind of web hook or shell hook that gets run every time a new bookmark is added? This would solve the problem of not having to track any time stamps for it to work. The difficulty would be to get this to work across clients: what if somebody adds a bookmark through the CLI or the browser extension?

@jarun
Copy link
Owner

jarun commented Dec 1, 2022

Hooks make sense. An option can be added to call a tool with args.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants