MCPcopy Index your code
hub / github.com/LeonZeng919/barcode-generator

github.com/LeonZeng919/barcode-generator @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
79 symbols 268 edges 57 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Barcode Generator

Barcode Generator Logo

Barcode Generator is a free, open-source tool that allows users to easily create various formats of one-dimensional barcodes. It supports multiple encoding types and enables users to generate barcodes in real-time and in bulk, completely free of charge.

This project is based on the next-shadcn-intl-template.

Live demo: https://barcode-maker.com

Features

  • Support for multiple barcode formats (Code 128, EAN/UPC, Code 39, ITF, MSI Plessey, Pharmacode, Codabar)
  • Real-time barcode generation
  • Bulk generation capability
  • Customizable barcode styles
  • Download options (PNG, JPG, GIF, SVG)
  • Mobile-friendly design
  • Internationalization support

Getting Started

Prerequisites

  • Node.js (version 12 or higher)
  • npm (usually comes with Node.js)

Installation

  1. Clone the repository:

git clone https://github.com/LeonZeng919/barcode-generator.git

  1. Navigate to the project directory:

cd barcode-generator

  1. Install dependencies:

npm install

  1. Start the development server:

npm run dev

  1. Open your browser and visit http://localhost:3000.

Usage

  1. Enter the content you want to encode in the input box, with each line corresponding to one barcode.
  2. Use the tabs to switch between different encoding types.
  3. Select the encoding format and barcode style in the options.
  4. The system will generate the corresponding barcodes in real-time.

For more detailed usage instructions, please refer to our FAQ.

Contributing

We welcome contributions from the community! If you'd like to contribute, please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Please make sure to update tests as appropriate and adhere to the Contributor Covenant code of conduct.

License

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

Acknowledgments

  • JsBarcode - The barcode generation library used in this project
  • next-shadcn-intl-template - The template used as a base for this project
  • All contributors who have helped to improve this project

Contact

Leon Zeng - @leonzeng2024

Project Link: https://github.com/LeonZeng919/barcode-generator

Recommended AI Tools

Extension points exported contracts — how you extend this code

NavItem (Interface)
(no doc)
src/types/nav.ts
LanguageToggleProps (Interface)
(no doc)
src/components/language-toggle.tsx
SiteHeaderProps (Interface)
(no doc)
src/components/Header.tsx
BarcodeCarouselProps (Interface)
(no doc)
src/components/barcode-generator/BarcodeCarousel.tsx
ShareButtonProps (Interface)
(no doc)
src/components/barcode-generator/share-button.tsx
ImportDataProps (Interface)
(no doc)
src/components/barcode-generator/ImportData.tsx

Core symbols most depended-on inside this repo

cn
called by 61
src/lib/utils.ts
useBarcodeContext
called by 7
src/components/barcode-generator/BarcodeContext.tsx
useCarousel
called by 4
src/components/ui/carousel.tsx
getDefaultSettingsForFormat
called by 3
src/components/barcode-generator/BarcodeContext.tsx
checkQRCode
called by 3
src/config/barcode-types.ts
generateShareLink
called by 2
src/components/barcode-generator/share-button.tsx
generateBarcodeLink
called by 2
src/components/barcode-generator/share-button.tsx
handleCopy
called by 2
src/components/barcode-generator/share-button.tsx

Shape

Function 65
Interface 14

Languages

TypeScript100%

Modules by API surface

src/components/barcode-generator/BarcodeContext.tsx9 symbols
src/components/barcode-generator/BarcodeComponents.tsx8 symbols
src/components/barcode-generator/ScrollControls.tsx6 symbols
src/components/barcode-generator/share-button.tsx5 symbols
src/config/barcode-types.ts3 symbols
src/components/ui/sheet.tsx3 symbols
src/components/language-toggle.tsx3 symbols
src/components/barcode-generator/index.tsx3 symbols
src/components/barcode-generator/ImportData.tsx3 symbols
src/app/[locale]/layout.tsx3 symbols
src/components/ui/resizable.tsx2 symbols
src/components/ui/dialog.tsx2 symbols

For agents

$ claude mcp add barcode-generator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact