https://github.com/CEShahed/linear-barcode
a simple script to model and generate UPC-A barcode
https://github.com/CEShahed/linear-barcode
barcode barcode-generator nim upc-a
Last synced: about 1 year ago
JSON representation
a simple script to model and generate UPC-A barcode
- Host: GitHub
- URL: https://github.com/CEShahed/linear-barcode
- Owner: CEShahed
- Created: 2022-09-22T04:32:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-10T03:42:04.000Z (almost 3 years ago)
- Last Synced: 2024-05-21T01:54:04.484Z (about 2 years ago)
- Topics: barcode, barcode-generator, nim, upc-a
- Language: Nim
- Homepage: https://CEShahed.github.io/linear-barcode/
- Size: 87.9 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# UPC-A Barcode Generator
## Install dependecies
```bash
nimble install
```
## Compile Web App
```bash
nimble web
```
Then open `./dist/index.html` in your web browser and enjoy!
see demo [here](https://ceshahed.github.io/linear-barcode/).
## Run MVP
```bash
nim r play.nim
```
creates `temp.svg` in current directory
# بارکد ساز UPC-A
لینک مقاله:
https://vrgl.ir/tqxlq
## چگونه برنامه را خودم اجرا کنم؟
برای اینکار باید زبان Nim را در کامپیوتر خود نصب کرده باشید.
ورژنی از زبان Nim که من برای توسعه از آن استفاده کردم، ورژن `1.6.6` است.
بعد از نصب زبان Nim میتوانید با این کد در پوشه اصلی پروژه برنامه رو اجرا کنید:
```
nim r play.nim
```
که نتیجه آن یک فایل با نام `temp.svg` است که در همین پوشه ایجاد میشود
> *نکته*:
فایل
`play.nim`
در
[این ویئو](https://www.aparat.com/v/wULBx)
نوشته شده و جنبه آموزشی دارد.