fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#Pagefind

0 posts0 participants0 posts today

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

Pagefind — Static low-bandwidth search at scalePagefind | Pagefind — Static low-bandwidth search at scalePagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure.

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 🙂

#surge #pagefind #surge.sh

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.

www.alexhyett.comAlex Hyett | Alex HyettAlex Hyett is a Software Developer, YouTuber and Writer focussed on helping people transform their lives by learning how to code.

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 !

thomas-leister.deDen statischen Hugo-basierten Blog mit Pagefind durchsuchen
More from Tom :damnified:
#pagefind#hugo#blog

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/

byJP · IndieSearchI built a prototype for client-side, fully distributed search for the IndieWeb — check out the demo & a little explainer.

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

Я реализовал первый прототип собственного механизма поиска, который сокращённо назвал 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

ХабрМой первый прототип поискового движкаЯ реализовал первый прототип собственного механизма поиска, который сокращённо назвал PSE (Personal Search Engine). Создал я его с помощью трёх скриптов Bash , возложив всю основную работу на sqlite3...