{"id":19789059,"url":"https://github.com/ponsfrilus/searchplugins","last_synced_at":"2025-10-19T01:49:26.138Z","repository":{"id":150880610,"uuid":"79343359","full_name":"ponsfrilus/searchplugins","owner":"ponsfrilus","description":"A collection of search plugins for EPFL using OpenSearch.","archived":false,"fork":false,"pushed_at":"2023-11-25T11:28:54.000Z","size":14343,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T00:37:40.128Z","etag":null,"topics":["epfl","opensearch","opensearch-plugins","search-plugin"],"latest_commit_sha":null,"homepage":"https://ponsfrilus.github.io/searchplugins/","language":"JavaScript","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/ponsfrilus.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-18T13:38:57.000Z","updated_at":"2023-11-20T16:59:42.000Z","dependencies_parsed_at":"2023-11-25T12:36:31.185Z","dependency_job_id":null,"html_url":"https://github.com/ponsfrilus/searchplugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ponsfrilus/searchplugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fsearchplugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fsearchplugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fsearchplugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fsearchplugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ponsfrilus","download_url":"https://codeload.github.com/ponsfrilus/searchplugins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ponsfrilus%2Fsearchplugins/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262347470,"owners_count":23296893,"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":["epfl","opensearch","opensearch-plugins","search-plugin"],"created_at":"2024-11-12T06:29:43.549Z","updated_at":"2025-10-19T01:49:21.090Z","avatar_url":"https://github.com/ponsfrilus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EPFL search plugins\n\nTL;DR please visit https://ponsfrilus.github.io/searchplugins/\n\n## About\n\nA collection of search plugins for [EPFL](https://www.epfl.ch) using\n[OpenSearch](https://en.wikipedia.org/wiki/OpenSearch) hosted on GitHub pages.\n\nPlease read the [MDN](https://developer.mozilla.org/en-US/docs/Web/OpenSearch)\ndocumentation.\n\nTheses plugins were hosted on http://mycroftproject.com, but it become more\ndifficult to manage them, so this repository was created.\n\nLast but not least, the auto-discovery of OpenSearch is no longer working with \nGoogle Chrome (see this\n[stackoverflow](https://stackoverflow.com/questions/56400952/does-chrome-allow-auto-discovery-of-opensearch)).\n\n\n## Add / Generate plugins\n\nWhile it sould be built on push with GitHub actions, you can generate the\nplugins' XML files and the HTML that reference them by hand, running:\n\n```bash\nnode index.js\n```\n\nIt takes data from [list.json](./list.json) and output plugins XML files in the\n[opensearch](./opensearch) directory.\n\n:warning: when adding a new plugin, you have to add the corresponding icons in\nthe [img](./img) repository. See the [Icons](#icons) section of this document.\n\n\n### Options\n\nPlease run `node index.js --help` to see available options.\n\n\n## Plugins list\n\nThe plugins list stands in the [list.json](./list.json) file. When adding a new\nsearch plugin, `name`, `shortName`, `description`, `contact`, `image`, \n`searchURL` and `searchQueryURL` have to be set.\n\n\n## Icons\n\n\u003e When possible, search engines should offer a 16x16 image of type\n\u003e \"image/x-icon\" or \"image/vnd.microsoft.icon\" (the Microsoft ICO format) and a\n\u003e 64x64 image of type \"image/jpeg\" or \"image/png\".\n\nEach icons of this repo has a `epfl-search-service.svg` image, in the\n[img](./img) directory. Use this [svg] image to generate the 16×16 image of\ntype `image/x-icon` and a 64×64 image of `image/png`. It's pretty easy with\n[imagemagick]: \n\n```bash\nconvert -background transparent -resize 16 epfl-search-service.svg epfl-search-service.ico\n\nconvert -background transparent -resize 64 epfl-search-service.svg epfl-search-service.png\n```\n\nAlternatively, you can run this script to do them all:\n\n```bash\nfor f in $(ls img/*.svg); do \n    echo \"Generating ico and png for $f\";\n    filename=$(basename -- \"$f\")\n    extension=\"${filename##*.}\"\n    filename=\"${filename%.*}\"\n    convert -background transparent -resize 16 $f img/$filename.ico\n    convert -background transparent -resize 64 $f img/$filename.png\ndone\n```\n\n\n\n\nYou can use [epfl-search-tempalte.svg](./img/epfl-search-tempalte.svg) as\ntemplate to create new search plugins.\n\n\n\n\n[imagemagick]: https://imagemagick.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponsfrilus%2Fsearchplugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fponsfrilus%2Fsearchplugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fponsfrilus%2Fsearchplugins/lists"}