jil

Joined 7 years ago

Karma
128
Submissions
19
Member since
Jan 7
https://jameslittle.me

https://twitter.com/jameslittle230

View on Hacker News

Recent submissions

Comment · 3 years ago
Comment · 4 years ago
It doesn’t do live crawling, so might not be quite what you want, but I built Stork Search (https://stork-search.net) to solve full-text search for static sites.

Today, you’d run a binary as part of a site’s build or deploy process, feeding in the input files. It generates a search index which you deploy alongside your site. The project’s JS library will load that index and turn it into a client-side interactive search interface.

I’d be curious to see if this sounds interesting or workable for you - you mentioned that you don’t want to host your own index, but does that change if “hosting the index” feels similar to hosting an image, instead of spinning up a server?

I’d be interested in building a paid addition that will crawl your site & host the index - you’re probably the 2nd person I’ve seen with that suggestion. Please let me know if you’d be interested in being a beta user.

Comment · 5 years ago
Comment · 5 years ago
Self-hosted Stork is definitely possible, and definitely something I want to build! I've been focusing on a different type of user for the 1.0.0 (the user who wants to paste in a single script tag), and there are still some last experience improvements I want to make for those folks, but I completely recognize the value of self-hosting code like this and want to build something into Stork that will fill that niche, as well.

For now (and I haven't tried this for self-hosting, so use at your own risk) -- the whole project (incl. the final JS file and the WASM blob) can be built from source. Tweaking the build a little bit would probably get you most of the way there.

Comment · 5 years ago
I keep wanting to try that! Sharding the index would be really cool, and would definitely allow for a seemingly infinite index size. The barrier, as you were getting to, would be making sure index shard downloads could keep up with typing speed.

Definitely something I'll try experimenting with in the future, so... watch this space, perhaps?

Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Fuzzy search is definitely on my list! Keep an eye out in the near future...
Comment · 6 years ago
I've been a fan of Matthias' project for a while. I learned about it soon after starting Stork: https://stork-search.net

They're very similar and share a lot of principles, though Matthias went full-on towards the algorithmic aspect and I focused on the experience of including the UI (copy-pastable from the code on the home page) and building a search index.

I think WASM-aided in-browser search is really exciting! There are clear benefits for content creators (embedding search on a Jamstack site has historically been tricky) and for users alike (Caching & offline support is pretty rad if your users are doing a lot of searching). I'm excited to see Matthias' project get attention here!

Comment · 7 years ago
I also highly doubt that the Apple Pay button shows up on places where it isn't supported.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton