A modern viewer for EU standard ASiC-E containers and Latvian eDoc files. Works as a progressive web application.
- View and verify signatures in eDoc and ASiC-E containers
- Download files contained within the container
- View supported document types directly in the browser
- Multilingual support (English, Latvian)
- Drag and drop file upload
- File handling for .edoc and .asice files through Progressive Web App functionality
The web application allows users to:
- Upload eDoc files through drag & drop or file selection
- View file signatures and verification status
- Access document files contained in the container
- Download the original container or its contents
The Progressive Web Application (PWA) capabilities provide:
- Offline access to the viewer
- File handling for .edoc and .asice files directly in your operating system
- Same viewing capabilities as the web application
- Node.js (v22 recommended)
- npm (v10 or higher)
-
Clone the repository
git clone https://github.com/yourusername/edoc-viewer.git cd edoc-viewer -
Install dependencies
npm install
Run the development server for the web application:
npm run dev
The application will be available at http://localhost:8080.
Build the web application:
npm run build
Extract messages for localization:
npm run localize:extract
Build localized versions:
npm run localize:build
- TypeScript
- Lit 3.x for web components
- @lit/localize for internationalization
- Tailwind CSS for styling
- @shoelace-style/shoelace for UI components
- edockit library for ASiC-E/eDoc parsing
- Webpack 5 for bundling with optimization for:
- Separate bundle for edockit and dependencies
- Separate bundle for web components
- Optimized localization bundle
- Workbox for PWA service worker
MIT - See LICENSE file for details.
