ipfs-search alpha

Not much here yet, but try: GET /v1/search?q=something

Example

{
    "total": 54499,
    "max_score": 3.8840022,
    "page_size": 15,
    "page_count": 8,
    "hits": [
        {
            "hash": "QmXy6pjgbDyE3sR7ZRuwAxQJEkF3MRtNQXMGZYoZLxgDEj",
            "title": "water",
            "description": "some\ntext",
            "type": "directory",
            "size": 56151,
            "first-seen": "2018-01-16T23:52:10Z",
            "last-seen": "2018-01-16T23:54:10Z"
        },
        {
            "hash": "Qmbn93PicijZm2fd6MFCi7jLPZKuJ8gHpELcxo7MRPZzfq",
            "title": "water-year.png",
            "description": null,
            "type": "file",
            "size": 810
        }
        ...
    ]
}

Advanced queries

It's possible to query on specific fields, like the filename:
GET /v1/search?q=references.name:*.html

And by type (currently, `file` and `directory`):
GET /v1/search?q=_type=directory

Only consider objects seen within the last month:
GET /v1/search?q=last-seen:>now-1M

`

Code

https://github.com/ipfs-search/ipfs-search

Demo

Introduction during 'apps on IPFS' conference call.

Contact

Mathijs de Bruin info@ipfs-search.com