Back to projects /

Open Source / Overview

Simple Donation

A reusable Nuxt module for configurable PayPal donations.

Overview

An open-source Nuxt 3 and 4 module that packages configurable PayPal donations into a reusable TypeScript integration.

Context

The same donation flow was appearing in more than one project, so I extracted it into a module with configuration, localization and styling hooks.

My role

I designed the module API, the configurable donation interface and the packaging needed to reuse it across Nuxt projects.

Technical decisions

Package the integration

A module architecture exposes reusable configuration and keeps the integration independent of a single website.

Allow adaptation without duplication

Multilingual support and customization let projects adapt the interface. DOMPurify sanitizes configurable HTML content.

Architecture

  1. Nuxt 3 / 4 module
  2. TypeScript / reusable API
  3. Vue interface / Tailwind styling
  4. Multilingual content / customization
  5. PayPal integration / DOMPurify

Main challenges

Keeping the module reusable across Nuxt versions and accommodating localization and interface customization.

Security / performance

DOMPurify provides an explicit sanitization boundary for configurable HTML.

Current state

Publicly available source for a reusable Nuxt donation integration.

Contact / Giovanni Manetti

Get in touch.

For product development, frontend work, security-related software or a technical collaboration, email me.