[GH-ISSUE #41] Add a way to filter the index table (by typing text) #3049

Closed
opened 2026-03-14 20:46:31 +03:00 by kerem · 2 comments
Owner

Originally created by @nodiscc on GitHub (Aug 3, 2017).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/41

Similar to https://github.com/pirate/bookmark-archiver/issues/40,

I'd like to be able to filter the index table by typing text in a Filter... text field. Eg. when typing github in the filtering field, only display items containing github in their title (or URL?)

  • Consider actually starting the filtering after the 2nd or 3rd character has been entered (to improve performance, plus filtering on a single character does not make much sense). Alternatively, only filter after the user hits Enter or a similar Go button.
  • Consider adding a clear button to clear the current filter text.

This would probably require a bit of Javascript. I found a rather efficient filtering script https://github.com/nodiscc/awesome-selfhosted/blob/yaml/html/filtering.js which I was planning to use for another project but it might as well serve here.

Note: This is different from full text search (probably easier to achieve) and only relates to the main index.html archive index

Originally created by @nodiscc on GitHub (Aug 3, 2017). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/41 Similar to https://github.com/pirate/bookmark-archiver/issues/40, I'd like to be able to filter the index table by typing text in a `Filter...` text field. Eg. when typing `github` in the filtering field, only display items containing `github` in their title (or URL?) * Consider actually starting the filtering _after_ the 2nd or 3rd character has been entered (to improve performance, plus filtering on a single character does not make much sense). Alternatively, only filter after the user hits `Enter` or a similar `Go` button. * Consider adding a `clear` button to clear the current filter text. This would probably require a bit of Javascript. I found a rather efficient filtering script https://github.com/nodiscc/awesome-selfhosted/blob/yaml/html/filtering.js which I was planning to use for another project but it might as well serve here. Note: This is different from full text search (probably easier to achieve) and only relates to the main `index.html` archive index
kerem closed this issue 2026-03-14 20:46:37 +03:00
Author
Owner

@pirate commented on GitHub (Aug 3, 2017):

I think once full-text search is added, this isn't needed. With full-text search and Ctrl+F covering full-text & titles search, I don't think we need a third search option. But thanks for the suggestion!

<!-- gh-comment-id:320021925 --> @pirate commented on GitHub (Aug 3, 2017): I think once full-text search is added, this isn't needed. With full-text search and Ctrl+F covering full-text & titles search, I don't think we need a third search option. But thanks for the suggestion!
Author
Owner

@nodiscc commented on GitHub (Aug 3, 2017):

Sometime I'd like to only see the items relevant to a particular search. Ctrl+F is nice but doesn't do what I need. Anyway thanks for replying

<!-- gh-comment-id:320044818 --> @nodiscc commented on GitHub (Aug 3, 2017): Sometime I'd like to _only_ see the items relevant to a particular search. Ctrl+F is nice but doesn't do what I need. Anyway thanks for replying
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#3049
No description provided.