منصة ويب شاملة لتصميم وإنتاج الكتب الرقمية والمطبوعة
A comprehensive web platform for designing and producing digital and print books
مصمم الكتب الاحترافي هو تطبيق ويب متقدم مصمم لتمكين المؤلفين والكتّاب من إنشاء كتب احترافية جاهزة للنشر. يتميز التطبيق بدعم كامل للغتين العربية والإنجليزية، مع واجهة مستخدم جميلة مستوحاة من الطبيعة تُعرف بـ "الحديقة الأدبية الرقمية".
- ✨ دعم متعدد اللغات: دعم كامل للعربية والإنجليزية مع RTL/LTR
- 📝 محرر نصوص غني: محرر متقدم مبني على TipTap مع تنسيقات شاملة
- 📚 إدارة الفصول: نظام متكامل لإدارة وترتيب الفصول
- 🎨 تصميم عضوي: واجهة جميلة بألوان طبيعية دافئة
- 📄 تصدير PDF احترافي: توليد ملفات PDF عالية الجودة مع غلاف وفهرس
- 🌐 عمل دون اتصال: حفظ محلي للبيانات في المتصفح
- 🔒 خصوصية كاملة: لا توجد خوادم خارجية، جميع البيانات محلية
| التقنية | الاستخدام |
|---|---|
| React 19 | مكتبة واجهة المستخدم |
| TypeScript | لغة البرمجة الأساسية |
| TailwindCSS 4 | إطار عمل التصميم |
| TipTap | محرر النصوص الغني |
| Zustand | إدارة الحالة |
| jsPDF | توليد ملفات PDF |
| html2canvas | تحويل HTML إلى صور |
| Vite | أداة البناء والتطوير |
| Wouter | التوجيه (Routing) |
client/
├── src/
│ ├── components/ # المكونات القابلة لإعادة الاستخدام
│ │ ├── ui/ # مكونات shadcn/ui
│ │ └── RichTextEditor.tsx # محرر النصوص
│ ├── pages/ # صفحات التطبيق
│ │ ├── Home.tsx # الصفحة الرئيسية
│ │ ├── Editor.tsx # صفحة المحرر
│ │ └── NotFound.tsx
│ ├── store/ # إدارة الحالة
│ │ └── bookStore.ts # حالة الكتاب
│ ├── lib/ # المكتبات المساعدة
│ │ └── pdfGenerator.ts # توليد PDF
│ ├── contexts/ # React Contexts
│ ├── hooks/ # Custom Hooks
│ ├── App.tsx # المكون الرئيسي
│ ├── main.tsx # نقطة الدخول
│ └── index.css # الأنماط العامة
├── public/ # الملفات الثابتة
└── index.html # HTML الرئيسي
- Node.js 18+ أو أحدث
- pnpm 8+ (أو npm/yarn)
# استنساخ المستودع
git clone <repository-url>
cd book-designer
# تثبيت الاعتماديات
pnpm install
# تشغيل خادم التطوير
pnpm dev
# بناء للإنتاج
pnpm build
# معاينة البناء
pnpm preview- افتح المتصفح وانتقل إلى
http://localhost:3000 - انقر على "ابدأ الآن" للانتقال إلى المحرر
- قم بإعداد معلومات الكتاب من "إعدادات الكتاب"
- أضف الفصول واكتب المحتوى
- صدّر الكتاب بصيغة PDF
يمكنك تخصيص لوحة الألوان من ملف client/src/index.css:
:root {
--primary: oklch(0.48 0.08 140); /* Warm Olive Green */
--background: oklch(0.89 0.03 85); /* Sandy Beige */
/* ... المزيد من الألوان */
}لتغيير الخطوط، قم بتحديث ملف client/index.html:
<link href="https://fonts.googleapis.com/css2?family=YourFont&display=swap" rel="stylesheet" />ثم حدّث المتغيرات في index.css:
@theme inline {
--font-heading-ar: 'YourArabicFont', serif;
--font-body-ar: 'YourArabicFont', serif;
}نرحب بالمساهمات من الجميع! إذا كنت ترغب في المساهمة:
- قم بعمل Fork للمستودع
- أنشئ فرعًا جديدًا (
git checkout -b feature/amazing-feature) - قم بإجراء التغييرات والالتزام بها (
git commit -m 'Add amazing feature') - ادفع إلى الفرع (
git push origin feature/amazing-feature) - افتح Pull Request
هذا المشروع مرخص تحت رخصة MIT - انظر ملف LICENSE للتفاصيل.
إذا واجهت أي مشكلة أو كان لديك اقتراح:
- افتح Issue في GitHub
- راجع دليل المستخدم للحصول على مساعدة مفصلة
Professional Book Designer is an advanced web application designed to empower authors and writers to create professional, publication-ready books. The application features full support for Arabic and English languages, with a beautiful nature-inspired user interface known as the "Digital Literary Garden."
- ✨ Multilingual Support: Full Arabic and English support with RTL/LTR
- 📝 Rich Text Editor: Advanced TipTap-based editor with comprehensive formatting
- 📚 Chapter Management: Integrated system for managing and organizing chapters
- 🎨 Organic Design: Beautiful interface with warm natural colors
- 📄 Professional PDF Export: High-quality PDF generation with cover and table of contents
- 🌐 Offline Capable: Local data storage in browser
- 🔒 Complete Privacy: No external servers, all data is local
| Technology | Purpose |
|---|---|
| React 19 | UI library |
| TypeScript | Primary programming language |
| TailwindCSS 4 | Design framework |
| TipTap | Rich text editor |
| Zustand | State management |
| jsPDF | PDF generation |
| html2canvas | HTML to image conversion |
| Vite | Build tool and dev server |
| Wouter | Routing |
client/
├── src/
│ ├── components/ # Reusable components
│ │ ├── ui/ # shadcn/ui components
│ │ └── RichTextEditor.tsx # Text editor
│ ├── pages/ # Application pages
│ │ ├── Home.tsx # Landing page
│ │ ├── Editor.tsx # Editor page
│ │ └── NotFound.tsx
│ ├── store/ # State management
│ │ └── bookStore.ts # Book state
│ ├── lib/ # Utility libraries
│ │ └── pdfGenerator.ts # PDF generation
│ ├── contexts/ # React Contexts
│ ├── hooks/ # Custom Hooks
│ ├── App.tsx # Main component
│ ├── main.tsx # Entry point
│ └── index.css # Global styles
├── public/ # Static files
└── index.html # Main HTML
- Node.js 18+ or newer
- pnpm 8+ (or npm/yarn)
# Clone the repository
git clone <repository-url>
cd book-designer
# Install dependencies
pnpm install
# Run development server
pnpm dev
# Build for production
pnpm build
# Preview build
pnpm preview- Open browser and navigate to
http://localhost:3000 - Click "Start Now" to go to the editor
- Set up book information from "Book Settings"
- Add chapters and write content
- Export the book as PDF
You can customize the color palette in client/src/index.css:
:root {
--primary: oklch(0.48 0.08 140); /* Warm Olive Green */
--background: oklch(0.89 0.03 85); /* Sandy Beige */
/* ... more colors */
}To change fonts, update client/index.html:
<link href="https://fonts.googleapis.com/css2?family=YourFont&display=swap" rel="stylesheet" />Then update variables in index.css:
@theme inline {
--font-heading-ar: 'YourArabicFont', serif;
--font-body-ar: 'YourArabicFont', serif;
}We welcome contributions from everyone! If you'd like to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature) - Make changes and commit (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have suggestions:
- Open an Issue on GitHub
- Check the User Guide for detailed help
Built with ❤️ by Manus AI
مصنوع بـ ❤️ بواسطة Manus AI
