eklem / nowsearch.xyz

Need to search through some data? Load the data and search. No server. No cost.
https://nowsearch.xyz/
MIT License
0 stars 0 forks source link

Test dat.js #35

Closed eklem closed 2 years ago

eklem commented 5 years ago

https://docs.datproject.org/docs/browser-intro

Look into how

This way, people that starts search engines can get to a point where they think their search engine could be usable for others, and then go from there.

Share address could be [username].nowsearch.xyz/[enginename]. For the user with write access, the engine will also always be accessible through nowsearch.xyz/[enginename]

eklem commented 5 years ago

Will be superceded by Dat SDK. The longer time it takes before I start, the biggeer chance it will be using the SDK and not Dat.js.

eklem commented 5 years ago

Check out the hypertrie example

eklem commented 5 years ago

Basing it on hypertrie will be good for later use cases too, having the possibility for multiwriter scenarios where you can have several people contributing to data for a search engine.

eklem commented 4 years ago

So, Hyperdrive v10 could be the base for this, storing the data that should be indexed. Creating a new JSON-file for i.e. every 1000 item / document. If you want to colaborate we could do some behind the scene mounting of each colaborator's Hyperdrive into the others Hyperdrive. This way you could easily connect and de-connect colaborative search engines. I.e. making a recipe search engine, you're invited to someone elses.

Stuff that could be interesting, and possible to grasp for users:

Syncronisation part

eklem commented 4 years ago

Need to wait for browser-version to land.

eklem commented 4 years ago

Hyperdrive to solve the file and folders synchronization. And dat-store to keep a backup seed going. Could be a wrapper around client, making sure the proper URL is used, etc.

https://github.com/datproject/dat-store

eklem commented 2 years ago

Dat or hyper stuff is focusing too much on node.js-stuff, and the browser things seems to lag behind. Will drop that idea for now and look into making something simpler with Webtorrent.