mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[PR #1720] [MERGED] Improve filesystem based hook architecture #4486
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#4486
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1720
Author: @pirate
Created: 12/27/2025
Status: ✅ Merged
Merged: 12/27/2025
Merged by: @pirate
Base:
dev← Head:claude/implement-hook-architecture-ahCXy📝 Commits (8)
3d985faImplement hook architecture with JSONL output supportc52eef1Update Python/JS hooks to clean JSONL format + add audit report2623c6cComplete JS hooks to clean JSONL format + rename background hooks8c846b7Rename validate hooks to install hookse3ba599Update install hooks to respect XYZ_BINARY env vars4e50c4fMark snapshot hook checklist items as completed65eb58Add hook architecture unit tests + mark remaining work completeb632894Update views, API, and exports for new ArchiveResult output fields📊 Changes
47 files changed (+2007 additions, -796 deletions)
View changed files
📝
TODO_hook_architecture.md(+207 -13)📝
archivebox/api/v1_core.py(+7 -3)📝
archivebox/cli/archivebox_extract.py(+3 -3)📝
archivebox/core/admin_archiveresults.py(+25 -22)➕
archivebox/core/migrations/0029_archiveresult_hook_fields.py(+80 -0)➕
archivebox/core/migrations/0030_migrate_output_field.py(+64 -0)📝
archivebox/core/models.py(+302 -28)📝
archivebox/core/statemachines.py(+16 -5)📝
archivebox/core/templatetags/core_tags.py(+3 -3)📝
archivebox/hooks.py(+151 -5)📝
archivebox/misc/jsonl.py(+16 -2)📝
archivebox/plugins/accessibility/on_Snapshot__39_accessibility.js(+12 -31)📝
archivebox/plugins/archive_org/on_Snapshot__13_archive_org.py(+7 -21)📝
archivebox/plugins/chrome_navigate/on_Snapshot__30_chrome_navigate.js(+8 -19)📝
archivebox/plugins/chrome_session/on_Crawl__00_install_chrome.py(+29 -5)📝
archivebox/plugins/chrome_session/on_Crawl__00_install_chrome_config.py(+0 -0)📝
archivebox/plugins/chrome_session/on_Snapshot__20_chrome_session.js(+9 -27)📝
archivebox/plugins/consolelog/on_Snapshot__21_consolelog.bg.js(+14 -37)📝
archivebox/plugins/dom/on_Snapshot__36_dom.js(+18 -33)📝
archivebox/plugins/extractor_utils.py(+12 -17)...and 27 more files
📄 Description
Summary
Related issues
Changes these areas
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.