🎄 উৎসব বিশেষ
আপনার সিক্রেট সান্তা আয়োজন করুন।
কেউ উঁকি দিতে পারবে না।
নামগুলো লিখুন, আমরা লটারি করে প্রত্যেক অংশগ্রহণকারীর জন্য একটি protonURL লিঙ্ক তৈরি করি। প্রত্যেকে নিজের লিঙ্কটি একবারই খোলেন, জানতে পারেন কাকে উপহার দিতে হবে… আর বার্তাটি নিজে থেকেই মুছে যায়।
বিনামূল্যে নাম লটারি, সাইন-আপ ছাড়াই
কীভাবে কাজ করে
-
1
নামগুলো লিখুন
অংশগ্রহণকারীদের যোগ করুন এবং দরকার হলে তাদেরও, যারা একে অপরকে পাবে না (যেমন দম্পতি)।
-
2
আমরা লটারি করি
সবাইকে একটি এলোমেলো উপহার-চক্রে রাখা হয়, তারপর প্রত্যেক অংশগ্রহণকারীর জন্য একটি এনক্রিপ্ট করা protonURL লিঙ্ক তৈরি হয়।
-
3
লিঙ্কগুলো পাঠান
প্রত্যেকে SMS, WhatsApp বা ইমেলে নিজের লিঙ্ক পান। পড়ার পরই বার্তাটি মুছে যায়।
🕵️ কেউ উঁকি দেওয়ার চেষ্টা করলে?
একটি protonURL লিঙ্ক মাত্র একবার খোলে। আয়োজক (বা অন্য কেউ) যদি অন্যের লিঙ্ক খোলেন, তাহলে আসল প্রাপক আগে থেকে খোলা একটি লিঙ্ক পাবেন: চালাকি সঙ্গে সঙ্গে ধরা পড়ে। শুধু নতুন করে লটারি করে নিন।
প্রচলিত সিক্রেট সান্তার ঝামেলা
কাগজের চিরকুট
সবাইকে এক জায়গায় জড়ো হতে হয়, আর কেউ না কেউ নিজের নামই তুলে ফেলে।
আয়োজক সব জানেন
যিনি লটারি করেন, তিনি সব জোড়া দেখে ফেলেন। তার জন্য কোনো চমক থাকে না।
আলাদা অ্যাপ
অ্যাকাউন্ট খোলা, ইমেল দেওয়া, বিজ্ঞাপন… শুধু কয়েকটা নাম তোলার জন্য।
🔒 সত্যিই গোপন, আয়োজকের কাছেও
-
🙅 "সব দেখাও" বোতাম নেই
জোড়াগুলো কাউকেই দেখানো হয় না। আয়োজক শুধু লিঙ্ক দেখেন, তোলা নামগুলো নয়।
-
🤖 কোনো AI নেই
আপনার নামের তালিকা কখনো কোনো কৃত্রিম বুদ্ধিমত্তা পরিষেবায় পাঠানো হয় না।
-
🚫 অ্যাকাউন্ট লাগে না
সাইন-আপ নেই, ইমেল লাগে না, বিজ্ঞাপন নেই। না খোলা লিঙ্ক এক মাস পরে মুছে ফেলা হয়।
“আমি এইমাত্র এটা দিয়ে একটা সিক্রেট সান্তা আয়োজন করলাম! যা চেয়েছিলাম ঠিক তাই, আর ভালোভাবে কাজ করেছে। এটা আমার কাছেও গোপন, আর সেটাই আরও ভালো।”
🔍 সন্দেহপ্রবণদের জন্য
লটারির ভার আমাদের দিতে চান না?
নিজের কম্পিউটারেই চালান। স্ক্রিপ্টটি ছোট ও সহজে পড়া যায়: লটারি হয় আপনার মেশিনে, আমাদের সার্ভারে নয়। এরপর protonURL অন্য যেকোনো লিঙ্কের মতোই শুধু প্রতিটি এনক্রিপ্ট করা বার্তা সংরক্ষণ করে।
- আপনার বিনামূল্যের API কী নিন (মাসে ২০টি কল, ক্রেডিট কার্ড লাগবে না)।
- স্ক্রিপ্টটি ডাউনলোড করুন এবং আপনার কী, অংশগ্রহণকারী ও বার্তা লিখে দিন।
python3 secret-santa.pyচালান: প্রত্যেক অংশগ্রহণকারীর জন্য একটি করে লিঙ্ক পাবেন।
#!/usr/bin/env python3
"""
Secret Santa with protonURL — https://protonurl.com/secret-santa.html
Draws names and creates one self-destructing link per participant.
Nobody, not even the organiser, knows who got whom: each person opens
their own link once, and the message is destroyed right after.
Requirements: Python 3.8+, no extra package.
Usage: edit the settings below, then run `python3 secret-santa.py`
"""
import json
import random
import sys
import urllib.error
import urllib.request
# ── Settings ────────────────────────────────────────────────────────────────
API_KEY = "YOUR_API_KEY" # Free key (20 calls/month): https://protonurl.com/free-trial.html
PARTICIPANTS = ["Alice", "Bob", "Charlie", "Diana", "Eve"]
# Optional: people who must not draw each other (couples, roommates…)
EXCLUSIONS = [
("Alice", "Bob"),
]
MESSAGE = (
"🎅 Hi {giver}!\n\n"
"You are {receiver}'s Secret Santa! 🎁\n"
"You're the one buying them a gift.\n\n"
"Keep it secret 🤫 This message has now self-destructed: "
"write the name down or take a screenshot, you won't be able to read it again.\n\n"
"🎄 Run your own Secret Santa: https://protonurl.com/secret-santa.html"
)
DURATION_HOURS = 744 # Unopened links expire after 1 month. Allowed: 1, 72, 168, 744, 4464, 8760
# ── Script ──────────────────────────────────────────────────────────────────
API_URL = "https://api.protonurl.com"
ALLOWED_DURATIONS = (1, 72, 168, 744, 4464, 8760)
def api_call(method, path, payload=None):
request = urllib.request.Request(
API_URL + path,
data=json.dumps(payload).encode() if payload is not None else None,
method=method,
headers={
"Authorization": "Bearer " + API_KEY,
"Content-Type": "application/json",
},
)
try:
with urllib.request.urlopen(request, timeout=30) as response:
return json.load(response)
except urllib.error.HTTPError as error:
sys.exit(f"API error {error.code}: {error.read().decode(errors='replace')}")
def draw(people, exclusions, attempts=10_000):
"""Shuffle everyone into a single gift circle, so nobody draws themselves."""
rng = random.SystemRandom()
forbidden = {frozenset(pair) for pair in exclusions}
for _ in range(attempts):
circle = people[:]
rng.shuffle(circle)
pairs = [(circle[i], circle[(i + 1) % len(circle)]) for i in range(len(circle))]
if not any(frozenset(pair) in forbidden for pair in pairs):
return pairs
sys.exit("No valid draw found: there are too many exclusions.")
def main():
if API_KEY == "YOUR_API_KEY":
sys.exit("Set your API key first: https://protonurl.com/free-trial.html")
if len(PARTICIPANTS) < 3:
sys.exit("You need at least 3 participants.")
if len(set(PARTICIPANTS)) != len(PARTICIPANTS):
sys.exit("Each participant name must be unique.")
if type(DURATION_HOURS) is not int or DURATION_HOURS not in ALLOWED_DURATIONS:
sys.exit(f"DURATION_HOURS must be one of {ALLOWED_DURATIONS}.")
# Check the quota first, so the draw never stops halfway (this check uses 1 call)
remaining = api_call("GET", "/quota").get("remaining")
if remaining is not None and remaining < len(PARTICIPANTS):
sys.exit(f"Only {remaining} API calls left this month, "
f"{len(PARTICIPANTS)} needed: https://protonurl.com/pricing.html")
pairs = draw(PARTICIPANTS, EXCLUSIONS)
print("Send each person their own link (and only theirs!):\n")
for giver, receiver in sorted(pairs):
link = api_call("POST", "/create", {
"text": MESSAGE.format(giver=giver, receiver=receiver),
"duration": DURATION_HOURS,
})["url"]
print(f" {giver:<20} {link}")
print("\nEach link works only once. If someone says theirs was already opened,")
print("somebody peeked: just run the script again for a fresh draw.")
if __name__ == "__main__":
main()
বিনামূল্যের কী দিয়ে আপনি সর্বোচ্চ ১৯ জন অংশগ্রহণকারী নিয়ে লটারি করতে পারেন (শুরু করার আগে স্ক্রিপ্টটি আপনার কোটা যাচাই করতে একটি কল ব্যবহার করে)। বড় দলের জন্য, API Pro প্ল্যানে মাসে ১,০০০টি কল অন্তর্ভুক্ত।