TPT Titan
TPT Titan is a complete open source productivity suite designed specifically for small businesses (1-7 employees) who need professional tools but want to avoid expensive subscriptions and maintain complete data privacy. Built with offline-first architecture, it runs entirely on your local machine with zero internet dependency for core functionality.
šÆ Perfect for SMEs
- ā
Free & Open Source - No subscriptions, no hidden costs
- ā
Offline-First - Works completely without internet
- ā
Data Privacy - Your data stays on your computer
- ā
Professional Features - Excel-class spreadsheet, Word-class editor
- ā
Zero Vendor Lock-in - Full data export and control
Features
ā
Implemented & Ready
- Text Editor: Professional rich text editor with formatting, find/replace, templates, and PDF export
- Spreadsheet: Excel-class spreadsheet with 50+ formulas, data visualization, and import/export
- Forms Builder: Visual drag-and-drop form creation with 12+ field types, conditional logic, and templates
- Task Management: Kanban board with drag-and-drop, project tracking, and team collaboration
- Desktop App: Cross-platform desktop application (Windows/Mac/Linux) with offline-first architecture
š Backend Integration In Progress
- End-to-End Encryption: AES-256-GCM encryption system with zero-knowledge architecture
- Local Database: SQLite integration for offline data storage
- API Integration: RESTful APIs connecting frontend components to encrypted backend
š Upcoming Features
- AI Integration: Local AI models for writing assistance and data analysis
- Real-time Collaboration: Multi-user editing with conflict resolution
- Email Client: IMAP/SMTP with PGP encryption
- Calendar & Contacts: Personal information management
- Plugin System: Extensible architecture for custom features
Communication & Collaboration
- Email Client: Full IMAP/SMTP support with PGP encryption, attachments, search, folders, and contact integration
- Calendar: Event management, multiple calendar support, notifications, sharing with permissions, and email integration
- Contacts: Contact management with vCard import/export, groups, categories, and integration with email/calendar
- Chat: Real-time messaging with WebSocket support, rooms (direct/group/channel), message reactions, threading, and participant management
- Video Conferencing: WebRTC-based meetings with screen sharing, participant management, and recording framework
File Management & Sync
- File Synchronization: P2P file sync with versioning, conflict resolution, selective sync, and bandwidth optimization
- Document Export: Export capabilities for various formats (PDF, DOCX, Excel, etc.)
AI & Intelligence
- AI Integration: Hardware-optimized AI with automatic model selection (Qwen 3, Qwen 2.5, quantized models), smart writing assistance, data analysis, OCR, and task management
- Task Management: Kanban board with AI task suggestions, integration with forms and email, project tracking, and workflow automation
Security & Privacy
- End-to-End Encryption: Cryptographic key management with Shamir's secret sharing, hardware recovery (USB/face ID), and zero-knowledge backup
- GDPR Compliance: Complete GDPR implementation including right to erasure, data portability, consent management, and privacy controls
- Authentication: JWT-based auth with 2FA/MFA (TOTP), secure session management, and admin console
- Security Features: Input validation, CSRF protection, rate limiting, CORS, security headers, and audit logging
System Features
- Plugin System: Extensible architecture with Go plugin system, event-driven communication, sandboxing, and marketplace
- Backup & Recovery: Comprehensive backup service with compression, retention, and restore capabilities
- Performance: Redis caching, database optimization, monitoring, and horizontal scaling support
- Cross-Platform: Web and desktop clients for Windows, Linux, and macOS
Tech Stack
- Backend: Go with Gin framework, WebSockets, PostgreSQL/SQLite
- Frontend: Svelte with Tailwind CSS
- Desktop: Tauri (Rust)
- Database: SQLite (default) or PostgreSQL
- Cache: Redis
- Deployment: Docker Compose, systemd services, binary releases
- Real-time: WebSocket connections
- Encryption: Custom implementation with standard cryptographic libraries
- AI: Ollama integration with local model support
Installation
Prerequisites
- Docker and Docker Compose (recommended for production)
- Go 1.19+ (for development)
- Node.js 18+ (for frontend/desktop development)
- SQLite (built-in default) or PostgreSQL (optional)
Quick Start with Docker
git clone https://github.com/yourorg/tpt-titan.git
cd tpt-titan
docker-compose up -d
Manual Installation
See the complete Installation Guide for development setup, production deployment, and troubleshooting.
Development
Local Development Setup
git clone https://github.com/yourorg/tpt-titan.git
cd tpt-titan
# Backend
cd backend
go mod tidy
cp ../.env.example .env
# Edit .env with your configuration
go run main.go
# Frontend (new terminal)
cd frontend
npm install
cp ../.env.example .env.local
npm run dev
# Desktop (optional, new terminal)
cd desktop
npm install
npm run tauri dev
Project Structure
tpt-titan/
āāā backend/ # Go/Gin API server
ā āāā config/ # Configuration management
ā āāā middleware/ # Security and request middleware
ā āāā models/ # Database models
ā āāā routes/ # API endpoints
ā āāā services/ # Business logic services
ā āāā utils/ # Utility functions
ā āāā tests/ # Integration tests
ā āāā websocket.go # Real-time communication
āāā frontend/ # Svelte web client
ā āāā src/
ā ā āāā lib/
ā ā ā āāā components/ # Reusable UI components
ā ā ā āāā stores.js # State management
ā ā ā āāā api.js # API client
ā ā āāā routes/ # Page routes
ā āāā package.json
āāā desktop/ # Tauri desktop application
ā āāā src-tauri/ # Rust backend
ā āāā package.json
āāā docs/ # Documentation
āāā scripts/ # Installation and utility scripts
ā āāā install.sh # Production installer
ā āāā init-db.sql # Database initialization
ā āāā create-db-schema.sql
āāā docker-compose.yml # Container orchestration
āāā .env.example # Environment configuration template
āāā README.md
Contributing
We welcome contributions from the community! Please see our Contributing Guide for details on:
- Development workflow
- Code standards and guidelines
- Testing requirements
- Pull request process
Code of Conduct
Please read our Code of Conduct to understand our community standards.
Business Model
TPT Titan uses a sustainable dual-license model designed for long-term viability:
Free for End Users (AGPL v3)
- Individual Users & SMEs: Completely free under AGPL v3
- Community Access: Full source code, modifications must stay open source
- No Restrictions: Use, modify, distribute freely for personal/business use
Commercial Licensing
- Enterprise Companies: Can license for internal modifications without sharing changes
- No Resale Rights: Cannot redistribute modified versions commercially
- Reasonable Pricing: Contact for commercial license terms
- Support Revenue: Optional premium support packages
Why This Works
- Zero Competition: Most AGPL projects struggle with monetization
- Sustainable: Revenue from companies, free for individuals
- Community-First: Open source benefits everyone
- No User Lock-in: Free forever for SMEs
License
Core Software: GNU Affero General Public License v3.0 - see the LICENSE file for details.
Commercial Use: Contact us for commercial licensing terms that allow internal modifications without open source obligations.
The AGPL ensures that modifications for personal use remain open source, while commercial licensing provides flexibility for businesses.
Current Development Status
ā
Phase 1: Core Components Complete
- Text Editor: Professional rich text editor with full formatting, find/replace, and PDF export
- Spreadsheet: Excel-class spreadsheet with 50+ formulas, charts, and import/export
- Forms Builder: Visual form creation with 12+ field types, conditional logic, templates
- Task Management: Kanban board with drag-and-drop functionality
- Desktop App: Cross-platform Tauri application framework ready
š Phase 2: Backend Integration (In Progress)
- Encryption Integration: Connect AES-256-GCM crypto system to document storage
- SQLite Database: Implement local data persistence for all components
- API Connections: Wire frontend components to encrypted backend
- Data Portability: Export/import functionality for user data
š Phase 3: Production Release (Next)
- Desktop App Bundling: Package Go backend with Tauri for seamless offline experience
- User Onboarding: Setup wizards and initial configuration
- Documentation: User guides and video tutorials
- Community Launch: GitHub release with desktop binaries
š
Phase 4: Advanced Features (Future)
- AI Integration: Local AI models for writing assistance and data analysis
- Real-time Collaboration: Multi-user editing with conflict resolution
- Email Client: IMAP/SMTP with PGP encryption
- Calendar & Contacts: Personal information management
- Plugin System: Extensible architecture for custom features
- Encryption Integration: Make documents save/load with proper encryption
- Desktop App Release: Package as downloadable application
- User Testing: Get feedback from SME users
- Community Building: Grow user base and contributor community
Security
TPT Titan takes security seriously:
- Encryption: All data is encrypted at rest and in transit
- Access Control: Role-based permissions and secure authentication
- Audit Logging: Comprehensive security event tracking
- Regular Updates: Security patches and dependency updates
- Privacy by Design: GDPR compliance and data protection
For security-related issues, please see our Security Policy.
Support the Project
TPT Titan is free and open source. If you'd like to support development:
- ā Star the repository on GitHub
- š Report bugs and suggest features
- š» Contribute code improvements
- š Help improve documentation
- š¬ Participate in community discussions
- š° Donate to support ongoing development
TPT Titan - Complete open source productivity suite for the privacy-conscious user.