
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
great-sitemap-search
Advanced tools
A really simple search backend for your site based on a crawler that scanns all pages in sitemap.xml
Simplesearch provides an easy and really simple way to offer search on your website. it installs a Class that you can use to execute queries and a managment command you can use to update the indext pages based on a sitemap.xml
Add "simplesearch" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = ( ... 'simplesearch', )
edit settings.py file to include the location of the search index.
INDEX_DIR = os.path.join(BASE_DIR, 'index')
run the command ./manage.py update_search_index
access the search backen from your views with: from simplesearch import SimpleSiteSearcher
searcher = SimpleSiteSearcher() results = searcher.search('a query String')
This will return a list like this:
[ { title:'some tiele', text:'relevant part of the searched text with on the important terms', url:'the url to the page on your site where the text was found' }, ... ] you may then use the list in your templates to display the search results.
FAQs
A really simple search backend for your site based on a crawler that scanns all pages in sitemap.xml
We found that great-sitemap-search demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.