- TypeScript 82.9%
- CSS 12.7%
- JavaScript 4.3%
- HTML 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo/workflows | ||
| build | ||
| e2e | ||
| scripts | ||
| src | ||
| tests | ||
| .editorconfig | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| electron-builder.yml | ||
| electron.vite.config.ts | ||
| eslint.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| tsconfig.web.json | ||
| vitest.config.ts | ||
Simple Word
معالج نصوص بسيط (بواجهة مشابهة لبرنامج WordPad المرفق مع ويندوز) يعمل دون اتصال كتطبيق ديسكتوب على لينكس — المستندات تُحفظ محلياً على جهازك.
An offline word processor (WordPad-like) for the Linux desktop — documents are stored locally on your machine.
مبني على قالب desktop-standard: راجع
STANDARD.mdوTHEME.mdفي الريبو المرجعي قبل أي تعديل. Built on the desktop-standard template: readSTANDARD.mdandTHEME.mdin the reference repo before changing anything.
الميزات / Features
- محرر غني (TinyMCE) يعمل دون اتصال. / Offline rich text editor (TinyMCE).
- منطقة كتابة وعرض صفحة على طراز WordPad (شريط أدوات + مسطرة + صفحة بيضاء على خلفية رمادية). / WordPad-like writing area and page view (toolbar + ruler + white page on a gray canvas).
- اتجاه RTL/LTR تلقائي حسب أول حرف + أزرار يدوية. / Automatic RTL/LTR direction plus manual buttons.
- أحجام ورق عالمية + فواصل صفحات يدوية وتلقائية. / International paper sizes plus manual and automatic page breaks.
- تصدير DOCX/PDF واستيراد DOCX. / DOCX/PDF export and DOCX import.
- فولدرات وتصنيفات ووسوم. / Folders, categories, and tags.
- واجهة عربية/إنجليزية مع ثيم فاتح/داكن/النظام. / Arabic/English UI with light/dark/system theme.
- خط تجوال مضمّن محلياً. / Embedded Tajawal font (offline).
البناء والتشغيل / Install & run
npm install
npm run dev # التطوير / development
npm test # الاختبارات / tests
npm run typecheck # فحص الأنواع / type checking
npm run gen:icon # توليد الأيقونات / generate icons
npm run dist # بناء AppImage / build AppImage
ملاحظة: مجلد
src/renderer/public/tinymceلا يُرفع للمستودع؛ يُنشأ تلقائياً بعدnpm installعبرscripts/copy-tinymce.mjs. Note:src/renderer/public/tinymceis git-ignored; it is generated automatically afternpm installviascripts/copy-tinymce.mjs.
التحميل / Download
من صفحة Releases: نزّل أحدث ملف simple-word-<version>.AppImage، اجعله قابلاً للتنفيذ وشغّله.
From the Releases page: download the latest simple-word-<version>.AppImage, make it executable, and run it.
chmod +x simple-word-*.AppImage
./simple-word-*.AppImage
الاعتماديات والفحوصات / Dependencies and checks
- كل الاعتماديات في
devDependenciesلأن Vite يحزم كود الواجهة داخلout/؛ ولا تُشحن أي حزمة وقت التشغيل. All dependencies live indevDependenciesbecause Vite bundles the renderer intoout/; nothing ships at runtime. - تنبيهات
npm auditالحالية كلها في سلسلة أدوات البناء (electron,@electron/get,node-gyp,undici) وليست في التطبيق المُوزَّع، ولا يتوفر لها إصلاح بعد. نُبقيها موثّقة بدل تجاهلها بصمت. The opennpm auditadvisories are all in the build toolchain (electron,@electron/get,node-gyp,undici), not in the shipped app, and have no fix available yet. They are documented here rather than silently ignored. - الفحوصات:
npm run lintثمnpm run typecheckثمnpm run test:coverage(بحدود تغطية) ثمnpm run test:e2e(يشغّل تطبيق Electron الحقيقي بشكل headless). Checks:npm run lint,npm run typecheck,npm run test:coverage(with thresholds), thennpm run test:e2e(drives the real Electron app headlessly).
الترخيص / License
- كود هذا المشروع منشور تحت CC-BY-NC-SA-4.0. / This project is licensed under CC-BY-NC-SA-4.0.
- محرر TinyMCE مرخّص تحت GPLv2+ (استخدام ذاتي بدون مفتاح تجاري). / TinyMCE is licensed under GPLv2+ (self-hosted, no commercial key).