diff --git a/wasm_dist/css/style.css b/wasm_dist/css/style.css new file mode 100644 index 0000000..6ef810d --- /dev/null +++ b/wasm_dist/css/style.css @@ -0,0 +1,50 @@ +/* style.css */ +button[type="submit"] { + width: 100%; /* Tam genişlik */ + background-color: #4a90e2; /* Modern mavi renk */ + transition: background-color 0.3s ease, transform 0.3s ease; /* Geçiş efektleri */ +} + +button[type="submit"]:hover { + background-color: #357ab8; /* Hover rengi */ + transform: scale(1.02); /* Hover'da büyütme efekti */ +} + +button[type="submit"].processing { + background-color: #000000; /* İşlem sırasında arka plan rengi */ +} + +.progress-bar { + height: 6px; /* Çubuğun yüksekliği */ + background-color: #38a169; /* Modern yeşil renk */ + transition: width 0.3s ease-in-out; /* Geçiş efekti */ +} + +footer { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + background-color: #f3f4f6; + text-align: center; + padding: 10px 0; + z-index: 1000; + border-top: 1px solid #e5e7eb; +} + +/* Animatie */ +@keyframes pulse { + 0% { transform: scale(1); } + 50% { transform: scale(1.05); } + 100% { transform: scale(1); } +} + +.processing { + animation: pulse 2s infinite; +} + +@media (max-width: 640px) { /* Mobil uyumlu stil */ + button[type="submit"] { + padding: 12px; /* Mobilde buton içi boşluğu artır */ + } +} \ No newline at end of file diff --git a/wasm_dist/guide.html b/wasm_dist/guide.html new file mode 100644 index 0000000..274d275 --- /dev/null +++ b/wasm_dist/guide.html @@ -0,0 +1,292 @@ + + + +
+ + +User Guide v2.0
++ Museum PDF Tool is a browser-based application designed for museum staff to process monthly magazine + PDFs. + It can split PDFs into individual articles, remove advertisement + pages, + merge article blocks, extract text (OCR), and generate + thumbnail images — all packaged into a downloadable ZIP file. +
+Open your web browser (Chrome, Edge, Firefox, or Safari) and + navigate to the Museum PDF Tool URL provided by your organization.
+Click "Choose File" and select the magazine + PDF you want to process. The tool will immediately display the total number of pages.
+Enter the publication year (e.g. 2024) and issue
+ number (e.g. 05). These are used to generate output filenames.
+ In the "Page Ranges to Process" field, specify which pages belong to each + article. Use commas to separate articles and dashes for page ranges. +
+Leave empty to process the entire PDF as one block.
++ In the "Exclude Pages" field, list the page numbers of advertisement or + unwanted pages. These will be permanently removed from the output. +
++ If two articles should be combined into one, enter their block numbers in "Merge + Blocks". +
++ Press the blue Process PDF button. A terminal log will appear showing + real-time progress. When complete, a notification sound plays and a download button appears. +
+Click the Download button. A ZIP file will be + saved to your computer with the following folder structure:
++ You can install Museum PDF Tool as a standalone desktop application. This gives you a dedicated app + window (without browser tabs) and guarantees offline access forever. +
+ ++ These browsers do not support PWA app installation, but you can still use the tool normally in the + browser tab. It will still work offline after the first visit as long as you don't clear your browser + cache. +
++ After visiting the tool once, all required libraries are cached in your browser. You can then: +
+Yes. Your files never leave your computer. All processing is + done locally in your browser's memory. No data is sent to any server.
+There is no server-imposed limit. The only limit is your + computer's available RAM. Most modern computers can handle PDFs up to 500MB+ without issues.
+No. You only need a modern web browser. No Python, Tesseract, + or any other software is required.
+Yes. Simply open the URL on each computer once. The tool will + cache itself automatically for offline use on every device.
++ + + 100% Secure & Offline + + Files never leave your device. Processed locally via WebAssembly. +
+ + 📖 Open User Guide + +