mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #1096] Feature Request: Add/upload attachments and notes to snapshot #690
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#690
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?
Originally created by @Jwink3101 on GitHub (Feb 10, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1096
Type
What is the problem that your feature request solves
Sometimes there is additional media that I capture manually or I want to add some note to remember why I saved it.
For example, I archived a NYTimes Podcast page but it didn't pick up the transcript. So I saved it manually. I would like to be able to attach that.
Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes
Ideally, I would be able to have an editable note box and the ability to add attachments. Maybe have it be markdown and a way to link or reference it too
What hacks or alternative solutions have you tried to solve the problem?
I can upload anything into the
archive/but it requires figuring out which one it is and then future discoverability is majorly impactedHow badly do you want this new feature?
(probably somewhere between the bottom two
I am pretty proficient in Python but short on time. I will poke around a bit and see what it may take.
@pirate commented on GitHub (Feb 10, 2023):
You can technically already do most of this, if you go to the
Logpage in the UI you can manually add a new ArchiveResult with[Add Archive Result +]and attach it to a Snapshot to track arbitrary attachments/notes.The ArchiveResult.output field can point to any file you want within the snapshot directory, it can be a custom attachment or text file with notes.
So you can upload any files you want into the snapshot data dir (you can figure out which dir by seeing the timestamp for the snapshot in the URL/admin UI), and as long as there in an ArchiveResult pointed to the files they will remain tracked by ArchiveBox.
It's not an ideal UX / not as easy as just adding notes in a UI, but it's more resilient long-term as the db doesn't become a single point of failure where your notes can get lost.
@Jwink3101 commented on GitHub (Feb 11, 2023):
That makes sense though I think it is very much along the lines of "What hacks or alternative solutions have you tried to solve the problem?".
I do like the idea of not relying on the database. Even if I could, through the web, upload an immutable note, that would go a long way.