Skip to content

Thai Promptpay QR Code builder given a phone number and amount of money

License

Notifications You must be signed in to change notification settings

saenyakorn/promptpay-builder

Repository files navigation

Promptpay Builder

Thai Promptpay QR code builder given a phone number and amount.

Table of Contents

Features

  • Generate QR code for Promptpay given a phone number and amount
  • Support other currencies
  • Support citizen ID as identifier

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request. This project based on SvelteKit. You can read the SvelteKit documentation to learn about SvelteKit.

Developing

Once you clone the project, first you need to install the dependencies

pnpm install

Then, you can run the project in development mode

pnpm dev

The project will be running at http://localhost:5173/.

Deploying

This project is developed using Github Page. It's use gh-pages branch to deploy the static site. This project already provides Github Action for deployment.

To deploy the project, one thing you have to do is dispatching the Deployment Workflow then the site will be deployed automatically using latest version of main branch.

Don't forget to change CNAME file if you want to deploy to your own domain.

License

MIT