Krowdovi
eye-can-sol-you-the-world
Install / Use
/learn @daftpixie/KrowdoviREADME
Krowdovi MVP
Indoor Navigation DePIN Platform
Blockchain-powered platform paying videographers to create first-person navigation videos for complex indoor spaces like hospitals, airports, and malls.
🎯 Overview
Krowdovi applies burn-and-mint tokenomics to the $7B indoor navigation market. Users burn tokens for navigation credits while creators earn from the remint pool based on their content's usage and reputation.
Key Features
- Motion-Controlled Playback: Video plays when walking, pauses when stopped
- Multi-language Overlays: AI-powered translation for navigation arrows and text
- Creator Studio: Drag-and-drop overlay editor for navigation videos
- Burn-and-Mint Tokenomics: 75% burned, 25% to creator rewards
- Reputation System: 5-tier system with earnings multipliers (0.5x - 2.5x)
- NFC/QR Access: Tap or scan to start navigation instantly
📦 Architecture
wayfind-mvp/
├── packages/
│ ├── api/ # Express 5 backend
│ ├── web/ # Next.js 14 frontend
│ ├── contracts/ # Solana Anchor programs
│ └── shared/ # TypeScript types
└── scripts/ # Deployment utilities
Tech Stack
| Layer | Technology | |-------|------------| | Frontend | Next.js 14, React 18, Tailwind CSS, Framer Motion | | Backend | Express 5, Prisma, PostgreSQL, Redis | | Blockchain | Solana, Anchor, SPL Token | | Video | Cloudflare Stream (HLS), hls.js | | Auth | Solana Wallet Adapter, JWT |
🚀 Quick Start
Prerequisites
- Node.js 22.x
- pnpm 8.x
- PostgreSQL 16.x
- Solana CLI (for contracts)
Installation
# Clone repository
git clone [https://github.com/daftpixie/krowdovi]
cd krowdovi
# Install dependencies
pnpm install
# Setup environment
cp packages/api/.env.example packages/api/.env
cp packages/web/.env.example packages/web/.env
# Run database migrations
cd packages/api
pnpm prisma migrate dev
# Start development servers
pnpm dev
Environment Variables
API (packages/api/.env)
DATABASE_URL=postgresql://...
REDIS_URL=redis://...
JWT_SECRET=your-secret-key
CLOUDFLARE_ACCOUNT_ID=xxx
CLOUDFLARE_API_TOKEN=xxx
SOLANA_RPC_URL=https://api.devnet.solana.com
ANTHROPIC_API_KEY=xxx
Web (packages/web/.env)
NEXT_PUBLIC_API_URL=http://localhost:3001/api/v1
NEXT_PUBLIC_SOLANA_NETWORK=devnet
📊 Tokenomics
Burn-and-Mint Model
When users purchase navigation credits:
- 75% burned (permanently destroyed)
- 25% to remint pool (distributed weekly to creators)
- 500K weekly cap on reminted tokens
Creator Tiers
| Tier | Score Range | Multiplier | |------|-------------|------------| | Bronze | < 40 | 0.5x | | Silver | 40-59 | 1.0x | | Gold | 60-79 | 1.5x | | Platinum | 80-94 | 2.0x | | Diamond | 95+ | 2.5x |
Reputation Metrics
- Freshness (30%): Recent video updates
- Completion Rate (25%): Users finishing navigation
- User Rating (25%): 5-star feedback
- Accessibility (10%): Overlay quality
- No Bounce (10%): Session retention
🎬 Creator Studio
The overlay editor supports:
- Navigation Arrows: 10 directions with distance
- Text Popups: Multi-language with TTS
- Landmarks: POI markers with icons
- Warnings: 4 severity levels
- Advertisements: Revenue-sharing spots
- Destinations: Arrival confirmations
Overlay Properties
- Position (x/y percentage)
- Timing (start/end with fades)
- Scale and rotation
- Haptic feedback patterns
- Accessibility (ARIA, TTS)
📱 Navigation Experience
Access Methods
- NFC Tag: Tap NTAG213 to start
- QR Code: Scan to open navigation
- Direct Link: Share URL
- App Clip: iOS instant experience
Motion Detection
- DeviceMotion API at 50Hz
- 0.3g walking threshold
- 1.5s sustained to confirm walking
- 2.0s stopped to pause
Accessibility
- Text-to-speech for overlays
- Haptic feedback patterns
- High contrast overlays
- Multi-language support (11+)
🔌 API Endpoints
Authentication
POST /auth/challenge- Get signing challengePOST /auth/verify- Verify wallet signatureGET /auth/me- Get current user
Videos
GET /videos- List with filtersGET /videos/:id- Get with overlaysPOST /videos- Create new videoPOST /videos/:id/rate- Submit rating
Overlays
GET /overlays?videoId=X- List for videoPOST /overlays- Create overlayPOST /overlays/bulk- Batch createPATCH /overlays/:id- Update
Tokens
GET /tokens/config- Get tokenomics configPOST /tokens/burn- Record burn eventPOST /tokens/distribute- Weekly distributionPOST /tokens/claim- Claim rewards
🏗️ Deployment
Railway Setup
# Login to Railway
railway login
# Create project
railway init
# Add services
railway add -s api
railway add -s web
railway add -s postgres
railway add -s redis
# Deploy
./scripts/deploy.sh production
Solana Deployment
cd packages/contracts
# Build program
anchor build
# Deploy to devnet
anchor deploy --provider.cluster devnet
# Deploy to mainnet
anchor deploy --provider.cluster mainnet
🧪 Testing
# API tests
cd packages/api
pnpm test
# Web tests
cd packages/web
pnpm test
# Contract tests
cd packages/contracts
anchor test
📄 License
MIT License - see LICENSE
🤝 Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing) - Open Pull Request
Built with ❤️ for the 24HRMVP ecosystem
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
