Protecting Pioneers from scams, fake Pi apps, and malicious links.
Safeπ is a security-focused web tool built for the Pi Network community.
Its purpose is simple:
Help Pioneers verify whether a website is safe, suspicious, or potentially harmful.
Safeπ scans URLs using risk signals such as:
- phishing patterns
- suspicious or fake Pi domains
- SSL certificate issues
- redirections
- scam-like behavior
Safeπ is fully integrated with the Pi Platform SDK v2 and has a working, verified Pi Payment Flow.
- Detects phishing attempts
- Identifies fake Pi websites
- Flags dangerous redirects
- Checks SSL validity
- Fast scan & instant results
- Fully functional Pi Payment Flow
onReadyForServerApprovalonReadyForServerCompletion- Secure server-side approval via Pi API
- Next.js 14 (Frontend)
- Express.js (Backend)
- Render.com hosting
- Clean project structure
SafePi_cleanstack/ ├── frontend/ │ └── app/ │ └── page.tsx │ └── components/ │ └── public/ │ ├── backend/ │ ├── api/ │ │ ├── create-payment.js │ │ └── complete-payment.js │ ├── server.js │ ├── package.json │ └── .env (not included) │ └── assets/ ├── safepi-logo.png └── safepi_app_preview.gif
Create /backend/.env:
PI_API_KEY= PORT=10000
🚫 Do NOT commit
.envto GitHub.
cd backend
npm install
npm start
🟦 Frontend Setup
cd frontend
npm install
npm run dev
💳 Pi Payment Flow (Verified & Working)
Safeπ uses Pi Network’s secure payment API:
✔ Approval Flow
POST https://api.minepi.com/v2/payments/{paymentId}/approve
✔ Completion Flow
POST https://api.minepi.com/v2/payments/{paymentId}/complete
Verified by logs:
developer_approved: true
developer_completed: true
transaction_verified: true
📦 Deployment
Safeπ is deployed using:
Render (backend)
Render / Vercel (frontend)
HTTPS fully enabled
Domain validated in Pi Developer Portal
🧭 Roadmap
Payment Flow (Testnet)
URL scanning engine
Pi Browser compatibility
Add threat database (v1)
Auto-detection of link reputation
User history of scans
Browser extension (Chrome/Firefox)
Community-driven reporting
🤝 Contributing
We welcome:
Feature requests
Bug reports
UI improvements
Pull requests
Submit via Issues or Pull Requests tab.
🪪 License
MIT License
Free to use, modify, and distribute with attribution.
👤 Maintainer
Safeπ Development Team – 2025
🎉 Thank you for supporting Safeπ!
Safeπ’s mission is to protect Pioneers and strengthen trust across the Pi ecosystem by preventing scams and making online interactions safer.

