[GH-ISSUE #94] Configurable Output Directory #3087

Closed
opened 2026-03-14 20:58:16 +03:00 by kerem · 1 comment
Owner

Originally created by @pigmonkey on GitHub (Sep 14, 2018).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/94

I want bookmark-archiver to place its output in a directory I specify, not the default output/ directory in the repository. To do this I replaced the OUTPUT_DIR variable in config.py with a check for an environment variable and a fallback to the current default. This matches the rest of the configuration options and works great for me.

OUTPUT_DIR = os.getenv('OUTPUT_DIR', os.path.join(REPO_DIR, 'output'))

I'm happy to submit a pull request with this, but I'm curious if there was some reason this was not already the default config. Does this break something I haven't considered?

Originally created by @pigmonkey on GitHub (Sep 14, 2018). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/94 I want bookmark-archiver to place its output in a directory I specify, not the default `output/` directory in the repository. To do this I replaced the `OUTPUT_DIR` variable in `config.py` with a check for an environment variable and a fallback to the current default. This matches the rest of the configuration options and works great for me. OUTPUT_DIR = os.getenv('OUTPUT_DIR', os.path.join(REPO_DIR, 'output')) I'm happy to submit a pull request with this, but I'm curious if there was some reason this was not already the default config. Does this break something I haven't considered?
kerem closed this issue 2026-03-14 20:58:21 +03:00
Author
Owner

@pirate commented on GitHub (Sep 20, 2018):

I was originally intending on adding paid multi-user support which would include multiple custom output directories, (so people could host a federated collection of archives all managed together for their community), but given how little time I have these days I think it's about time to enable custom output folders and let people do it themselves.

Feel free to submit that PR and I'll accept it, otherwise I can add this line myself.

<!-- gh-comment-id:423230376 --> @pirate commented on GitHub (Sep 20, 2018): I was originally intending on adding paid multi-user support which would include multiple custom output directories, (so people could host a federated collection of archives all managed together for their community), but given how little time I have these days I think it's about time to enable custom output folders and let people do it themselves. Feel free to submit that PR and I'll accept it, otherwise I can add this line myself.
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/ArchiveBox#3087
No description provided.