[GH-ISSUE #1352] Documentation: Default value for PUBLIC_* keys incorrect #828

Closed
opened 2026-03-01 14:46:36 +03:00 by kerem · 1 comment
Owner

Originally created by @sclu1034 on GitHub (Feb 20, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1352

Wiki Page URL

https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#public_index--public_snapshots--public_add_view

Suggested Edit

The listed default value is False, but unless I explicitly set that value in the config or via the CLI, the snapshopts and index are accessible without login.
Therefore, the actual default is effectively True.

This may also be a bug in the application instead, if False is supposed to be the default as documented.

Originally created by @sclu1034 on GitHub (Feb 20, 2024). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1352 <!-- If you perfer, you can make a PR to https://github.com/ArchiveBox/docs instead of opening an issue --> ## Wiki Page URL https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#public_index--public_snapshots--public_add_view ## Suggested Edit The listed default value is `False`, but unless I explicitly set that value in the config or via the CLI, the snapshopts and index _are_ accessible without login. Therefore, the actual default is effectively `True`. This may also be a bug in the application instead, if `False` is supposed to be the default as documented.
kerem closed this issue 2026-03-01 14:46:36 +03:00
Author
Owner

@pirate commented on GitHub (Feb 21, 2024):

Thanks for the the heads up, I fixed the defaults shown in the docs:

https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#public_index--public_snapshots--public_add_view

# these are the defaults that ship with ArchiveBox
'PUBLIC_INDEX':              {'type': bool,  'default': True},
'PUBLIC_SNAPSHOTS':          {'type': bool,  'default': True},
'PUBLIC_ADD_VIEW':           {'type': bool,  'default': False},
<!-- gh-comment-id:1955672179 --> @pirate commented on GitHub (Feb 21, 2024): Thanks for the the heads up, I fixed the defaults shown in the docs: https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#public_index--public_snapshots--public_add_view ```python # these are the defaults that ship with ArchiveBox 'PUBLIC_INDEX': {'type': bool, 'default': True}, 'PUBLIC_SNAPSHOTS': {'type': bool, 'default': True}, 'PUBLIC_ADD_VIEW': {'type': bool, 'default': False}, ```
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#828
No description provided.