hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
2.4k stars 81 forks source link

Feature Request: REST API #43

Open georgzoeller opened 3 months ago

georgzoeller commented 3 months ago

This is really great software, I love the clear motivation and where it fits into the ecosystem.

I'd be lovely to get an API for some common actions, primarily retrieving content, searching, and addition from outside the API.

Use case:

MohamedBassem commented 3 months ago

REST API is definitely planned, and you can even get an API key from the settings. It's just blocked on one of our dependencies getting updated for TRPC v11 :) If it takes too long, I'll just fork it and add the necessary modifications myself.

Side note: You can actually right now interact with the TRPC based API today (by inspecting the requests that chrome does, but instead of cookies using an API key from the settings). It's actually not that hard. But I don't guarantee any backward compatibility there. So I'd recommend waiting for the REST API instead.

georgzoeller commented 3 months ago

Amazing, thank you!

On Fri, Mar 29, 2024 at 21:33 Mohamed Bassem @.***> wrote:

REST API is definitely planned, and you can even get an API key from the settings. It's just blocked on one of our dependencies getting updated for TRPC v11 :) If it takes too long, I'll just fork it and add the necessary modifications myself.

Side note: You can actually right now interact with the TRPC based API today (by inspecting the requests that chrome does). It's actually not that hard. But I don't guarantee any backward compatibility there. So I'd recommend waiting for the REST API instead.

— Reply to this email directly, view it on GitHub https://github.com/MohamedBassem/hoarder-app/issues/43#issuecomment-2027251748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUEYZY6MQ4KQUEFKYV7TOTY2VNR7AVCNFSM6AAAAABFON2CDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXGI2TCNZUHA . You are receiving this because you authored the thread.Message ID: @.***>