#Pagefind

Made major changes to my #BurgeonLab blog!

#Changelog:
- Add light/dark switcher
- Improve colours
- Update fonts to variable, #woff2, preloading
- Add Lastmod date
- Add search with #Pagefind (Haven't fully customized results page but I'm happy to get it working online after updating the #GitHubActions workflow)
- Improve CSS
- Fix RSS
- Small cosmetic updates to interface/layout
- Summary on post cards

New posts soon! Open to any feedback. ➡️ burgeonlab.com

#blog #blogging #hugo

Screenshot of the new look of www.burgeonlab.com.Screenshot of the old look of www.burgeonlab.com.

Woah very cool, I just tried using #Pagefind indexer with #NodeJS for the first time to add #search functionality to my current #Hugotheme that doesn't have it built-in. github.com/hugo-theme-anubis2/

Still customizing... it was amazing to see the indexing and being able to search for any keyword immediately!

I really do love learning about #Hugo #SSG. Despite more code, it makes more sense to me than clunky #WordPress' GUI and backend that's not required for basic blogs like mine. #npm #npx #node

Screen shot of a burgeonlab.com Hugo blog with a new search bar.Screen shot of terminal showing `npx -y pagefind --site public` running.
2025-03-26

I'm also experimenting with using Pagefind to provide search for my static site using client-side Javascript. It currently analyzes 10934 files and indexes 8183 pages (87272 words) in 40 seconds. The data is 125MB, but a search for, say, "sketchnote" transfers only 280KB, so that's pretty good. I think I'm adding the date properly and I know I can set that as the default sort, but I haven't yet figured out how to make it possible for people to sort by either relevance or date as they want. I also want to eventually format the search results to include the date. Maybe Building a Pagefind UI – dee.underscore.world will be useful. #pagefind #ssg #search

2025-01-30

Does anyone know if I can turn off backtracking for #PageFind search? Currently it returns results for '19' when searching for '1960' which is not helpful. I want zero results if the term is not found.
I've tried setting language unknown but it didn't seem to help (even with word searches).
#webDev #StaticWebsites

ItsKarl0zItsKarl0z
2025-01-12

Wrote a blog about adding static search to your website without needing Algolia or other paid tools.

karl.fail/blog/2025/01/06/buil

2024-11-25

Is there an easy way to make #pagefind index a nav element? It's ignoring my tags and I would quite like them included. Or do I need to change my markup?
#webDev

2024-11-14

It only took me 30 minutes to implement #PageFind, and it produces nice looking results right out of the box. Amazing! blog.cavelab.dev/search/

Andrew Wigglesworthecadre
2024-11-12

Anyone using surge.sh that has a site search running?

I tried using pagefind, which runs everywhere for me (local development servers, lighttpd), but there are a series of errors thrown up on Surge and it does not work there.

I don't want to spend the rest of the week trying other solutions so I wonder whether anyone else might have a tip for me 🙂

.sh

2024-10-01

Does anyone using #Pagefind know of a way to make the word stemming calm down? I searched for "dove" on my site (like, the bird?) and it matched posts with the words "do" and "doing", which is a bit extreme.. #11ty

2024-09-04

I finally got around to adding search to my website. It was pretty easy with #eleventy and #pagefind from @cloudcannon. I will probably fiddle with the styling a bit more before I am done but it is good enough for now.

alexhyett.com check it out and let me know what you think.

Thinking of adding search to my static site... This seems to be a good option! pagefind.app/
Might give this a try when I have the time. Looks easy enough.

#Hugo #staticsitegenerator #Pagefind #staticsite

Tom :damnified:thomas@metalhead.club
2024-06-25

Habe nun endlich meinen kurzen Blogpost zum Thema "Pagefind" (by @cloudcannon ) geschrieben:

"Den statischen Hugo-basierten Blog mit Pagefind durchsuchen" -
thomas-leister.de/hugo-suchfun

Die Suchfunktion ist auch schon in meinen Blog integriert und funktioniert. Nur hier und da will ich demnächst noch ein bisschen nachbessern.

Bin sonst aber sehr glücklich mit Pagefind. Klasse Projekt - und danke @cloudcannon !

#pagefind #hugo #blog #suchmaschine

2024-05-12

@bglw #Pagefind made this so easy to hack together; thank you!

2024-05-12

I built a prototype for client-side, fully distributed search for the #IndieWeb, predictably called #IndieSearch — check out the short demo & explainer. Your site may even support it already (if you use the awesome #Pagefind static site search!)

I'd love to hear what you think!

byjp.me/posts/indiesearch/

Nicolas Hoizeynhoizey@mamot.fr
2024-04-02

There is now a search feature on my photography site! 🔍

For example: nicolas-hoizey.photo/search/?q

It is powered by the great pagefind project, thanks @bglw and @cloudcannon! 🙏

#Pagefind #photography #search

⚓️ nicolas-hoizey.com/notes/2024/

Nicolas Hoizeynhoizey@mamot.fr
2024-03-07

Wow, #Pagefind search is so easy to add to an existing static site!

I'm trying it for my photography site: nicolas-hoizey.photo/search/

Adding the indexer in the build script and the client JS for the UI required less than half an hour. 😍

Thanks @cloudcannon ! 🙏

#search

⚓️ nicolas-hoizey.com/notes/2024/

2024-01-05

[Перевод] Мой первый прототип поискового движка

Я реализовал первый прототип собственного механизма поиска, который сокращённо назвал PSE (Personal Search Engine). Создал я его с помощью трёх скриптов Bash , возложив всю основную работу на sqlite3 , wget и PageFind . Браузер Firefox вместе с Newsboat сохраняют полезную информацию в базах данных SQLite. В moz_places.sqlite содержатся все посещённые URL-адреса и адреса закладок (то есть moz_bookmarks.sqlite базы данных SQLite). У меня получилось около 2000 закладок. Это меньше, чем я предполагал, так как многие оказались нерабочими из-за битых ссылок. Нерабочие URL-адреса страниц сильно замедляют процесс сбора, так как wget приходится ожидать истечения различных таймаутов (например, DNS, ответа сервера, время скачивания). URL-адреса из «истории» составили бы интересную коллекцию для сбора, но тут не обойтись без списка исключений (например, нет смысла сохранять запросы к поисковым системам, веб-почте, онлайн-магазинам). Изучение этого вопроса я отложу до следующего прототипа.

habr.com/ru/companies/ruvds/ar

#ruvds_перевод #поисковый_движок #sqlite #wget #pagefind

dugite-codedugite_code
2023-12-19

Ok a bit more time was needed. Had to figure out how to read the category meta data from my posts correctly. is a fantastic example of a bit of software that just makes static websites so much nicer than bloated dynamic options you se people running.

dugite-codedugite_code
2023-12-19

Just deployed onto my over at peekread.info Damn that's nice static website indexing. github.com/CloudCannon/pagefin

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst