{"id":13554415,"url":"https://github.com/repology/repology-webapp","last_synced_at":"2025-04-03T06:31:46.161Z","repository":{"id":37445348,"uuid":"212895224","full_name":"repology/repology-webapp","owner":"repology","description":"Legacy python Repology web application. Deprecated by rust rewrite.","archived":false,"fork":false,"pushed_at":"2024-12-23T20:56:21.000Z","size":4196,"stargazers_count":203,"open_issues_count":46,"forks_count":27,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-23T21:32:34.639Z","etag":null,"topics":["package","packages","repository","versions"],"latest_commit_sha":null,"homepage":"https://github.com/repology/repology-rs/tree/master/repology-webapp","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/repology.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2019-10-04T20:13:06.000Z","updated_at":"2024-12-23T20:56:24.000Z","dependencies_parsed_at":"2023-02-11T21:30:52.147Z","dependency_job_id":"3965729e-6c5a-4362-94ea-9f7611f209ff","html_url":"https://github.com/repology/repology-webapp","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/repology%2Frepology-webapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repology%2Frepology-webapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repology%2Frepology-webapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/repology%2Frepology-webapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/repology","download_url":"https://codeload.github.com/repology/repology-webapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246948092,"owners_count":20859377,"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":["package","packages","repository","versions"],"created_at":"2024-08-01T12:02:47.420Z","updated_at":"2025-04-03T06:31:44.616Z","avatar_url":"https://github.com/repology.png","language":"Python","funding_links":[],"categories":["Python","Apps"],"sub_categories":[],"readme":"# Repology\n\n[![CI](https://github.com/repology/repology-webapp/workflows/CI/badge.svg)](https://github.com/repology/repology-webapp/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/repology/repology-webapp/branch/master/graph/badge.svg)](https://codecov.io/gh/repology/repology-webapp)\n\nRepology is a service which monitors *a lot* of package repositories\nand other sources and aggregates data on software package versions,\nreporting new releases and packaging problems.\n\nThis repository contains Repology web application code. [See](https://repology.org/) it online.\nSee also the [updater](https://github.com/repology/repology-updater) code, a backend service\nwhich updates the repository information.\n\n## Dependencies\n\n- [Python](https://www.python.org/) 3.11+\n- Python module [flask](http://flask.pocoo.org/)\n- Python module [libversion](https://pypi.python.org/pypi/libversion) (also requires [libversion](https://github.com/repology/libversion) C library)\n- Python module [pillow](https://pypi.python.org/pypi/Pillow)\n- Python module [psycopg2](http://initd.org/psycopg/)\n- [PostgreSQL](https://www.postgresql.org/) 14.0+\n- PostgreSQL extension [libversion](https://github.com/repology/postgresql-libversion)\n\n### For development\n\nFor HTML validation in tests:\n- Python module [pytidylib](https://pypi.python.org/pypi/pytidylib) and [tidy-html5](http://www.html-tidy.org/) library\n\nFor python code linting:\n- Python module [flake8](https://pypi.python.org/pypi/flake8)\n- Python module [flake8-builtins](https://pypi.python.org/pypi/flake8-builtins)\n- Python module [flake8-import-order](https://pypi.python.org/pypi/flake8-import-order)\n- Python module [flake8-quotes](https://pypi.python.org/pypi/flake8-quotes)\n- Python module [mypy](http://mypy-lang.org/)\n\n## Running\n\n### Preparing the database\n\nTo run the webapp, you first need a database created and filled\nby repology-updater as [explained](https://github.com/repology/repology-updater#running)\nin its documentation.\n\n### Running the webapp\n\nRepology is a flask application, so as long as you've set up\ndatabase and configuration, you may just run the application\nlocally:\n\n```\n./repology-app.py\n```\n\nand point your browser to http://127.0.0.1:5000/ to view the\nsite. This should be enough for personal use, experiments and\ntesting.\n\nAlternatively, you may deploy the application in numerous ways,\nincluding mod_wsgi, uwsgi, fastcgi and plain CGI application. See\n[flask documentation on deployment](http://flask.pocoo.org/docs/deploying/)\nfor more info.\n\nFor instance, you can deploy with `uwsgi` with the following command\nline arguments:\n\n```\nuwsgi --mount /=repology-app:app --pythonpath=\u003cpath-to-repology-checkout\u003e\n```\n\n## Author\n\n* [Dmitry Marakasov](https://github.com/AMDmi3) \u003camdmi3@amdmi3.ru\u003e\n\n## License\n\nGPLv3 or later, see [COPYING](COPYING).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepology%2Frepology-webapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frepology%2Frepology-webapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepology%2Frepology-webapp/lists"}