mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 14:35:52 +03:00
[PR #63] [CLOSED] new pocket command #508
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#508
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?
📋 Pull Request Information
Original PR: https://github.com/go-shiori/shiori/pull/63
Author: @s-frostick
Created: 3/8/2018
Status: ❌ Closed
Base:
master← Head:pocket📝 Commits (8)
09b4d83new pocket command allows user to import items from pocket into shiori7017639removing useless println6fb00a2fixed formating issue234566eMerge branch 'master' into pocket6448a6eadded command line flag to define which tag to import489e57cfixed formattingc01d60cMerge branch 'master' into pocket25ac5abMerge branch 'master' into pocket📊 Changes
3 files changed (+270 additions, -1 deletions)
View changed files
➕
cmd/pocket.go(+251 -0)📝
cmd/root.go(+6 -1)📝
cmd/utils.go(+13 -0)📄 Description
#29 Added pocket integration using https://github.com/motemen/go-pocket.
User needs to set a consumer key or create a new one; https://getpocket.com/developer/apps/new
Then can run the following commands
shiori pocket key <APIKEY>to set the api key
shiori pocket loginThe login command will open a browser where the user can login to pocket to authorize the request.
The accesstoken and consumer key are stored in $HOME/.shiori/config.json
Then can run
shiori pocket importto actually import items from pocket
by default this will not import items that have been archived in pocket, for this run with
shiori pocket import --allIf just want to import items with a particular tag can use
shiori pocket import --tag <TAG>Note: the import command imports tags with spaces from pocket although the current web interface is unable to handle these correctly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.