[GH-ISSUE #72] Default location for shiori database #46

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

Originally created by @sorbits on GitHub (Mar 11, 2018).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/72

I would suggest using the user’s home directory for the default location of the shiori database.

I call shiori from different contexts where “current directory” is not well-defined (nor the same).

I know I can set ENV_SHIORI_DB but since I am on macOS this is a bit tedious because GUI applications do not inherit environment variables setup in the shell, so this will need to be set in multiple places.

If you agree I suggest prefixing it with a dot to make it a hidden file, e.g. ~/.shiori_db.

I realize this might be very unixy, but it already seems rather unixy with a shell command to manage your bookmarks.

Originally created by @sorbits on GitHub (Mar 11, 2018). Original GitHub issue: https://github.com/go-shiori/shiori/issues/72 I would suggest using the user’s home directory for the default location of the shiori database. I call shiori from different contexts where “current directory” is not well-defined (nor the same). I know I can set `ENV_SHIORI_DB` but since I am on macOS this is a bit tedious because GUI applications do not inherit environment variables setup in the shell, so this will need to be set in multiple places. If you agree I suggest prefixing it with a dot to make it a hidden file, e.g. `~/.shiori_db`. I realize this might be very unixy, but it already seems rather unixy with a shell command to manage your bookmarks.
kerem closed this issue 2026-02-25 23:33:20 +03:00
Author
Owner

@RadhiFadlillah commented on GitHub (Mar 12, 2018):

Hi @sorbits, I've added this feature in 6bab302. Could you check it out ?

<!-- gh-comment-id:372251548 --> @RadhiFadlillah commented on GitHub (Mar 12, 2018): Hi @sorbits, I've added this feature in [6bab302](https://github.com/RadhiFadlillah/shiori/commit/6bab302785263e942ee50421fda500316fa253b0). Could you check it out ?
Author
Owner

@sorbits commented on GitHub (Mar 15, 2018):

Thanks a lot, works as expected!

<!-- gh-comment-id:373420195 --> @sorbits commented on GitHub (Mar 15, 2018): Thanks a lot, works as expected!
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#46
No description provided.