Skip to content

qgis/QGIS-Hub-Website

🌐 QGIS Resources Hub Web Portal DPG Badge

image

πŸ‘‹ Welcome to the QGIS QGIS Resources Hub Web Portal!

This repository contains the source code for the QGIS Resources Hub Web Portal and its Analytics Dashboard, which manage and deliver styles, models, and other resources for the QGIS ecosystem.

Here you'll find everything you need to build, develop, and contribute to these sites.

⚠️ Note on Other QGIS Websites

This repository is only for the QGIS Resources Hub Web Portal (hub.qgis.org and each resources subdomain) and the related Analytics Dashboard (https://hub-analytics.qgis.org).

If you are looking for the source code or want to contribute to other QGIS websites, please visit their respective repositories below. Each website has its own codebase and contribution process:

-----------------------------------------------------

πŸ“– Table of Contents

Table of Contents
  1. πŸš€ Project Overview
  2. πŸš₯ QA Status
  3. πŸ“œ License
  4. πŸ“‚ Folder Structure
  5. πŸ€– Using 'AI' (Large Language Models)
  6. πŸ› οΈ Tech Stack
  7. πŸ—„οΈ Data Model
  8. πŸ›Έ QGIS Hub API
  9. 🧊 Using the Nix Shell
  10. ✨ Contributing
  11. πŸ™‹ Have Questions?
  12. πŸ§‘β€πŸ’»πŸ‘©β€πŸ’» Contributors

-----------------------------------------------------

πŸš€ Project Overview

Overview

-----------------------------------------------------

πŸͺͺ Badges

Badge Description
Lint and Django Unit Tests Lint and Django Unit Tests
Build and Push Docker Image to DockerHub Build and Push Docker Image to DockerHub
Website Status Website availability status
License Repository license
Open issues count
Closed issues count
Open pull requests count
Closed pull requests count

-----------------------------------------------------

⭐️ Project Stars

Stars

-----------------------------------------------------

πŸ“œ License

This project is licensed under the GPL-2.0 License. See the COPYING file for details.

-----------------------------------------------------

πŸ“‚ Folder Structure

QGIS-Hub-Website/
β”œβ”€β”€ 🐳 dockerize/               # Docker-related setup and configuration
β”œβ”€β”€ πŸ–ΌοΈ img/                     # Images and media assets for this README
β”œβ”€β”€ πŸ›°οΈ qgis-app/                # Main Django application source code
β”œβ”€β”€ πŸ—οΈ auth.json                # Authentication credentials for the Playwright test
β”œβ”€β”€ πŸ§ͺ codecov.yml              # Codecov configuration for test coverage reporting
β”œβ”€β”€ πŸ“œ COPYING                  # Project license file (GPL-2.0)
β”œβ”€β”€ πŸ“˜ CONTRIBUTING.md          # Contribution guidelines
β”œβ”€β”€ πŸ“˜ HUB_API.md               # Hub API Documentation
β”œβ”€β”€ πŸ“ list-vscode-extensions.sh* # Script to list recommended VSCode extensions for Nix shell environment
β”œβ”€β”€ πŸ“– README.md                # Project overview and documentation (this file)
β”œβ”€β”€ πŸ“¦ REQUIREMENTS-dev.txt     # Python dependencies for development
β”œβ”€β”€ βš™οΈ setup.cfg                # Flake8 configuration file
β”œβ”€β”€ 🧊 shell.nix                # Nix shell environment definition
└── πŸ–₯️ vscode.sh*                # VSCode helper script for Nix shell environment

-----------------------------------------------------

πŸ€– Using 'AI' (Large Language Models)

We are fine with using LLM's and Generative Machine Learning to act as general assistants, but the following three guidelines should be followed:

  1. Repeatability: Although we understand that repeatability is not possible generally, whenever you are verbatim using LLM or Generative Machine Learning outputs in this project, you must also provide the prompt that you used to generate the resource.
  2. Declaration: Sharing the prompt above is implicit declaration that a machine learning assistant was used. If it is not obvious that a piece of work was generated, include the robot (πŸ€–) icon next to a code snippet or text snippet.
  3. Validation: Outputs generated by a virtual assistant should always be validated by a human and you, as contributor, take ultimate responsibility for the correct functionality of any code and the correct expression in any text or media you submit to this project.

-----------------------------------------------------

πŸ› οΈ Tech Stack

image

This application is based on Django, written in Python and deployed on the server using docker-compose.

-----------------------------------------------------

πŸ—„οΈ Data Model

Below is the Entity-Relationship Diagram (ERD) illustrating the core data model for the QGIS Hub Website.
For a detailed view, click on the image below or see the full-size diagram in erd.svg:

ERD

-----------------------------------------------------

πŸ›Έ QGIS Hub API

  • For full API documentation, see HUB_API.md and the Swagger Documentation.
  • The API enables programmatic access to styles, models, and other resources.
  • Authentication and usage guidelines are provided in the documentation.
  • Contributions and feedback on the API are welcome!

-----------------------------------------------------

🧊 Using the Nix Shell

Please refer to the Nix section in CONTRIBUTING.md.

-----------------------------------------------------

✨ Contributing

We welcome contributions! Please read the CONTRIBUTING.md for guidelines on how to get started.

-----------------------------------------------------

πŸ™‹ Have Questions?

Have questions or feedback? Feel free to open an issue or submit a Pull Request!

-----------------------------------------------------

πŸ§‘β€πŸ’»πŸ‘©β€πŸ’» Contributors

  • Tim Sutton – Original author and lead maintainer of the QGIS Plugins/Hub Website project
  • Kontur Team – Responsible for the design of the current theme
  • Lova Andriarimalala – Core developer and ongoing maintainer
  • QGIS Contributors – See the full list of amazing contributors who have helped make this website possible.

-----------------------------------------------------

Made with ❀️ by Tim Sutton (@timlinux), Lova Andriarimalala (@Xpirix) and QGIS Contributors.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 35