[GH-ISSUE #126] [FIXED] Portability on Windows #89

Closed
opened 2026-02-25 23:33:25 +03:00 by kerem · 2 comments
Owner

Originally created by @sergeevabc on GitHub (Apr 4, 2019).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/126

Dear @RadhiFadlillah, I’m looking for a way to make Shiori truly portable, i.e. to keep database in the same folder where shiori.exe is located, or at least to look for database there first (then fall back to %userprofiles%\AppData\Local\shiori if database is not present in the same folder). How?

Originally created by @sergeevabc on GitHub (Apr 4, 2019). Original GitHub issue: https://github.com/go-shiori/shiori/issues/126 Dear @RadhiFadlillah, I’m looking for a way to make Shiori truly portable, i.e. to keep database in the same folder where shiori.exe is located, or at least to look for database there first (then fall back to %userprofiles%\AppData\Local\shiori if database is not present in the same folder). How?
kerem closed this issue 2026-02-25 23:33:25 +03:00
Author
Owner

@RadhiFadlillah commented on GitHub (Apr 16, 2019):

Hi @sergeevabc, sorry for slow response. I've been really busy these week, so I haven't got the time to check issues here.

Unfortunately, right now there is no way to do it, unless you make a change in code and build it yourself.

<!-- gh-comment-id:483684788 --> @RadhiFadlillah commented on GitHub (Apr 16, 2019): Hi @sergeevabc, sorry for slow response. I've been really busy these week, so I haven't got the time to check issues here. Unfortunately, right now there is no way to do it, unless you make a change in [code](https://github.com/RadhiFadlillah/shiori/blob/master/path-generator.go#L19) and build it yourself.
Author
Owner

@RadhiFadlillah commented on GitHub (Aug 27, 2019):

Since ramadhan branch has been merged, now Shiori has --portable flag. By using it, Shiori will create shiori-data directory in the location of executable file, and use it to store the data.

Simple command-line bookmark manager built with Go

Usage:
  shiori [command]

Available Commands:
  add         Bookmark the specified URL
  delete      Delete the saved bookmarks
  export      Export bookmarks into HTML file in Netscape Bookmark format
  help        Help about any command
  import      Import bookmarks from HTML file in Netscape Bookmark format
  open        Open the saved bookmarks
  pocket      Import bookmarks from Pocket's exported HTML file
  print       Print the saved bookmarks
  serve       Serve web interface for managing bookmarks
  update      Update the saved bookmarks

Flags:
  -h, --help       help for shiori
      --portable   run shiori in portable mode

With that said, I believe this issue has been fixed now so I will close it. Feel free to reopen it if needed.

<!-- gh-comment-id:525280169 --> @RadhiFadlillah commented on GitHub (Aug 27, 2019): Since `ramadhan` branch has been merged, now Shiori has `--portable` flag. By using it, Shiori will create `shiori-data` directory in the location of executable file, and use it to store the data. ``` Simple command-line bookmark manager built with Go Usage: shiori [command] Available Commands: add Bookmark the specified URL delete Delete the saved bookmarks export Export bookmarks into HTML file in Netscape Bookmark format help Help about any command import Import bookmarks from HTML file in Netscape Bookmark format open Open the saved bookmarks pocket Import bookmarks from Pocket's exported HTML file print Print the saved bookmarks serve Serve web interface for managing bookmarks update Update the saved bookmarks Flags: -h, --help help for shiori --portable run shiori in portable mode ``` With that said, I believe this issue has been fixed now so I will close it. Feel free to reopen it if needed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#89
No description provided.