Skip to content

About

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

🌐 QGIS Plugins Website DPG Badge

image

👋 Welcome to plugins.qgis.org!

This repository hosts the source code for the official QGIS Plugins Repository Website: 🌍 https://plugins.qgis.org

Here you'll find everything you need to build, develop, and contribute to the QGIS Plugins Website.

⚠️ Note on Other QGIS Websites

This repository is only for the main QGIS Plugins Repository Website (plugins.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:

For issues related to specific plugins or other concerns, please use their respective bug tracker (see the metadata/details of the concerned plugin).

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

📖 Table of Contents

Table of Contents
  1. 🚀 Project Overview
  2. 🚥 QA Status
  3. 📜 License
  4. 📂 Folder Structure
  5. 🛠️ Tech Stack
  6. 🗄️ Data Model
  7. 🔑 Token-based Authentication
  8. 🧊 Using the Nix Shell
  9. ✨ Contributing
  10. 🙋 Have Questions?
  11. 🧑‍💻👩‍💻 Contributors

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

🚀 Project Overview

Overview

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

🚥 QA Status

🪪 Badges

Badge Description
Lint and Django Unit Tests Lint and Django Unit Tests
Docker image Build & scan the image on PRs; push to DockerHub on release
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-Plugins-Website/
├── 🐳 dockerize/               # Docker-related setup and configuration
├── 🖼️ img/                     # Images and media assets for this README
├── 🤖 playwright/              # End-to-end tests using Playwright
├── 🛰️ 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
├── 📝 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

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

🛠️ Tech Stack

image

This application is based on Django, written in Python and deployed on the server using docker-compose. For how releases are versioned, planned, and deployed (including hotfixes and rollback), see docs/RELEASING.md.

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

🗄️ Data Model

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

ERD

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

🔑 Token-based Authentication

Users can generate a Simple JWT token by providing their credentials, which can then be utilized to access endpoints requiring authentication. Users can create specific tokens for a plugin at https://plugins.qgis.org/<package_name>/tokens/.

Version Upload/Update

# A specific plugin token can be used to upload or update a plugin version. For example:
curl \
  -H "Authorization: Bearer the_access_token" \
  https://plugins.qgis.org/plugins/api/<package_name>/version/add/

curl \
  -H "Authorization: Bearer the_access_token" \
  https://plugins.qgis.org/plugins/api/<package_name>/version/<version>/update

Plugin/Version JSON

# A specific plugin token can be also used to get JSON metadata, including security checks results, of a plugin or a specific version. For example:
curl \
  -H "Authorization: Bearer the_access_token" \
  https://plugins.qgis.org/plugins/<package_name>/json

curl \
  -H "Authorization: Bearer the_access_token" \
  https://plugins.qgis.org/plugins/api/<package_name>/version/<version>/json

curl \
  -H "Authorization: Bearer the_access_token" \
  https://plugins.qgis.org/plugins/api/<package_name>/latest/json

Note

These endpoints are also available from public view (if the token is not specified or incorrect), but without security checks results.

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

🧊 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.

When opening a PR, add a label (feature, fix, breaking, chore, …): labels drive the release notes and the next version bump. Release history lives on the GitHub Releases page, built automatically from merged PRs. See docs/RELEASING.md for details.

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

🙋 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 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

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages