{"id":13994885,"url":"https://github.com/pascalw/jekyll_indextank","last_synced_at":"2025-07-09T05:40:14.627Z","repository":{"id":1484786,"uuid":"1731877","full_name":"pascalw/jekyll_indextank","owner":"pascalw","description":"Jekyll + indextank = Static websites with powerful full-text search","archived":false,"fork":false,"pushed_at":"2016-02-13T18:18:23.000Z","size":9,"stargazers_count":177,"open_issues_count":0,"forks_count":13,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-24T04:13:10.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pascalw.png","metadata":{"files":{"readme":"README.mdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-11T06:36:28.000Z","updated_at":"2025-03-10T06:48:30.000Z","dependencies_parsed_at":"2022-07-21T11:29:07.568Z","dependency_job_id":null,"html_url":"https://github.com/pascalw/jekyll_indextank","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalw%2Fjekyll_indextank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalw%2Fjekyll_indextank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalw%2Fjekyll_indextank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalw%2Fjekyll_indextank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pascalw","download_url":"https://codeload.github.com/pascalw/jekyll_indextank/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248145120,"owners_count":21055058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-09T14:03:09.738Z","updated_at":"2025-04-10T02:42:59.080Z","avatar_url":"https://github.com/pascalw.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"## Jekyll + indextank = Static websites with powerful full-text search\n\n### How to use:\n* Place jekyll_indextank.rb inside the _plugins folder in the root of your jekyll site.\n* Add 'indextank_index', 'indextank_api_url' and optionally 'indextank_excludes' settings to your _config.yml\n\nAll pages' main content will be indexed at indextank, now all you have to do is hook up some Javascript and ajax\nto a form to query the [indextank api](http://indextank.com/documentation/api#searching).  \nNote that, while at the time of writing, the indextank api docs do not show that the search api supports jsonp, it does.\nJust add `\u0026callback=mycallback` to the api call.\n\n### How it works\nEverytime you generate your Jekyll site, all pages will be indexed at IndexTank. Now when you query the IndexTank search api,\nsomething like this will be returned:\n\n\t{\"matches\": 1, \"facets\": {}, \"search_time\": \"0.002\", \"results\": [{\"docid\": \"/blog/2009/01/04/colored-uiprogressview.html\"}]}\n\nThe \"docid\" field contains the absolute url (minus domain name) to the matched resource.\n\n### JavaScript usage example\n\n\t$.getJSON(\"http://\u003cyour_api_key\u003e.api.indextank.com/v1/indexes/\u003cyour_index\u003e/search?q=\u003ca query\u003e\u0026callback=?\", function(json) {\n    \talert(json.results); //you might want to approve usability a bit ;-)\n\t});\n\n  See examples/example.html for a basic example, showing results in a div.\n\n  For a live example see the search on my blog \u003chttp://pwiddershoven.nl\u003e\n\n### Requirements\nJekyll_indextank requires the following gems:\n\n* indextank\n* nokogiri\n\nFor an example of available config settings, see example_config.yml.\n\n### Installation\n* gem install indextank nokogiri\n* rake build\n* copy build/jekyll_indextank.rb to your hyde site's _plugins folder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalw%2Fjekyll_indextank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpascalw%2Fjekyll_indextank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalw%2Fjekyll_indextank/lists"}