https://github.com/repology/repology-webapp
Legacy python Repology web application. Deprecated by rust rewrite.
https://github.com/repology/repology-webapp
package packages repository versions
Last synced: 7 months ago
JSON representation
Legacy python Repology web application. Deprecated by rust rewrite.
- Host: GitHub
- URL: https://github.com/repology/repology-webapp
- Owner: repology
- License: gpl-3.0
- Created: 2019-10-04T20:13:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T20:56:21.000Z (10 months ago)
- Last Synced: 2024-12-23T21:32:34.639Z (10 months ago)
- Topics: package, packages, repository, versions
- Language: Python
- Homepage: https://github.com/repology/repology-rs/tree/master/repology-webapp
- Size: 4 MB
- Stars: 203
- Watchers: 7
- Forks: 27
- Open Issues: 46
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-live-opensource-webapps - repology/repology-webapp
README
# Repology
[](https://github.com/repology/repology-webapp/actions/workflows/ci.yml)
[](https://codecov.io/gh/repology/repology-webapp)Repology is a service which monitors *a lot* of package repositories
and other sources and aggregates data on software package versions,
reporting new releases and packaging problems.This repository contains Repology web application code. [See](https://repology.org/) it online.
See also the [updater](https://github.com/repology/repology-updater) code, a backend service
which updates the repository information.## Dependencies
- [Python](https://www.python.org/) 3.11+
- Python module [flask](http://flask.pocoo.org/)
- Python module [libversion](https://pypi.python.org/pypi/libversion) (also requires [libversion](https://github.com/repology/libversion) C library)
- Python module [pillow](https://pypi.python.org/pypi/Pillow)
- Python module [psycopg2](http://initd.org/psycopg/)
- [PostgreSQL](https://www.postgresql.org/) 14.0+
- PostgreSQL extension [libversion](https://github.com/repology/postgresql-libversion)### For development
For HTML validation in tests:
- Python module [pytidylib](https://pypi.python.org/pypi/pytidylib) and [tidy-html5](http://www.html-tidy.org/) libraryFor python code linting:
- Python module [flake8](https://pypi.python.org/pypi/flake8)
- Python module [flake8-builtins](https://pypi.python.org/pypi/flake8-builtins)
- Python module [flake8-import-order](https://pypi.python.org/pypi/flake8-import-order)
- Python module [flake8-quotes](https://pypi.python.org/pypi/flake8-quotes)
- Python module [mypy](http://mypy-lang.org/)## Running
### Preparing the database
To run the webapp, you first need a database created and filled
by repology-updater as [explained](https://github.com/repology/repology-updater#running)
in its documentation.### Running the webapp
Repology is a flask application, so as long as you've set up
database and configuration, you may just run the application
locally:```
./repology-app.py
```and point your browser to http://127.0.0.1:5000/ to view the
site. This should be enough for personal use, experiments and
testing.Alternatively, you may deploy the application in numerous ways,
including mod_wsgi, uwsgi, fastcgi and plain CGI application. See
[flask documentation on deployment](http://flask.pocoo.org/docs/deploying/)
for more info.For instance, you can deploy with `uwsgi` with the following command
line arguments:```
uwsgi --mount /=repology-app:app --pythonpath=
```## Author
* [Dmitry Marakasov](https://github.com/AMDmi3)
## License
GPLv3 or later, see [COPYING](COPYING).