Litlyx is an open-source, cookie-free analytics solution designed for developers and privacy-conscious teams who need detailed website insights without relying on third-party services like Google Analytics or Mixpanel. Built with TypeScript and compatible with React, Vue, Next.js, Nuxt, Angular, and WordPress, Litlyx offers real-time data visualization, custom event tracking, and full self-hosting capabilities via Docker. It prioritizes simplicity—install in under 30 seconds—and provides GDPR compliance by design, making it ideal for EU-based businesses or any organization requiring data sovereignty. Whether you’re tracking a personal blog or a SaaS product, Litlyx gives you ownership of your data with no vendor lock-in.
What You Get
- Cookie-free tracking - Litlyx collects web analytics without using cookies, ensuring GDPR compliance and avoiding browser restrictions on third-party trackers.
- Universal JavaScript integration - Works with any modern web framework (React, Vue, Next.js, Angular, etc.) via a simple script tag or npm package installation.
- Custom event tracking with metadata - Track user interactions like button clicks, purchases, or form submissions with structured metadata (e.g., product name, price, currency).
- Self-hosted dashboard with Docker - Fully control your data by deploying the Litlyx backend and UI locally using docker-compose, with no monthly fees or usage limits.
- Real-time analytics dashboard - View live visitor counts, page views, unique users, and event trends through an intuitive, AI-powered interface.
- cURL-based event ingestion - Send analytics events directly via HTTP POST to the broker endpoint for server-side or non-browser tracking use cases.
- CDN-hosted JavaScript client - Load the analytics script via jsDelivr without hosting files yourself, enabling quick deployment on any website.
Common Use Cases
- Building a GDPR-compliant SaaS dashboard - A European startup uses Litlyx to track user engagement on their application without violating data privacy laws, avoiding reliance on Google Analytics.
- Tracking e-commerce events with custom metadata - An online retailer tracks product clicks, prices, and currency details using Litlyx.event() to analyze conversion paths without exposing customer data.
- Replacing Google Analytics 4 on a high-traffic blog - A content creator migrates from GA4 to Litlyx to eliminate tracking scripts, reduce page load time, and own their analytics data entirely.
- DevOps teams managing internal tools - A team deploys Litlyx on-premises to monitor usage of internal web applications, with full control over data retention and access policies.
Under The Hood
Litlyx is a full-stack analytics and dashboard platform built with modern web technologies, designed to offer real-time data insights and AI-powered features within a modular architecture. It integrates frontend and backend components with a focus on extensibility and scalability.
Architecture
Litlyx adopts a modular monolithic structure with well-defined service boundaries and layered design principles.
- The system is organized into distinct services for consumers, payments, dashboard, and email functionalities
- Clear separation of concerns is evident across data handling, business logic, and presentation layers
- Design patterns such as service classes and middleware are consistently applied for request handling
Tech Stack
Litlyx leverages a contemporary tech stack built on TypeScript and Vue.js, supported by modern backend services.
- The application is developed using TypeScript with Nuxt.js for the frontend and Express.js for backend services
- Key integrations include MongoDB via Mongoose, Redis for caching, and tRPC for API communication
- Development tools encompass Vite, pnpm, and ts-node, supporting a robust and maintainable development workflow
Code Quality
Code quality in Litlyx shows mixed signals, with some structural strengths and areas needing improvement.
- Error handling is present but not consistently applied across all modules
- The codebase lacks comprehensive test coverage despite some structured validation practices
- Code organization is fragmented, with limited adherence to consistent patterns and naming conventions
What Makes It Unique
Litlyx distinguishes itself through its integration of real-time analytics with AI-driven insights in a modular architecture.
- The platform uniquely combines Vue-based dashboards with TypeScript-powered backend services for seamless data visualization
- Its extensible AI capabilities and modular component design set it apart from conventional analytics tools
- The use of tRPC for API communication enhances performance and type safety in cross-layer interactions