santa
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
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.
- π Splashy Christmas-themed UI with falling snowflakes and festive animations
- π Encrypted assignment links for secure Secret Santa assignments
- π Interactive gift reveal - click the gift box to discover your assignment
- π± Responsive design that works on all devices
- β¨ Celebration effects when the assignment is revealed
- Welcome Page (
/) - Shows a festive landing page for users without a valid token - Assignment Page (
/{encrypted-token}) - Decrypts the token and shows:- A personalized greeting to the giver
- An interactive gift box that reveals the receiver when clicked
- Festive animations and celebration effects
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 documentation
ENCRYPTION_KEY- Hex-encoded encryption key for AES-GCM decryption