SaKana - Privacy Policy
▼
PRIVACY_POLICY.TXT — NOTEPAD
CONFIDENTIAL // TRANSPARENT

SaKana Privacy Policy & Data Transparency

EFFECTIVE: OCTOBER 2026

At SaKana (魚), we believe educational tools should respect your freedom and privacy. This document outlines exactly what information is collected, how it is stored, and how our real guest and authenticated systems operate.

1. REAL DATA IMPLEMENTATION: GUEST VS. LOGGED-IN ACCOUNTS
GUEST MODE (NO REGISTRATION)

Zero Personal Data Collected: You do not need to submit your email, name, phone number, or password. You are assigned a local placeholder (guest@sakanajp.site).

Client-Side Storage (Browser localStorage):
  • sakana_progress: Stage completions, star ratings (1–3), accuracy percentage, and best speed duration in milliseconds.
  • sakana_srs_records: SM-2 spaced repetition flashcards (review intervals, ease factor, repetition count, lapses, next review timestamp).
  • sakana_locale: Interface language preference (English, Indonesian, or Japanese).
  • sakana_audio_questions: Toggle for sound-based listening quizzes.

Server Storage: Zero study sessions or flashcard records are sent to our cloud database. Only an anonymous visitor counter (/api/visitors) is incremented on page load without storing IP addresses or browser fingerprints.

⚠️ Notice: Because guest data is stored exclusively in your browser's localStorage, clearing your browser cache or switching devices will reset your study history.

✓ 100% Private to your device
AUTHENTICATED ACCOUNT
Account Credentials:
• Email address (used for login and verification).
• Password (cryptographically salted and hashed by Supabase Auth using bcrypt/argon2; SaKana never sees or stores plaintext passwords).
• Optional Display Name and Preferences.
Cloud Database Storage (PostgreSQL hosted via Supabase):
  • users: Auth UID, email, display name, avatar, and system role.
  • user_stage_progress: Stage ID, completion boolean, best duration (ms), star ratings, accuracy percentage, and attempt counts.
  • user_card_reviews: SM-2 spaced repetition state, repetition intervals (days), ease factor, lapses, and next scheduled review dates.

Session Cookies: Secure JSON Web Tokens (JWT) stored in HTTP cookies managed by @supabase/ssr to keep you signed in across tabs and devices.

✓ Cross-Device Sync: Your progress and SRS flashcards are safely backed up in the cloud, allowing seamless practice between phone and desktop.

✓ Encrypted Cloud Synchronization
2. AUTOMATIC GUEST-TO-ACCOUNT PROGRESS MIGRATION

When you study as a guest and subsequently sign up or log in, SaKana runs an automatic client-side migration utility (syncGuestDataToAccount via /api/sync/migrate-guest). This process extracts your local stages and SRS memory cards from localStorage and merges them into your newly authenticated PostgreSQL account. Higher stars, higher accuracy, and lower speed run times are preserved, ensuring zero progress is lost when upgrading from guest to user.

3. THIRD-PARTY SERVICES USED BY SAKANA
Supabase (PostgreSQL & Auth)SOC 2 / GDPR

Provides managed PostgreSQL database hosting and authentication infrastructure. Manages password hashing, email confirmations, session JWTs, and row-level security.

Cloudflare R2 & Edge CDNEDGE NETWORK

Used to host and distribute audio recordings and media assets via cdn.sakanajp.site. Cloudflare caches content globally and monitors DDoS network traffic.

Google AdSense (ca-pub-6604416528217447)ADVERTISING

Serves unobtrusive ads in retro frames to fund server, database, and domain expenses, keeping SaKana 100% free. Google may use advertising cookies in accordance with Google's privacy policies.

Web Speech API (SpeechSynthesis)100% CLIENT-SIDE

Interactive pronunciation audio for Japanese characters is synthesized directly by your web browser's native engine (ja-JP). No audio requests or microphone recordings are sent across the network.

4. COOKIES & LOCAL BROWSER STORAGE SUMMARY
Item NameTypePurposeWho Uses It
sb-*-auth-tokenHTTP CookieMaintains authenticated user sessionLogged-in Users
sakana_progresslocalStorageStage scores, speed records, star ratingsGuests & Logged-in (Cache)
sakana_srs_recordslocalStorageSM-2 Spaced repetition interval statesGuests & Logged-in (Cache)
sakana_localelocalStorageLanguage preference (en, id, ja)All Users
5. YOUR RIGHTS & ACCOUNT DELETION

You retain complete control over your educational data. You may request permanent deletion of your account, email address, stage completion metrics, and SRS review cards from our PostgreSQL database at any time by contacting our team or raising an issue on our GitHub repository. Guests may delete their data at any time simply by clearing their browser's site data for sakanajp.site.