Skip to content

naserwp/Pinkly_Midnight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pinkly Midnight

Privacy-first, anonymous chat built with Next.js + Socket.IO. No accounts, no permanent storage, and client-side encryption powered by Web Crypto.

Features

  • Anonymous sessions with auto-generated IDs (NA#####NT).
  • Local-only password and session state (auto-deletes after 3 hours or on demand).
  • Real-time chat with typing indicators, emoji reactions, and multi-chat tabs.
  • Optional random matchmaking.
  • Temporary profile photo, camera capture, and file transfer.
  • AI-assisted rewrite and reply suggestions (never auto-sends).
  • In-memory backend with TTL, rate limiting, and abuse filtering.

Setup

npm install
npm run dev

Open http://localhost:3000.

Environment Variables

Create a .env.local file:

OPENAI_API_KEY=your_key_here
OPENAI_MODEL=gpt-4o-mini
PORT=3000

Security & Privacy Notes

  • Messages are encrypted in the browser (AES-GCM via Web Crypto). The server relays encrypted payloads.
  • No IP logging or analytics.
  • All chat and media data is held in-memory with a 3-hour TTL.
  • Use Clear Session to manually wipe local session data at any time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors