testmaker is a tool specifically designed for professionals and educators who prepare educational materials. This project facilitates the quick and efficient conversion of image-based questions into PDF files.
- Quick Conversion: Converts images to PDF quickly.
- Private: Everything runs in your browser, no image is ever uploaded.
- User-Friendly Interface: Easy-to-use and intuitive user interface.
- Supports Various Formats: PNG, JPEG, WebP, GIF, BMP, AVIF, SVG, TIFF and HEIC. Every image is converted to a clean PNG on upload (large noisy photos become a right-sized JPEG), so whatever you add prints correctly. Cut-off or corrupt files are rejected by name instead of ending up half-drawn in the PDF.
- Drag & Drop: Reorder questions with drag and drop support.
- Multi-language: Supports Turkish, English and German.
- Answer Key: Generates a separate answer key page in the PDF.
- Image Editor: Crop and adjust question images before export.
- Autosave: Your work is stored in the browser (IndexedDB) and restored on reload, even if you reload right after an edit. Changing the project in a second tab is detected so nothing gets overwritten.
- Undo: Removing a question, clearing everything or resetting the settings can be undone.
- Unicode PDFs: The PDF embeds Noto Sans, so Turkish, German and other Latin characters print correctly.
- Responsive: Tabs on phones and portrait tablets, editor plus live preview side by side on landscape tablets, three columns on desktop. Touch-sized controls on touch screens.
- Paste Images: Paste screenshots straight from the clipboard with Ctrl+V.
- Bulk Answer Key: Fill every answer at once by typing e.g.
ABCDE-A. - Duplicate & Clear: Duplicate a question or clear the whole test (with confirmation).
- Next.js 16
- React 19
- TypeScript
- Tailwind CSS v4
- Radix UI primitives with class-variance-authority and lucide icons
- @react-pdf/renderer
- dnd kit
- i18next
- react-advanced-cropper
The PDF font is Noto Sans (SIL Open Font License, see public/fonts/LICENSE.txt).
Follow these steps to install the project on your local machine:
-
Clone the repository:
git clone https://github.com/gokhangunduz/testmaker.git
-
Navigate to the project directory:
cd testmaker -
Install the necessary packages:
npm install
To start the project, run:
npm run devThen, open your browser and go to http://localhost:3000.
Other scripts:
| Script | Description |
|---|---|
npm run build |
Creates the static production export (out) |
npm run start |
Serves the production build |
npm run lint |
Runs ESLint |
TypeScript is pinned to 6.x because
typescript-eslintdoes not support TypeScript 7 yet.
We welcome contributions! Please submit a pull request or open an issue to contribute.
This project is licensed under the MIT License. For more information, see the LICENSE file.
For any questions or suggestions, you can contact me through GitHub.