A simple application for generating Ramadan food basket distribution invitations from Excel files with full Arabic support and print-ready PDF formatting.
Before uploading your Excel file, please ensure the following to ensure the application works correctly:
- File Format: The file must be in .xlsx format. If you have an old
.xlsfile, please open it in Excel and save it asExcel Workbook (.xlsx). - Row Formatting:
- Make sure the first row contains column headers.
- If there's an empty first row, please delete it completely.
- Date Data: It is recommended that the "Birth Date" column be formatted as
Datein Excel, and the application will automatically convert it toYYYY-MM-DDformat.
- Run the application via
bun run dev. - Open
http://localhost:3000in your browser. - Select your prepared Excel file.
- Map the required fields (Name, National ID, etc.) to the corresponding columns in your file.
- Click "توليد المعاينة" (Generate Preview).
- Click "طباعة" (Print) to use direct browser printing.
- Bun & Hono: For the backend server.
- Puppeteer: For PDF generation (Server-side PDF).
- XLSX (SheetJS): For Excel file processing.
- Tajawal & Samir.Khouaja.Maghribi: Premium Arabic fonts.