A festive web application for Secret Santa gift exchanges with encrypted assignment links. Note: the giver/receiver assignment and link generation is done separately; this val only reveals who the giver is matched with. See Technical Details for more.
/) - Shows a festive landing page for users without a valid token/{encrypted-token}) - Decrypts the token and shows:
The giver/receiver pairs and encrypted link can be generated via this code or the moral equivalent.
The decrypted token should contain:
{ "giver": "John Doe", "receiver": "Jane Smith" }
main.ts - Main HTTP handler with HTML page generationutils.ts - Encryption/decryption utilitiesfavicon.svg - Gift box favicon for the siteREADME.md - This documentationENCRYPTION_KEY - Hex-encoded encryption key for AES-GCM decryption