[PR #24] [CLOSED] Add full-text search #2546

Closed
opened 2026-03-01 17:59:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/24
Author: @pirate
Created: 6/18/2017
Status: Closed

Base: masterHead: search


📝 Commits (10+)

  • 856db77 add search box to ui and simple search backend
  • 3a3a371 rearrange header
  • 75095bf better error message
  • 2ed30cb add readme instructions for search.py
  • 1498002 update readme and argument parsing
  • 11c3858 case-insensitive working search w/ instructions
  • 586ebad scroll to first result
  • c35fe24 better scrolling to results
  • 366a62f scrolling table with independent header
  • efd71e5 fix scrolling header

📊 Changes

4 files changed (+174 additions, -8 deletions)

View changed files

📝 README.md (+18 -3)
📝 archive.py (+2 -2)
📝 index_template.html (+90 -3)
search.py (+64 -0)

📄 Description

I added full-text search of the wget archives using ag (the silver searcher). A simple Flask app provides the search endpoint to the frontend.

Instructions were added to the readme for how to run the ag search backend, or how to use ./search.py from the CLI.

screen shot 2017-06-18 at 5 36 41 am

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/24 **Author:** [@pirate](https://github.com/pirate) **Created:** 6/18/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `search` --- ### 📝 Commits (10+) - [`856db77`](https://github.com/ArchiveBox/ArchiveBox/commit/856db77ab05bf14e580358fea7c33aebd3735793) add search box to ui and simple search backend - [`3a3a371`](https://github.com/ArchiveBox/ArchiveBox/commit/3a3a371d958705b0e78aa57e59bbf8e45133ef82) rearrange header - [`75095bf`](https://github.com/ArchiveBox/ArchiveBox/commit/75095bfdb7d71e6df5227fef400e35bc8e98c662) better error message - [`2ed30cb`](https://github.com/ArchiveBox/ArchiveBox/commit/2ed30cb00ca87985f4c4526c26d09862c3ffb83b) add readme instructions for search.py - [`1498002`](https://github.com/ArchiveBox/ArchiveBox/commit/14980023f5c5c94b3e727a2d1c92466f6affd890) update readme and argument parsing - [`11c3858`](https://github.com/ArchiveBox/ArchiveBox/commit/11c3858d77d4532c54d1b73816e817c3efec65cb) case-insensitive working search w/ instructions - [`586ebad`](https://github.com/ArchiveBox/ArchiveBox/commit/586ebad488b21b4abacb9b9e32b11a9c2e790cb8) scroll to first result - [`c35fe24`](https://github.com/ArchiveBox/ArchiveBox/commit/c35fe24239d012e67d3d87a4c152a1c57ba57dc4) better scrolling to results - [`366a62f`](https://github.com/ArchiveBox/ArchiveBox/commit/366a62fdf1cbc494e04402fe9fdc61cdb5d45170) scrolling table with independent header - [`efd71e5`](https://github.com/ArchiveBox/ArchiveBox/commit/efd71e526be8e685641433497b4ad8e3c6a21c49) fix scrolling header ### 📊 Changes **4 files changed** (+174 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+18 -3) 📝 `archive.py` (+2 -2) 📝 `index_template.html` (+90 -3) ➕ `search.py` (+64 -0) </details> ### 📄 Description I added full-text search of the wget archives using `ag` (the silver searcher). A simple Flask app provides the search endpoint to the frontend. Instructions were added to the readme for how to run the `ag` search backend, or how to use `./search.py` from the CLI. <img width="988" alt="screen shot 2017-06-18 at 5 36 41 am" src="https://user-images.githubusercontent.com/511499/27260057-4570a3f4-53e8-11e7-9639-ad8466109e14.PNG"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 17:59:52 +03:00
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#2546
No description provided.