ကိုယ်ရေးကိုယ်တာ
ဤ service ကိုရည်ရွယ်ချက်ရှိရှိ simple လုပ်ထားသော်လည်း public avatar API အလုပ်လုပ်ရန် request data အချို့ကိုလက်ခံသည်။ ဤ page သည်ထို practical baseline ကိုရှင်းပြသည်။
Service ကဘာလက်ခံသလဲ
- request တွင်သင်ထည့်သော opaque identifier, ဥပမာ internal id, username, သို့မဟုတ် one-way hash
- avatar type, style options, size, format, background ကဲ့သို့သော request parameters
- server, reverse proxy, CDN တို့ handle လုပ်သော standard HTTP metadata, ဥပမာ IP address, user agent, referrer, request timing
App ကဘာ store လုပ်သလဲ
Application သည် user accounts မလိုအပ်ပါ၊ default အနေဖြင့် application cookies မသတ်မှတ်ပါ။ Basic request flow တွင် app သည် avatar ကို on demand generate လုပ်ပြီးတိုက်ရိုက် return လုပ်သည်။
Object storage support enabled ဖြစ်ပြီး signed-link သို့မဟုတ် persistence route သုံးပါက generated avatar file နှင့် object key ကို configured S3-compatible bucket တွင် store လုပ်နိုင်သည်။
Privacy-Preserving Telemetry
Operator က telemetry enable လုပ်ပါက app သည် page views, visible page time, repository နှင့် crate clicks, demo actions, avatar generation counts အတွက် aggregate OpenTelemetry metrics emit လုပ်သည်။ ၎င်းတို့ကို kind, background, accessory, color, expression, shape, size bucket ကဲ့သို့ bounded style choices အလိုက် grouped လုပ်ထားသည်။
Telemetry တွင် raw identifiers, tenant သို့မဟုတ် style namespace values, IP addresses, user agents, referrers, full URLs, cookies, free-form text မပါဝင်ပါ။ Telemetry endpoints သည် allow-listed aggregate labels များသာလက်ခံသည်။
Logs နှင့် Infrastructure
Deployment အပေါ်မူတည်၍ nginx, Caddy, Cloudflare, hosting providers, သို့မဟုတ် S3-compatible storage ကဲ့သို့ infrastructure components များသည် access logs နှင့် operational metadata store လုပ်နိုင်သည်။ ဤ logs များသည် public service လည်ပတ်မှု၏အစိတ်အပိုင်းဖြစ်ပြီး requested identifier သည် URL တွင်ရှိပါက ပါဝင်နိုင်သည်။
မပို့သင့်သောအရာများ
Email-shaped identifiers ကို compatibility အတွက်လက်ခံသော်လည်း URLs များသည် infrastructure logs တွင်ပေါ်နိုင်သည်။ Request URL တွင် personal data မပါစေရန် stable internal id သို့မဟုတ် one-way application hash ကိုပို့ပါ။
Repository နှင့် Crate
Implementation ကို public API repository တွင်၊ reusable avatar renderer ကို Rust crate တွင်စစ်ဆေးနိုင်သည်။ Repository · Rust Crate
ဘာသာပြန်မှတ်ချက်
ဝဘ်ဆိုက်ဘာသာပြန်များကို AI အကူအညီဖြင့် အကောင်းဆုံးကြိုးစားမှုအဖြစ် ပြုလုပ်ထားသည်။ ပြင်ဆင်သင့်သော စာသားတွေ့ပါက GitHub တွင် ပါဝင်ကူညီနိုင်ပါသည်။ ဘာသာပြန်များ တိုးတက်အောင်လုပ်ရန်