Skip to content

vate-ps/swift-bill

 
 

Repository files navigation

Swift Bill

Tauri Vue.js Rust TypeScript License: MIT

A specialized desktop application designed for hospitals to automate the generation of pharmaceutical disbursement reports. Swift Bill replaces error-prone manual Excel workflows with a robust, reliable, and fast desktop application natively connected to legacy database systems.

Features

  • Direct Database Integration: Connects directly to legacy MS SQL Server databases (INVS) using native TDS without the need for ODBC drivers.
  • Native PDF Generation: Generates print-ready precise A4 landscape and portrait PDF reports directly in the application using printpdf.
  • Embedded Thai Typography: Ships with embedded Thai fonts (CordiaNew) ensuring consistent rendering on any workstation.
  • Multi-Round Processing: Supports incremental batch processing (รอบ) tracking running balances, request numbers, and document continuity safely.
  • Modern Stack: Built for speed and reliability with Rust at the core (Tauri shell + business logic) and a responsive fluid UI built in Vue 3 (Composition API).

Installation

Prerequisites

Starting the Development Server

  1. Clone the repository:

    git clone https://github.com/suradet-ps/swift-bill.git
    cd swift-bill
  2. Install frontend dependencies:

    npm install
  3. Run the development server (starts Vue and the Tauri desktop window):

    npm run tauri dev

Production Build

To build the application for release:

npm run tauri build

This will produce native executables in src-tauri/target/release/bundle.

Contributing

We welcome contributions! Please see our Contributing Guide for details on how to get started.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A specialized desktop application designed for hospitals to automate the generation of pharmaceutical disbursement reports.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Vue 46.6%
  • Rust 44.2%
  • CSS 6.9%
  • TypeScript 1.1%
  • Other 1.2%