mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[GH-ISSUE #208] Clone Pocket API? #152
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eabra on GitHub (Oct 24, 2019).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/208
Would it be possible to offer a clone of the Pocket API so other Tools could connect and add/remove items here?
@8bitgentleman commented on GitHub (Nov 2, 2019):
Shiori already has an API, not as robust as Pocket's obviously but it lets you add/edit/remove bookmarks among other things
@cocoastorm commented on GitHub (Nov 4, 2019):
what other tools did you have in mind? just curious
@eabra commented on GitHub (Nov 5, 2019):
Oh there are so many: miniflux, Reeder, self built tools, etc.
@8bitgentleman commented on GitHub (Nov 5, 2019):
All those tools are rss readers. Are you really looking for shiori to publish a user's saved links as a private rss feed?
This is how pocket uses rss feeds
@eabra commented on GitHub (Nov 5, 2019):
No I'm looking for a way to have the RSS readers send the links to shiori without having to build new API integrations for it but instead utilize the cloned pocket API so they won't have to modify their applications this way.
@deanishe commented on GitHub (Aug 7, 2020):
Pretty much pointless, tbh. Even if an app isn't using the Pocket SDK, the API is still based on OAuth (which is large and complex) and every app will have its own consumer key and the Pocket API URL hardcoded.
As a result, adding support for a clone of the Pocket API to an app is actually much more complicated than adding support for an entirely different, but much simpler, API.
Either way, I just don't see many (if any) app developers buying into it.
The "Share" menu would be a far better starting point for integration, imo, because it doesn't rely on application developers to modify their apps.
@samuelstevens commented on GitHub (Mar 8, 2022):
Sorry to open a dead issue two years later, but this is exactly what I'm looking for. I'd like to save links to a self-hosted service and then subscribe to a list of those links with a third-party rss reader. Is this possible?
@fmartingr commented on GitHub (Mar 10, 2022):
This is not integrated withing shiori (and probably never will), but creating an RSS feed from the Get Bookmarks endpoint using your preferred fields should be trivial.
@samuelstevens commented on GitHub (Mar 11, 2022):
Thanks! One thing that I find really exciting about Shiori is automatic content extraction. I looked through the API docs and couldn't see anyway to get that content via the API; did I miss something? Or should I fork/open a PR if I want to see that in Shiori?
@fmartingr commented on GitHub (Mar 12, 2022):
You're right! Content is not exposed through the API :(
Right now I could see this in two ways, either a new
/content/:idendpoint to extract the content of a specific bookmark or a parameter in the/bookmarksendpoint to specify if we want the content extracted as well in the output.I'd prefer the first one, I'm not very fond of parameters modifying an API response and the performance will dimisish the more bookmarks a database has; even if right now the
/bookmarksperforms aJOINwith the content table, this won't be like that in the future due to performance issues. (sqlite: #387)What do you think?
@samuelstevens commented on GitHub (Mar 14, 2022):
I prefer the first approach as well.
I will take a look and see if I can implement a first pass sometime this week. Are there docs for contributing/developers?
@fmartingr commented on GitHub (Mar 19, 2022):
Right now there isn't much, everything available is in the wiki, though starting working on shiori should be much of a trouble if you have go installed. A Simple
go run main.goshould suffice. Keep in mind that if you use shiori on your computer directy this will load the same database, you can change it using environment variables. There's also a modd file included in the repository which bundles the assets and launches the development server, but it didn't work for me so I do the manual way.One of the things I need to work on is updating the documentation (and moving it to the repository #394). I may overhaul how to work locally with shiori while doing that. Any feedback on that regard will be appreciated.