Privacy-first AI assistant and unified platform foundation for Windows 11, 8 GB RAM and CPU-only hardware. The repository is being expanded in verified milestones; it is not yet a production-ready Super App.
- Multilingual Web/PWA client and early Android network client. Android now includes four persistent visual themes. User-interface localization is separate from the English-only engineering codebase.
- FastAPI service with local Ollama and optional OpenAI-compatible provider.
- SQLite persistence, health/readiness endpoints and authenticated host resource diagnostics (
/api/system/resources). - Encrypted SQLite backup, integrity verification and guarded restore utilities (operator-driven; scheduling and restore drills are pending).
- Email/password registration with Resend email verification, PBKDF2 password hashing and signed expiring bearer sessions.
- Optional TOTP multi-factor authentication, encrypted authenticator secrets and one-time recovery codes.
- Social profiles, public/follower/private text posts, feed, follows, likes and comments.
- Verified-user discovery search by display name/handle, with follow-state and follow/unfollow controls.
- In-app notifications for follows, likes, comments, direct messages and marketplace enquiries, with recipient-scoped read controls.
- Authenticated one-to-one private messaging API.
- Marketplace seller dashboard APIs for owned listings and buyer enquiries, with a basic Web seller inbox.
- User-scoped conversation history for authenticated accounts.
- Recent conversation context (up to eight prior turns) supplied to local and cloud models.
- Automated Python, Web and Android CI workflows.
Configure a unique AUTH_SECRET_KEY (at least 32 characters), RESEND_API_KEY, EMAIL_FROM on a verified Resend sender domain, and a public HTTPS API_PUBLIC_URL in the backend environment. Generate the signing key locally:
python -c "import secrets; print(secrets.token_urlsafe(48))"Never commit .env or share its values. New accounts must verify email before login. See AUTHENTICATION.md for the full lifecycle and TOTP setup. Tokens expire after AUTH_TOKEN_TTL_SECONDS (default 24 hours). Configure CORS_ORIGINS with the exact deployed frontend origin.
Account endpoints:
POST /api/auth/register—email,password(10+ characters),display_name.POST /api/auth/verify-email— consume a one-time email verification token.POST /api/auth/login— returns a bearer token or an MFA challenge.GET /api/auth/me— requiresAuthorization: Bearer <token>.POST /api/auth/2fa/setup,/enable,/login,/disable— TOTP MFA lifecycle.- Authenticated chat, social, messaging and conversation endpoints require the bearer header when account security is enabled.
Social API:
GET /api/social/feed,GET /api/social/users?q=...,GET /api/social/users/{id},PATCH /api/social/profile.POST /api/social/posts,POST /api/social/users/{id}/follow,DELETE /api/social/users/{id}/follow.POST /api/social/posts/{id}/like,POST/GET /api/social/posts/{id}/comments.POST/GET /api/social/messages/{user_id}— participant-scoped private direct messages.
The current authentication and messaging foundation is not a complete production identity platform: password reset, refresh-token rotation/revocation, device/session management and shared distributed abuse controls remain required.
- Install Python 3.11+ and the free Ollama application.
- Run
install_windows.bat. It creates the virtual environment, installs Python dependencies and generates strong localAUTH_SECRET_KEYandBACKUP_ENCRYPTION_KEYvalues when missing or invalid. Existing valid keys are preserved. - Run
pull_model.batonce while online. It downloadsqwen2.5:3b; allow enough free disk space. CPU inference may be slow on 8 GB RAM. - Start Ollama, then run
start_windows.batand open http://127.0.0.1:8000. - Run
backup_windows.batto create and verify an encrypted SQLite backup. KeepBACKUP_ENCRYPTION_KEYsafe and separate from the backup file; losing it makes the backup unrecoverable. Usepython -m app.backup_cli verify --input <file>to verify a backup, and restore only to a separate target first. Keep the server bound to127.0.0.1for local-only use. Do not expose it to the internet without production security and deployment work.
Email/password registration requires a configured email sender and HTTPS public API URL. This is intentionally not bypassed by the zero-cost installer. For a zero-cost personal setup, use the local AI chat without account registration until a secure local identity flow is implemented.
After the model is downloaded, local chat can run offline. Account sessions are local to the configured backend/database.
GET /api/health,GET /api/readiness,POST /api/chat.- Read SECURITY.md, ROADMAP.md and EXECUTION_REGISTER.md.
- The Web client in
web/is static. GitHub Pages does not host FastAPI, SQLite or Ollama. Enable Pages using Settings → Pages → Build and deployment → GitHub Actions, then deploy a separate HTTPS backend and set its exact origin inCORS_ORIGINS. See WEB_DEPLOYMENT.md.
Marketplace, payments, trading execution, embedded apps, voice/video calls, enterprise workspaces, Windows Master Studio, on-device Android inference and external social publishing remain planned or in progress. Social features currently cover text posts, follows, likes, comments and one-to-one text messaging only. External platform integrations require official APIs, approvals and user authorization. No placeholder is described as a completed integration.
See GLOBAL_DEPLOYMENT_READINESS.md for the verified public-hosting status, zero-cost-first architecture, production release blockers and the exact owner approvals still required. The project is not yet a production-ready public multi-user AI service.
See ZERO_COST_EXECUTION_PLAN.md for the approved free-first architecture, delivery stages, verified limitations and remaining owner actions.