{"id":23577151,"url":"https://github.com/eggpi/similarity","last_synced_at":"2025-05-16T16:10:41.085Z","repository":{"id":45443171,"uuid":"104508723","full_name":"eggpi/similarity","owner":"eggpi","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-22T21:34:08.000Z","size":72,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T14:50:13.687Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/eggpi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-22T19:00:19.000Z","updated_at":"2021-09-08T09:02:54.000Z","dependencies_parsed_at":"2022-09-19T05:51:53.099Z","dependency_job_id":null,"html_url":"https://github.com/eggpi/similarity","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggpi%2Fsimilarity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggpi%2Fsimilarity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggpi%2Fsimilarity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggpi%2Fsimilarity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eggpi","download_url":"https://codeload.github.com/eggpi/similarity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254564189,"owners_count":22092123,"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-12-26T22:27:01.204Z","updated_at":"2025-05-16T16:10:41.057Z","avatar_url":"https://github.com/eggpi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wikipedia Needs References / similarity\n\nA browser extension that tells you when a page you're reading could be used\nas a reference in a Wikipedia article. With one click, you can get to an article\nand start editing!\n\nGet it from the [Chrome web store](https://chrome.google.com/webstore/detail/wikipedia-needs-reference/michcligfeahibdmakjapmaigojkddmk)\nor [Firefox Add-ons](https://addons.mozilla.org/en-GB/firefox/addon/wikipedia-needs-references/).\n\nThis repository contains all of the code for both the extension itself\n(Wikipedia Needs References) and the backend (similarity), which is hosted in\nthe [Wikimedia Toolforge](https://tools.wmflabs.org/) and backed by\nElasticSearch.\n\n## Installing on Toolforge\n\nFirst, make sure to request [ElasticSearch\naccess](https://wikitech.wikimedia.org/wiki/Help:Toolforge/Elasticsearch).\n\nClone the repository:\n\n```\n$ git clone https://github.com/eggpi/similarity\n$ mkdir -p www/python/\n$ ln -s ../../similariy www/python/src\n```\n\nCreate a virtualenv and install the requirements:\n\n```\n$ virtualenv -p python3 www/python/venv\n$ . www/python/venv/bin/activate\n$ pip install --upgrade pip\n$ pip install -r similarity/requirements.txt\n$ deactivate\n```\n\nIt may be necessary to run the `pip install -r` command more than once until it\nactually works ¯\\\\\\_(ツ)\\_/¯\n\nInstall the crontab:\n\n```\n$ cat similarity/crontab | crontab\n```\n\nYou also want to run the command in the crontab manually to populate the initial\nElasticSearch dataset.\n\nNow launch the app!\n\n```\n$ webservice --backend=kubernetes python start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggpi%2Fsimilarity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feggpi%2Fsimilarity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggpi%2Fsimilarity/lists"}