Skip to content

lecyberbill/Simple_Publisher

Repository files navigation

Simple Publisher

A simple, beginner-friendly, and offline-first Desktop Publishing (PAO) application built with Electron, React, and Fabric.js. image

Tip

Nouveau sur Simple Publisher ? Consultez notre Guide Utilisateur | New to Simple Publisher? Check out our User Guide

🚀 Envie de voir le futur du projet ? Découvrez notre Feuille de Route !

🚀 Key Features

🎨 Drawing & Illustration

  • Advanced Brush Tool: Custom textures and pattern scaling (Dot, HLine, VLine, Square, Diamond).
  • Bezier Pen Tool: Professional path creation with interactive handles.
  • Pencil Tool: Natural freehand drawing.
  • Shape System: Dynamic shapes including Rectangles, Circles, Triangles, Stars, and QR Codes.
  • Path Editing: Double-click to edit vertices, convert points between Line and Bezier curves.

✍️ Typography & Text

  • Rich Text Support: Custom fonts, alignment, and formatting.
  • Tabulation System: Advanced ruler with tab stops support.
  • Text Transformations: Uppercase conversion and styling.

🛠 Object Management

  • Grouping & Selection: Combined objects into groups, multi-selection support.
  • Layer System: Visibility toggle, locking, and depth reordering.
  • Image Cropping: Nondestructive interactive cropping tool.
  • Alignment Tools: Align objects to the page (Left, Center, Right, Top, Middle, Bottom).

⌨️ Productivity

  • Global Keyboard Shortcuts:
    • Ctrl + N : New / Ctrl + S : Save / Ctrl + O : Open
    • Ctrl + Z / Y : Undo / Redo
    • Ctrl + C / V / X : Copy / Paste / Cut
    • Ctrl + G / Shift + G : Group / Ungroup
    • Ctrl + A : Select All
    • Ctrl + 0 : Fit to Screen
    • V / H / P / B : Selection, Hand, Pen, and Brush tools
  • Context Menu: Right-click actions for quick access to object operations.

💾 File & Export

  • Project Saving: Save and load custom .pub formatted projects.
  • Export Formats: Support for High-Resolution PNG and Vector PDF.

🛠 Tech Stack

  • Electron: Desktop shell and system integration.
  • React: Modern component-based UI.
  • Fabric.js (v6): High-performance canvas engine.
  • Vite: Rapid development and bundling.
  • TypeScript: Robust type safety.

📦 Installation & Setup

  1. Prerequisites: Install Node.js (version 16 or higher).

  2. Install dependencies:

    npm install
  3. Run in development:

    npm run dev:electron
  4. Build for production:

    npm run build:electron

� Credits & Attributions

This project uses external resources to provide high-quality assets:

  • Open Iconic: An open source icon set with 223 marks in SVG, webfont and raster formats.
    • License: MIT (Code) / SIL OFL 1.1 (Fonts) / CC BY-SA 4.0 (Icons).
    • Used for the "Open Iconic" shape category.
  • Lucide React: Beautiful & consistent icon toolkit made by the community.
    • License: ISC.
    • Used for the "Icons" tab.

�📜 License

MIT

About

A simple, beginner-friendly, and offline-first Desktop Publishing (PAO)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors