{"id":17291857,"url":"https://github.com/eklem/norch-vue","last_synced_at":"2025-09-02T04:39:20.527Z","repository":{"id":86035187,"uuid":"56678207","full_name":"eklem/norch-vue","owner":"eklem","description":"Vue.js frontend to Norch and search-index. ","archived":false,"fork":false,"pushed_at":"2020-08-01T19:50:26.000Z","size":281,"stargazers_count":9,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"trunk","last_synced_at":"2025-08-31T19:39:21.889Z","etag":null,"topics":["javascript","norch","search","search-engine","search-interface","vuejs"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eklem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-04-20T10:33:33.000Z","updated_at":"2019-04-23T07:56:44.000Z","dependencies_parsed_at":"2023-03-04T01:15:33.600Z","dependency_job_id":null,"html_url":"https://github.com/eklem/norch-vue","commit_stats":null,"previous_names":["eklem/norch-vuejs-app"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eklem/norch-vue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eklem%2Fnorch-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eklem%2Fnorch-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eklem%2Fnorch-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eklem%2Fnorch-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eklem","download_url":"https://codeload.github.com/eklem/norch-vue/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eklem%2Fnorch-vue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273233245,"owners_count":25068725,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["javascript","norch","search","search-engine","search-interface","vuejs"],"created_at":"2024-10-15T10:42:04.748Z","updated_at":"2025-09-02T04:39:20.498Z","avatar_url":"https://github.com/eklem.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# norch-vue\nVue.js frontend to the search engine [norch](https://github.com/fergiemcdowall/norch) / [search-index](https://github.com/fergiemcdowall/search-index). An easy way to get started with norch and test your dataset without much coding. (Will be without any coding at a later point in time)\n\n[![Join the chat at https://gitter.im/fergiemcdowall/search-index][gitter-image]][gitter-url]\n[![NPM version][npm-version-image]][npm-url]\n[![NPM downloads][npm-downloads-image]][npm-url]\n[![MIT License][license-image]][license-url]\n\n## Try it right away on Codepen.io\n[norch-vuejs-app@codepen.io](http://codepen.io/eklem/pen/YNyrMo)\n\n## Install\n\n```console\nnpm install -g norch\nnpm install search-index-indexer norch-vuejs-app\n```\n\n## Setup\n\n### Getting the data\n```console\nnode node_modules/search-index-indexer/index.js -c https://cdn.rawgit.com/eklem/search-index-indexer/master/config.json -d https://cdn.rawgit.com/eklem/dataset-vinmonopolet/master/dataset-vinmonopolet-sparkling.str\nmkdir norch-index\nmv data/ norch-index/\n```\n\nFor test-data we use the dataset [dataset-vinmonopolet](https://github.com/eklem/dataset-vinmonopolet).\n\n### Starting norch\n```console\nnorch -p 3030 -l silly -i norch-index\n```\n\n### Configuring norch-vue\nnorch.js starts with defining a data model. Part of it is the config-stuff. Point it to the `url` of your norch instance, and setup cateories (fields you want to filter on).\n```javascript\n// Application configuration\n  config = {\n      'url': 'http://[norch-url]:[port-number]/',\n      'endpoint': {\n        'search': 'search?q=',\n        'categorize': 'categorize?q=',\n        'buckets': 'buckets?q=',\n        'docCount': 'docCount',\n        'totalHits': 'totalHits?q='\n      },\n      'categories': [{\n        'field': '[filed-to-categorize-on]'\n      }]\n    }\n```\nMore about the [norch endpoint API](https://github.com/fergiemcdowall/norch#api). Only a subset is supported by this app.\n\n### Deliver the html-page\nI'm using Apache to deliver the page, but that's just me. User your preferred webserver to deliver index.html and norch.js and you're ready to play.\n\n## Development\n\n### Vue devtools\nGoogle Chrome is the preferred browser when developing because it has a working devtool for Vue: [Vue.js devtools](https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd). It will among other things, show you what's happening to your data object(s) in your app.\n\n### Test quey objects on norch\nWhen developing, it's good to check what norch supports and not, and what the response is. Test in you browser like this:\n```URL\nhttp://[norch-url]:[port-number]/search?q={\"pageSize\":10,\"query\":{\"AND\":{\"*\":[\"*\"]}}}\n``` \n\n## Plans\n* [x] First step is to make it talk to [`norch`](https://github.com/fergiemcdowall/norch) JSON API. Together with the [`search-index-indexer`](https://github.com/eklem/search-index-indexer) this will make people able to test their dataset without any coding.\n* [ ] Second step is to make it run in the browser and be able to switch from using an external `norch` JSON API to an internal [`search-index`](https://github.com/fergiemcdowall/search-index) API after replicating the search index into local storage.\n\n[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\n[license-url]: LICENSE\n[npm-url]: https://npmjs.org/package/norch-vuejs-app\n[npm-version-image]: http://img.shields.io/npm/v/norch-vuejs-app.svg?style=flat-square\n[npm-downloads-image]: http://img.shields.io/npm/dm/norch-vuejs-app.svg?style=flat-square\n[gitter-url]: https://gitter.im/fergiemcdowall/search-index?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\n[gitter-image]: https://img.shields.io/badge/GITTER-join%20chat-green.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feklem%2Fnorch-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feklem%2Fnorch-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feklem%2Fnorch-vue/lists"}