diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 669213b..d73ae99 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -27,7 +27,14 @@ "Bash(npm run generate-icons:*)", "Bash(node --check:*)", "Bash(timeout /t 3)", - "Bash(timeout /t 8)" + "Bash(timeout /t 8)", + "Bash(git merge:*)", + "Bash(git stash:*)", + "Bash(copy /Y \"assets\\\\docico1.png\" \"assets\\\\icon.png\")", + "Bash(cmd /c \"del /q Screen.png dark.png light.png pdf.png uvmodal.png 2>nul\")", + "Bash(cmd /c \"del /q \"\"pdf modal.png\"\" 2>nul\")", + "Bash(cmd /c \"del /q assets\\\\NewIcon.jpg assets\\\\logopallete.png 2>nul\")", + "Bash(gh release create:*)" ], "deny": [], "ask": [] diff --git a/.continue/mcpServers/new-mcp-server.yaml b/.continue/mcpServers/new-mcp-server.yaml deleted file mode 100644 index 0e32aa6..0000000 --- a/.continue/mcpServers/new-mcp-server.yaml +++ /dev/null @@ -1,10 +0,0 @@ -name: New MCP server -version: 0.0.1 -schema: v1 -mcpServers: - - name: New MCP server - command: npx - args: - - -y - - - env: {} diff --git a/.gitignore b/.gitignore index 2bff97e..8d46b53 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,17 @@ out/ .cache/ .npm/ .electron/ -package-lock.json \ No newline at end of file +package-lock.json + +# Screenshots and temp files +*.png.bak +Screen.png +dark.png +light.png +pdf.png +uvmodal.png +nul +*.tmp + +# Development screenshots +pdf\ modal.png \ No newline at end of file diff --git a/README.md b/README.md index 49f336f..e3270d3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# PanConverter +# MarkdownConverter -A powerful cross-platform Markdown editor and document converter powered by Pandoc, built with Electron. +A powerful cross-platform Markdown editor and document converter powered by Pandoc, built with Electron. 100% open-source with no proprietary dependencies. ## Features @@ -130,13 +130,25 @@ npm run build:linux ## PDF Viewer -Open PDF files directly in PanConverter: +Open PDF files directly in MarkdownConverter: - **File > Open PDF** or **Ctrl+Shift+O** - Navigate pages with arrow buttons or page input - Zoom controls: +/- buttons, Fit Width, Fit Page - Rotate pages left or right - Close PDF to return to editor +## Open Source + +MarkdownConverter is 100% open-source. All dependencies are permissively licensed: +- **Electron** - MIT License +- **pdf-lib** - MIT License +- **pdfjs-dist** - Apache 2.0 License +- **marked** - MIT License +- **highlight.js** - BSD 3-Clause License +- **dompurify** - Apache 2.0/MIT License +- **docx** - MIT License +- **xlsx** - Apache 2.0 License (SheetJS Community Edition) + ## License MIT License - see LICENSE file for details. diff --git a/README.pdf b/README.pdf deleted file mode 100644 index 7b3cc6d..0000000 Binary files a/README.pdf and /dev/null differ diff --git a/UIdoubleclick.png b/UIdoubleclick.png deleted file mode 100644 index 7b2afdf..0000000 Binary files a/UIdoubleclick.png and /dev/null differ diff --git a/UIdoubleclick2.png b/UIdoubleclick2.png deleted file mode 100644 index 8dee122..0000000 Binary files a/UIdoubleclick2.png and /dev/null differ diff --git a/UIdoubleclick3.png b/UIdoubleclick3.png deleted file mode 100644 index 32fecbc..0000000 Binary files a/UIdoubleclick3.png and /dev/null differ diff --git a/UIdoubleclick4.png b/UIdoubleclick4.png deleted file mode 100644 index aadc5d8..0000000 Binary files a/UIdoubleclick4.png and /dev/null differ diff --git a/UIdoubleclick5.png b/UIdoubleclick5.png deleted file mode 100644 index 7288005..0000000 Binary files a/UIdoubleclick5.png and /dev/null differ diff --git a/_nul b/_nul deleted file mode 100644 index e69de29..0000000 diff --git a/assets/favicon.png b/assets/favicon.png index f7bc0bc..f8aa41b 100644 Binary files a/assets/favicon.png and b/assets/favicon.png differ diff --git a/assets/icon.png b/assets/icon.png index a87dedf..7f88b63 100644 Binary files a/assets/icon.png and b/assets/icon.png differ diff --git a/assets/icon@2x.png b/assets/icon@2x.png index 7a87141..51359f3 100644 Binary files a/assets/icon@2x.png and b/assets/icon@2x.png differ diff --git a/assets/icons/1024x1024.png b/assets/icons/1024x1024.png index 7a87141..51359f3 100644 Binary files a/assets/icons/1024x1024.png and b/assets/icons/1024x1024.png differ diff --git a/assets/icons/128x128.png b/assets/icons/128x128.png index b33d9b6..e567e79 100644 Binary files a/assets/icons/128x128.png and b/assets/icons/128x128.png differ diff --git a/assets/icons/16x16.png b/assets/icons/16x16.png index 6ad7303..645f129 100644 Binary files a/assets/icons/16x16.png and b/assets/icons/16x16.png differ diff --git a/assets/icons/24x24.png b/assets/icons/24x24.png index 70a61f0..319bfdc 100644 Binary files a/assets/icons/24x24.png and b/assets/icons/24x24.png differ diff --git a/assets/icons/256x256.png b/assets/icons/256x256.png index b9b10b9..8905c1b 100644 Binary files a/assets/icons/256x256.png and b/assets/icons/256x256.png differ diff --git a/assets/icons/32x32.png b/assets/icons/32x32.png index f7bc0bc..f8aa41b 100644 Binary files a/assets/icons/32x32.png and b/assets/icons/32x32.png differ diff --git a/assets/icons/48x48.png b/assets/icons/48x48.png index df2f49c..21adafc 100644 Binary files a/assets/icons/48x48.png and b/assets/icons/48x48.png differ diff --git a/assets/icons/512x512.png b/assets/icons/512x512.png index a87dedf..7f88b63 100644 Binary files a/assets/icons/512x512.png and b/assets/icons/512x512.png differ diff --git a/assets/icons/64x64.png b/assets/icons/64x64.png index 7291f26..fee89b8 100644 Binary files a/assets/icons/64x64.png and b/assets/icons/64x64.png differ diff --git a/assets/tray-icon.png b/assets/tray-icon.png index 70a61f0..319bfdc 100644 Binary files a/assets/tray-icon.png and b/assets/tray-icon.png differ diff --git a/logo.png b/logo.png deleted file mode 100644 index b1871d2..0000000 Binary files a/logo.png and /dev/null differ diff --git a/logopallete.png b/logopallete.png deleted file mode 100644 index 0bdb263..0000000 Binary files a/logopallete.png and /dev/null differ diff --git a/pdfexporterror.png b/pdfexporterror.png deleted file mode 100644 index 5cea7a7..0000000 Binary files a/pdfexporterror.png and /dev/null differ diff --git a/pdfexporterror2.png b/pdfexporterror2.png deleted file mode 100644 index 2b1dbd8..0000000 Binary files a/pdfexporterror2.png and /dev/null differ diff --git a/printoutput.png b/printoutput.png deleted file mode 100644 index 91e4b88..0000000 Binary files a/printoutput.png and /dev/null differ diff --git a/ren.pdf b/ren.pdf deleted file mode 100644 index 6977802..0000000 Binary files a/ren.pdf and /dev/null differ diff --git a/scripts/generate-icons.js b/scripts/generate-icons.js index fd3d7c1..2196f47 100644 --- a/scripts/generate-icons.js +++ b/scripts/generate-icons.js @@ -8,14 +8,14 @@ const fs = require('fs'); const path = require('path'); // Source image -const sourceImage = path.join(__dirname, '..', 'assets', 'NewIcon.jpg'); +const sourceImage = path.join(__dirname, '..', 'assets', 'docico1.png'); const assetsDir = path.join(__dirname, '..', 'assets'); // Icon sizes needed for different platforms const iconSizes = [16, 24, 32, 48, 64, 128, 256, 512, 1024]; async function generateIcons() { - console.log('Generating icons from NewIcon.jpg...'); + console.log('Generating icons from docico1.png...'); // Check if source exists if (!fs.existsSync(sourceImage)) { diff --git a/src/index.html b/src/index.html index 7fa1327..2dd059c 100644 --- a/src/index.html +++ b/src/index.html @@ -4,23 +4,19 @@ MarkdownConverter - - - - - - - + + +
- + MarkdownConverter
diff --git a/word_template.docx b/word_template.docx deleted file mode 100644 index d900983..0000000 Binary files a/word_template.docx and /dev/null differ