# VietQR

> VietQR generator and zero-dependency TypeScript library (vietqr-zero) for Vietnamese bank transfer QR codes. No backend, no tracking, no cookies.

- URL: https://afixer.app/projects/vietqr
- Thuộc mục: Projects
- Ngôn ngữ: vi

Create VietQR bank transfer codes in the browser, plus a zero-dependency TypeScript library.

- [Mở trình tạo mã](https://vietqr.afixer.app/)
- [Source on GitHub10 stars](https://github.com/openhoangnc/vietqr)
- [vietqr-zero trên npm](https://www.npmjs.com/package/vietqr-zero)

## Cài đặt

```
npm install vietqr-zero
```

- **Nền tảng**: Web, npm
- **Công nghệ**: TypeScript
- **Phát hành**: 2023
- **Giấy phép**: MIT
- **Sao GitHub**: 10

![Trình tạo mã VietQR: chọn ngân hàng, nhập số tài khoản, số tiền và nhận mã QR](https://afixer.app/projects/vietqr.webp)

[Trình tạo mã](https://vietqr.afixer.app/) tạo mã QR chuyển khoản ngân hàng theo chuẩn VietQR trên trình duyệt: chọn ngân hàng, nhập số tài khoản và số tiền, rồi nhận mã QR. Không backend, không cơ sở dữ liệu, không theo dõi, không cookie, không quảng cáo, và mã nguồn mở.

## Thư viện vietqr-zero

Gói npm không phụ thuộc thư viện nào, có sẵn danh sách ngân hàng Việt Nam kèm logo, hỗ trợ ESM, CommonJS và TypeScript.

```
import { getBankList, makeVietQRContent } from 'vietqr-zero';

const banks = getBankList();
const qrContent = makeVietQRContent({
  bankId: '970415', // bank.bin, ví dụ 970415 là VietinBank
  accountId: '1234567890',
  amount: 50000,
  description: 'Payment'
});
```

## Hỗ trợ

Gặp lỗi hoặc có góp ý? [Tạo issue trên GitHub](https://github.com/openhoangnc/vietqr/issues).

## Dự án liên quan

- **[Âm Lịch](https://afixer.app/projects/am-lich)**Tiếng Việt  
Lịch âm dương Việt Nam trên trình duyệt, có Can Chi, tiết khí, giờ hoàng đạo, đếm ngược ngày lễ và nhắc ngày chay.  
Works offline
- **[Board Game VN](https://afixer.app/projects/boardgamevn)**Tiếng Việt  
Bốn board game suy luận chơi online bằng tiếng Việt, mỗi người một điện thoại.  
4 games
- **[JOKey](https://afixer.app/jokey)**Tiếng Việt  
Vietnamese typing for macOS that types straight into any text field, without the underline, from a keyboard in Input Sources.  
No underline, no network
