litecart

litecart

Lightweight single-file self-hosted shopping cart with admin UI

339stars
51forks
Last commit: 13d ago
Repo age: 3y old

Litecart is a compact, self-hosted shopping cart implemented as a single executable with an embedded SQLite database and a Svelte-based administration UI. It provides a simple storefront, order management, and support for payments and digital goods in a minimal footprint.

Key Features

  • Single-file server executable (Go) with embedded SQLite for easy deployment and simple backups
  • Svelte/TypeScript based admin dashboard and lightweight public storefront UI
  • Built-in support for common payment flows including card/Stripe, PayPal and cryptocurrency payments
  • Digital products and license key delivery workflows for selling downloads or keys
  • CLI commands for init, serve, migrate and update; Docker and Docker Compose manifests included for containerized deployment
  • Example Kubernetes manifests and optional Nginx reverse-proxy configuration for production deployments
  • Multi-language support out of the box (default English and Chinese) and configurable site content
  • Small resource footprint aimed at single-server or hobby use with fast one-click or script-based installs

Use Cases

  • Small merchants or solo developers who need a simple self-hosted storefront and checkout without a complex e-commerce platform
  • Selling digital products, downloads, or license keys with automated delivery and order management
  • Lightweight demo stores, pop-up shops, or hobbyist projects that benefit from quick setup and containerized deployment

Limitations and Considerations

  • Project is in 0.x development; breaking changes and rapid iteration may occur before a 1.0.0 release
  • Embedded SQLite and single-binary design are not ideal for high-concurrency, multi-node or very large catalogs; consider this for low-to-moderate traffic sites
  • Plugin ecosystem and enterprise features are limited compared to mature e-commerce platforms; integrations beyond provided payment methods may require custom development

Litecart is designed for simplicity and fast setup, trading extensive extensibility for a compact, opinionated experience. It is well suited for self-hosted small stores and digital product sellers who want minimal operational overhead.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Ghost

Ghost

Publishing platform with newsletters and paid memberships

51.6k
11.3k
Last commit: 1d ago

Ghost is an open-source publishing platform for blogs and websites with built-in newsletters, membership management, and paid subscriptions.

Alternative to:
Ghost(Pro)
Ghost(Pro)
+13
Odoo

Odoo

Modular open-source business apps suite (ERP, CRM, eCommerce)

48.5k
31.1k
Last commit: 1mo ago

Odoo is a modular suite of web-based business apps, providing an open-source ERP with CRM, accounting, inventory, HR, eCommerce, website, and more.

Alternative to:
Microsoft Dynamics 365
Microsoft Dynamics 365
+19
Hyperswitch

Hyperswitch

Open-source payment orchestrator and modular payments switch

39.4k
4.6k
Last commit: 1d ago

Hyperswitch is an open-source payments switch and orchestrator that connects multiple payment processors through a single API, with modules for routing, vaulting, retries...

Alternative to:
Spreedly
Spreedly
+8
Medusa

Medusa

Open-source, headless ecommerce backend built for customization.

31.7k
4k
Last commit: 1d ago

Open-source, API-first commerce backend with modular architecture for custom storefronts and marketplaces.

Alternative to:
Medusa Cloud
Medusa Cloud
+15
Invoice Ninja

Invoice Ninja

Invoicing, quotes, payments, projects, and time tracking

9.5k
2.6k
Last commit: 1mo ago

Self-hostable invoicing platform for invoices, quotes, recurring billing, online payments, expenses, projects, and time tracking with a client portal and API.

Alternative to:
FreshBooks
FreshBooks
+18
Lago

Lago

Open-source metering and usage-based billing API

9.1k
518
Last commit: 2d ago

Open-source billing infrastructure for usage metering, subscriptions, invoicing, and hybrid pricing via an API and web interface.

Alternative to:
Chargebee
Chargebee
+11