Linux command
shiori 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start server
shiori serve
Add bookmark
shiori add [https://example.com]
Add with title
shiori add -t "[Title]" [https://example.com]
Search bookmarks
shiori search [query]
List bookmarks
shiori print
Delete bookmark
shiori delete [id]
Export bookmarks
shiori export > [bookmarks.html]
Import bookmarks
shiori import [bookmarks.html]
说明
shiori is a self-hosted bookmark manager that saves web pages for offline reading. When a URL is added, shiori downloads the page, extracts readable content using a readability algorithm, and stores both the original HTML and a clean text version in its database. Bookmarks support full-text search across titles, URLs, and saved content, making it easy to find previously saved pages. Tags provide additional organization, and the built-in web interface offers a visual way to browse, edit, and manage the collection. Data can be imported from and exported to standard bookmark HTML files for interoperability with browsers and other bookmark managers. The CLI provides the same functionality as the web interface for scripting and automation.
参数
- serve
- Start web server.
- add _URL_
- Add bookmark.
- search _QUERY_
- Search bookmarks.
- List bookmarks.
- delete _ID_
- Remove bookmark.
- export
- Export bookmarks.
- import _FILE_
- Import bookmarks.
- -t, --title _TITLE_
- Set title.
- -e, --excerpt _TEXT_
- Set excerpt.
- --tags _TAGS_
- Add tags.
FAQ
What is the shiori command used for?
shiori is a self-hosted bookmark manager that saves web pages for offline reading. When a URL is added, shiori downloads the page, extracts readable content using a readability algorithm, and stores both the original HTML and a clean text version in its database. Bookmarks support full-text search across titles, URLs, and saved content, making it easy to find previously saved pages. Tags provide additional organization, and the built-in web interface offers a visual way to browse, edit, and manage the collection. Data can be imported from and exported to standard bookmark HTML files for interoperability with browsers and other bookmark managers. The CLI provides the same functionality as the web interface for scripting and automation.
How do I run a basic shiori example?
Run `shiori serve` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does serve do in shiori?
Start web server.