MCPcopy Index your code
hub / github.com/cclank/NLM2Img

github.com/cclank/NLM2Img @main

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

PDF Stitcher & Stamp

PDF Stitcher & Stamp

A powerful web application that combines multi-page PDFs into a single continuous image and applies custom digital stamps. Process your PDFs directly in the browser with full privacy - no data leaves your computer.

Features

  • PDF Stitching: Combine multiple PDF pages into a single continuous image
  • Custom Stamps: Design and apply custom digital stamps/seals to your documents
  • Multiple Layouts: Choose from various layout options (Vertical, Grid, A4 Grid, Grouped)
  • Group Pages: Split large PDFs into smaller groups for easier management
  • Privacy First: All processing happens in your browser - your data never leaves your computer
  • No API Key Required: Works without any external API keys, with optional AI enhancement

Run Locally

Prerequisites: Node.js

  1. Install dependencies: bash npm install
  2. Run the app: bash npm run dev

Deploy to Vercel

  1. Push your code to a GitHub repository
  2. Create a new project on Vercel and import your repository
  3. Vercel will automatically deploy your app

Stamp Designer Toggle

The Stamp Designer feature can be toggled on/off: - When enabled: Add custom stamps to your documents - When disabled: Process PDFs without adding stamps

To toggle the Stamp Designer, look for the switch in the application interface.

Color Scheme Inspiration

This project's warm color palette was inspired by Lumina Style Studio, which provided the foundation for our "Helpful Warmth" theme.

Extension points exported contracts — how you extend this code

ImportMetaEnv (Interface)
(no doc)
env.d.ts
StampConfig (Interface)
(no doc)
types.ts
GroupControlsProps (Interface)
(no doc)
components/GroupControls.tsx
PreviewAreaProps (Interface)
(no doc)
components/PreviewArea.tsx
LayoutControlsProps (Interface)
(no doc)
components/LayoutControls.tsx
StampControlsProps (Interface)
(no doc)
components/StampControls.tsx
UploadZoneProps (Interface)
(no doc)
components/UploadZone.tsx
Window (Interface)
(no doc)
services/pdfService.ts

Core symbols most depended-on inside this repo

handleChange
called by 8
components/StampControls.tsx
handleDownload
called by 3
components/PreviewArea.tsx
validateAndPassFile
called by 2
components/UploadZone.tsx
stitchImagesAndStamp
called by 2
services/pdfService.ts
getTodayDate
called by 1
App.tsx
createStampCanvas
called by 1
components/PreviewArea.tsx
generate
called by 1
components/PreviewArea.tsx
convertPdfToImages
called by 1
services/pdfService.ts

Shape

Function 26
Interface 10
Enum 1

Languages

TypeScript100%

Modules by API surface

components/UploadZone.tsx7 symbols
services/pdfService.ts6 symbols
components/PreviewArea.tsx6 symbols
components/GroupControls.tsx4 symbols
types.ts3 symbols
components/StampControls.tsx3 symbols
App.tsx3 symbols
env.d.ts2 symbols
components/LayoutControls.tsx2 symbols
services/geminiService.ts1 symbols

For agents

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

⬇ download graph artifact