segment-boneyard/khaos

search

Opened this issue · 3 comments

search will help this project really take off and promote reusability.

This is the search query I've been using for components for a while and it's been working wonderfully.

Searching for tip:

https://github.com/search?q=tip+path%3A%2Fcomponent.json

More abstract:

https://github.com/search?q={query}+path%3A%2F{manifest}

mm yeah. one problem is we don't mandate the khaos.json, only necessary when doing custom things with the schema

my plan was to do like Metalsmith and let people PR things that directly add to the site. but also def down to get some sort of search going on top of that

btw @matthewmueller would be sweet to share the same infrastructure logic here for khaos and duo both, since they would benefit from a simple <cli> register and a simple server that handled indexing and making search work on the sites

+100, would be useful for some many things.

var registry = require('registry')('http://openregistry.com/khaos');

if (command == 'register') {
  registry.push(json, fn);
}

Something like that anyway.