MCPSERV.CLUB
Open E-Label

Open E-Label

Self-Hosted

Electronic wine labels that boost transparency and sustainability

Stale(61)
32stars
0views
Updated Jun 16, 2025

Overview

Discover what makes Open E-Label powerful

Open E‑Label is a self‑hosted, open‑source solution for generating electronic QR‑code labels on wine bottles. Built with **ASP.NET Core 8.0**, it delivers a full‑stack web API and UI that can be run locally or in any container‑friendly environment. The application focuses on compliance with EU wine‑labeling regulations, multilingual content, and the ability to embed allergy, energy, ingredient, and nutritional data in a machine‑readable format.

Framework

Runtime

Containerization

Persistence

Overview

Open E‑Label is a self‑hosted, open‑source solution for generating electronic QR‑code labels on wine bottles. Built with ASP.NET Core 8.0, it delivers a full‑stack web API and UI that can be run locally or in any container‑friendly environment. The application focuses on compliance with EU wine‑labeling regulations, multilingual content, and the ability to embed allergy, energy, ingredient, and nutritional data in a machine‑readable format.

Technical Stack & Architecture

  • Framework: ASP.NET Core 8.0 (C#) – provides a high‑performance, cross‑platform web stack with built‑in dependency injection and middleware support.
  • Runtime: .NET 8, fully supported on Linux, Windows, and macOS.
  • Containerization: Official Docker image (fcarneiro/elabel) available on Docker Hub, enabling quick deployment via docker run or Kubernetes.
  • Persistence: Uses Entity Framework Core with a lightweight SQLite database for local development; supports PostgreSQL/MySQL via standard EF providers for production.
  • Localization: Integration with Lokalise ensures 100 % translation coverage across EU languages; the app consumes JSON resource bundles at runtime.
  • Security: Implements ASP.NET Core Identity for authentication, JWT token support for API access, and standard HTTPS enforcement.

Core Capabilities & APIs

  • Label Generation: REST endpoints to create, update, and retrieve label metadata; returns a QR‑code image URL that encodes JSON payload compliant with EU labeling schemas.
  • Compliance Validation: Built‑in validators check mandatory fields (e.g., alcohol content, producer name) before label issuance.
  • Multilingual Support: Each label can include multiple language entries; the API accepts locale identifiers and serves localized strings automatically.
  • Webhooks & Callbacks: Optional webhook endpoints to notify external systems (e.g., ERP, inventory) when a label is generated or updated.
  • Extensibility: Plug‑in architecture via ASP.NET Core’s IServiceCollection allows developers to register custom validation rules, data sources, or UI components.

Deployment & Infrastructure

  • Self‑Hosting: A single binary (dotnet ELabel.dll) or Docker image suffices; no external services required beyond the chosen database.
  • Scalability: Stateless API design means horizontal scaling is trivial—multiple instances behind a load balancer or in a Kubernetes cluster share the same database.
  • CI/CD Friendly: Docker image tags and GitHub Actions workflow provide automated builds; the project’s MIT license removes any licensing friction for commercial use.
  • Monitoring: ASP.NET Core health checks expose /health and /ready endpoints; metrics can be exported to Prometheus or Azure Monitor.

Integration & Extensibility

  • Plugin System: Developers can drop custom assemblies into the Plugins folder; the host scans for types implementing predefined interfaces (e.g., ILabelValidator).
  • API SDKs: Though not bundled, the clear REST contract makes it straightforward to generate client libraries in TypeScript, Python, or Go using OpenAPI tooling.
  • Custom UI Themes: The Razor pages are modular; CSS variables and layout partials can be overridden without touching the core code.
  • Data Import: Bulk CSV import endpoints allow ingestion of existing product catalogs, automatically mapping columns to label fields.

Developer Experience

  • Documentation: The README and inline XML comments provide a solid starting point; the project’s GitHub repo hosts an OpenAPI spec (swagger.json) for quick API exploration.
  • Community & Support: Active GitHub discussions and a welcoming PR policy encourage contributions; the Lokalise integration demonstrates ongoing community engagement.
  • Configuration: All settings are externalized via appsettings.json and environment variables, enabling zero‑config deployments in CI/CD pipelines.

Use Cases

  1. Winery Operations – A small winery can self‑host the application to generate compliant QR labels for each batch, reducing paper waste and ensuring regulatory compliance.
  2. Regulatory Audits – The audit trail of label creation (timestamps, user IDs) can be exported for compliance reporting.
  3. Retail Integration – A retailer’s inventory system can call the API to generate labels on demand, integrating with their POS or e‑commerce platform.
  4. Custom Compliance Extensions – Developers can add country‑specific regulations (e.g., mandatory water content) via plugins, tailoring the system to local laws.

Advantages Over Alternatives

  • Open‑Source & MIT Licensed – No vendor lock‑in or subscription costs; full control over the codebase.
  • High Performance – ASP.NET Core 8.0 delivers sub‑millisecond API responses, suitable for high‑volume label generation.
  • Container‑Ready – One Docker image covers all environments; Kubernetes operators or Docker Compose can orchestrate multi‑service deployments.
  • Extensible Architecture – Plug‑in support and a clean API surface let developers add custom logic without forking the repository.
  • Regulatory Focus – Built‑in validation and localization streamline compliance, a niche not covered by generic labeling tools.

Open E‑Label offers developers a robust, extensible foundation for building compliant electronic labeling solutions, with the flexibility to adapt to any wine‑labeling workflow.

Open SourceReady to get started?

Join the community and start self-hosting Open E-Label today

Weekly Views

Loading...
Support Us
Most Popular

Infrastructure Supporter

$5/month

Keep our servers running and help us maintain the best directory for developers

Repository Health

Loading health data...

Information

Category
other
License
MIT
Stars
32
Technical Specs
Pricing
Open Source
Docker
Official
Supported OS
LinuxWindowsmacOSDocker
Author
filipecarneiro
filipecarneiro
Last Updated
Jun 16, 2025