📄 Alin Li · إدارة المستندات

OpenKM: أتقِن إدارة مستنداتك

Every organization drowns in documents — contracts, invoices, reports, emails, scans, manuals. OpenKM organizes them all into a searchable, secure, version-controlled digital library. Free and open source. The enterprise alternative that costs $0.

What is OpenKM? 🤔Install It ⚡
🤔 ما هو OPENKM؟

Google Drive الخاص بك — للعمل الجاد

📄 OpenKM = إدارة المعرفة المفتوحة

OpenKM is an open-source Document Management System (DMS) و Electronic Content Management (ECM) platform. Think of it as a private, self-hosted system where your organization stores, searches, classifies, controls, and shares ALL its documents — with full security, version history, workflow automation, and audit trails.

While Google Drive or Dropbox are simple file storage, OpenKM is a professional-grade document management system built for organizations that need to find any document in seconds among millions, track who viewed or changed what, enforce retention policies, and comply with regulations.

🧠 المشكلة التي يحلّها OpenKM

The average employee spends 2.5 ساعة يوميًا للبحث عن المعلومات (McKinsey). في شركة تضم 100 موظف، يعادل ذلك 250 ساعة مهدرة كل يوم — 57,500 hours per year — just looking for documents. At $30/hour, that's $1.7 مليون/سنة مهدرة searching for files.

Documents are scattered: some on file servers, some in email, some on desks, some in personal folders, some in people's heads. There's no single source of truth. Contracts get lost. Old versions get used by mistake. Nobody knows where the latest policy document is. Audit requests take weeks instead of seconds.

💰 وفورات حقيقية

تفيد المؤسسات التي تطبّق أنظمة إدارة المستندات بأن 40–60% reduction in document search time, خفض تكاليف التخزين بنسبة 30% (إزالة التكرارات)، و 80% faster compliance audit responses. أفاد مكتب محاماة متوسط الحجم بأنه وفّر $400,000/سنة after implementing OpenKM by eliminating physical file rooms and reducing search time.

🏢 Who Created OpenKM?

أُنشئ OpenKM في 2006 in إسبانيا by a team of enterprise software developers who saw that document management software was absurdly expensive — Microsoft SharePoint cost $50,000–$500,000+ to deploy, and other ECM systems (Documentum, OpenText) cost even more. They wanted to bring enterprise-grade document management to everyone — free.

يقع المقر الرئيسي لـOpenKM في Valencia, Spain. تموّل الشركة استمرارها من خلال open-core model: Community Edition is free (GPL v2), while the Enterprise Edition adds advanced features and professional support. The project has been actively maintained for 18+ سنة — one of the longest-running open-source DMS projects.

📜 التاريخ

قصة OpenKM

2006

🚀 تأسيس OpenKM في إسبانيا

First release built on Java + Jackrabbit (JCR content repository). Offered enterprise document management for free at a time when competing products cost hundreds of thousands of dollars.

2008–2010

📈 التبنّي الأوروبي

Universities, law firms, and government agencies across Spain, Italy, France, and Latin America begin adopting OpenKM. The Spanish-speaking world especially embraces it as a homegrown alternative to SharePoint.

2012

🔧 ترقية البنية

ينتقل OpenKM من Jackrabbit إلى قاعدة بيانات خلفية أصلية، مما يحسّن الأداء بدرجة كبيرة. وتُوسَّع واجهتا REST وSOAP، فيصبح الدمج مع الأنظمة الأخرى أسهل.

2015–2018

🌍 Global Expansion

تأسس شركاء OpenKM في أكثر من 20 دولة. وينضج إصدار Enterprise مع OCR، وأتمتة سير العمل، وأرشفة البريد الإلكتروني، والتعرف على الرموز الشريطية. تستخدمه جهات حكومية ومستشفيات ومكاتب محاماة وشركات تصنيع حول العالم.

2020

🦠 كوفيد-19 يسرّع التبنّي

Remote work forces organizations to digitize paper processes. OpenKM sees surge in downloads as companies need accessible document repositories. The free community edition helps small businesses survive the digital transition without budget.

2023–2025

🤖 ميزات حديثة + ذكاء اصطناعي

تضيف سلسلة OpenKM 7.x تحسينات حديثة لواجهة المستخدم، وواجهة REST API محسّنة، ووصولًا أفضل من الهاتف، وميزات ذكاء اصطناعي أولية لتصنيف المستندات واستخراج البيانات الوصفية تلقائيًا. ويبسّط النشر عبر Docker عملية التثبيت.

⭐ FEATURES

كل ما يقدمه OpenKM

منصة متكاملة لإدارة المستندات.

📁

Document Storage

Centralized repository for ALL documents. Folder tree + metadata + tags

🔍

Full-Text Search

Search INSIDE documents (PDF, Word, Excel). Find any document in seconds among millions

📝

Version Control

Every edit creates a version. Roll back to any previous version. See who changed what and when

🏷️

البيانات الوصفية والوسوم

Custom metadata fields. Tag documents. Create custom property groups for classification

🔄

Workflow Automation

Approval chains, review processes, automated routing. Documents flow through defined steps

🔐

التحكم في الوصول

Role-based permissions. User/group access. Folder-level and document-level security

📊

Audit Trail

Complete log of who did what, when, and to which document. Essential for compliance

📧

Email Archiving

Capture and store emails as documents. Link emails to projects, clients, or cases

🌐

Web Interface

الوصول من أي متصفح — دون الحاجة إلى برنامج عميل. يعمل على أي نظام تشغيل

📱

الوصول عبر الهاتف

الوصول إلى المستندات من الهاتف أو الجهاز اللوحي عبر واجهة ويب متجاوبة مع الجوال

🔌

REST + SOAP APIs

Full API for integration with any other system. Automate document operations programmatically

📂

WebDAV

اربط OpenKM كقرص شبكة. اسحب الملفات وأفلتها من سطح المكتب

📋

Document Templates

Create standard templates. Generate documents from templates with auto-filled metadata

🔔

الإشعارات

Subscribe to folders or documents. Get notified when changes happen

📤

Check-in / Check-out

اقفل المستندات أثناء التحرير. امنع التعارض عندما يعمل عدة أشخاص على الملف نفسه

🗑️

Retention Policies

Automatically archive or delete documents after defined periods. Legal compliance made easy

💡 Enterprise-Only Features (Paid)

The Enterprise Edition adds: OCR (تحويل المستندات الورقية بالمسح إلى نص قابل للبحث)، barcode recognition, advanced workflow designer (BPMN مرئي)، LDAP/Active Directory integration, email capture, digital signatures, report generation, database records management، و official SLA support.

🏗️ ARCHITECTURE

كيف بُني OpenKM

Understanding the technology under the hood.

🏗️ OpenKM Technology Stack

🌐 Web Browser (Client)
HTML5, CSS3, JavaScript — GWT (Google Web Toolkit)
⬇️
⚡ REST + SOAP + WebDAV APIs
Integration layer — connect any system
⬇️
☕ Java Application (Spring Framework)
Business logic, workflow engine, search, security
⬇️
🔍 Apache Lucene / Hibernate Search
Full-text indexing and search engine
⬇️
🗄️ قاعدة البيانات + نظام الملفات
PostgreSQL / MySQL / H2 مع تخزين الملفات على القرص
⬇️
🖥️ Apache Tomcat (خادم التطبيقات)
Runs on Linux, Windows, macOS — any Java-capable server

🔧 المواصفات التقنية

اللغة
Java (100%)
Framework
Spring Framework + GWT
Database
PostgreSQL وMySQL وH2 وOracle
Search Engine
Apache Lucene
Server
Apache Tomcat
الترخيص
GPL v2 (Community)
دعم أنظمة التشغيل
Linux, Windows, macOS, Docker
واجهات API
REST, SOAP, WebDAV, CMIS

🔌 أمثلة API — تكامل مع أي شيء

تتيح واجهة REST API في OpenKM أتمتة عمليات المستندات من أي لغة برمجة:

📤 ارفع مستندًا
POST /api/document/create
🔍 ابحث في المستندات
GET /api/search/find?query=invoice+2024
📥 نزّل الملف
GET /api/document/getContent/{docId}
🏷️ Add Metadata
POST /api/property/addGroup/{docId}
🔐 اضبط الصلاحيات
POST /api/auth/grantRole/{nodeId}
📋 اعرض محتويات المجلد
GET /api/folder/getChildren/{folderId}
Python: Upload a document to OpenKM
# pip install requests import requests url = "http://localhost:8080/OpenKM/api/document/createSimple" auth = ("okmAdmin", "admin") files = {"content": open("invoice.pdf", "rb")} data = {"docPath": "/okm:root/Invoices/2024/invoice.pdf"} response = requests.post(url, auth=auth, files=files, data=data) print(response.json()) # ✅ رُفع المستند مع جميع بياناته الوصفية وفهرسته!
⚡ INSTALLATION

كيفية تثبيت OpenKM

Three methods — from Docker (5 min) to full production server.

🐳 Option 1: Docker (Fastest — 5 Minutes)

Run OpenKM with Docker
# اسحب OpenKM Community Edition وشغّله $ docker run -d --name openkm \ -p 8080:8080 \ openkm/openkm-ce:latest # انتظر 2-3 دقائق لبدء التشغيل... # افتح المتصفح → http://localhost:8080/OpenKM # بيانات الدخول: okmAdmin / admin # 🎉 يعمل OpenKM الآن! ابدأ برفع المستندات.
✅ Best for

Testing, evaluation, development, small teams, personal use, learning. Docker makes it trivial to get started without configuring Java or databases.

☕ Option 2: Standalone Installer (Medium — 20 Minutes)

1
Install Java 11+ (JDK): sudo apt install openjdk-11-jdk
2
Download OpenKM from openkm.com → Downloads → Community
3
Extract the ZIP file → navigate to the bin/ folder
4
Run ./startup.sh (Linux) أو startup.bat (Windows)
5
افتح المتصفح ← http://localhost:8080/OpenKM → Login: okmAdmin / admin
💡 Note

The standalone installer includes embedded Tomcat and H2 database. For production, switch to PostgreSQL or MySQL for better performance and reliability.

🖥️ الخيار 3: خادم إنتاج كامل (متقدّم — 1–2 ساعة)

Production setup on Ubuntu/Linux
# ثبّت Java + PostgreSQL $ sudo apt update $ sudo apt install openjdk-11-jdk postgresql # أنشئ قاعدة بيانات $ sudo -u postgres createdb okmdb $ sudo -u postgres psql -c "CREATE USER okmuser WITH PASSWORD 'StrongPass123';" $ sudo -u postgres psql -c "GRANT ALL ON DATABASE okmdb TO okmuser;" # ثبّت Tomcat 9 $ sudo apt install tomcat9 # نزّل ملف WAR الخاص بـ OpenKM وانشره $ sudo cp OpenKM.war /var/lib/tomcat9/webapps/ # اضبط OpenKM لاستخدام PostgreSQL # حرّر OpenKM.cfg → اضبط hibernate.dialect على PostgreSQL # اضبط سلسلة الاتصال على jdbc:postgresql://localhost/okmdb # أعِد تشغيل Tomcat $ sudo systemctl restart tomcat9 # الوصول: http://your-server:8080/OpenKM
🏢 Production recommendations

الحد الأدنى: 4GB RAM, 2 CPU cores, 50GB SSD. Recommended: 8GB+ RAM, 4+ cores, SSD storage. Use PostgreSQL (not H2) for production. Set up regular backups. Configure reverse proxy (Nginx/Apache) with HTTPS via Let's Encrypt.

💼 الإصدارات

المجتمعي مقابل المؤسسي

🔓 النسخة المجتمعية (مجانية — GPL v2)
  • ✅ Document storage & folders
  • ✅ Full-text search (Lucene)
  • ✅ Version control
  • ✅ Metadata & categories
  • ✅ Basic workflow engine
  • ✅ Role-based access control
  • ✅ Audit trail
  • ✅ WebDAV access
  • ✅ REST + SOAP APIs
  • ✅ Notifications & subscriptions
  • ✅ Document templates
  • ✅ Check-in / check-out
  • ✅ Trash & recovery
  • ✅ Multi-language interface
🏢 Enterprise Edition (Paid)
  • ⭐ All Community features PLUS:
  • ⭐ محرك OCR (مسح المستندات الورقية → نص قابل للبحث)
  • ⭐ Barcode recognition
  • ⭐ LDAP / Active Directory integration
  • ⭐ Visual workflow designer (BPMN)
  • ⭐ Email capture & archiving
  • ⭐ Digital signatures
  • ⭐ Report generator
  • ⭐ Record management
  • ⭐ Database records module
  • ⭐ تكامل MS Office / LibreOffice
  • ⭐ Stamp/watermark
  • ⭐ دعم رسمي واتفاقية مستوى الخدمة SLA
  • ⭐ Training & consulting
Community
$0
المحترف
~$4,000/yr
Enterprise
~$8,000–$15,000/yr
⚔️ COMPARISON

OpenKM مقابل البدائل

Feature🔵 OpenKM (مجاني)🟢 Alfresco (مجاني)🟠 SharePoint🔴 M-Files🟣 DocuWare
Cost$0$0 (نسخة المجتمع CE)$5–$23/مستخدم/شهر$39 أو أكثر/مستخدم/شهرCustom ($$$)
مفتوح المصدر✅ GPL v2✅ LGPL❌❌❌
Self-Hosted✅✅⚠️ On-prem option (expensive)⚠️ Both❌ Cloud only
Full-Text Search✅ Lucene✅ Solr✅✅✅
Version Control✅✅✅✅✅
Workflow✅ Basic (Ent: BPMN)✅ Activiti✅ Power Automate✅✅
OCR⭐ Enterprise only⭐ Enterprise onlyVia add-on✅✅
API✅ REST + SOAP + WebDAV✅ REST + CMIS✅ Graph API✅✅
منحنى التعلّممتوسطمتوسط إلى مرتفعHigh (complex)متوسطمتوسط
Data Ownership✅ 100% yours✅ 100% yours❌ Microsoft servers⚠️ Depends❌ Cloud
💡 When to Choose OpenKM

Choose OpenKM when: you need a straightforward DMS that's easy to deploy, you want full data control (self-hosted), you have a modest budget, and you need strong search and version control. Choose Alfresco when: you need heavier ECM features (records management, complex workflows) and have Java developers. Avoid SharePoint when: you're not already deep in the Microsoft ecosystem — it's complex, expensive, and locks you in.

🏢 USE CASES

Who Uses OpenKM and How?

⚖️

Law Firms

Case files, contracts, court documents, client correspondence. Search across thousands of cases in seconds. Version-controlled legal drafts. Retention policies for compliance.

🏥

الرعاية الصحية

سجلات المرضى، ونتائج المختبر، والصور الطبية، ووثائق الامتثال. ضوابط وصول متوافقة مع HIPAA. سجلات تدقيق للامتثال التنظيمي. مشاركة آمنة بين الأقسام.

🏛️

Government

Citizen records, permits, legislative documents, internal memos. Freedom of information request management. Long-term archiving with retention policies.

🏭

التصنيع

ISO quality documents, SOPs, engineering drawings, supplier contracts. Version-controlled manuals. Workflow for document approval processes.

🎓

التعليم

Research papers, theses, administrative documents, student records. Academic publishing workflows. Library document archives.

💰

Finance & Accounting

Invoices, receipts, tax documents, financial reports. OCR scans paper invoices into searchable records. Audit-ready document trails.

🏗️

Construction & Engineering

Project plans, blueprints, RFIs, change orders, safety documents. Large file handling. Collaborative review and markup.

👥

HR Departments

Employee files, contracts, evaluations, training records, policy documents. Secure access per employee. Automated onboarding document workflows.

🕌

المساجد والمؤسسات الإسلامية

Fatwa archives, donation records, event documents, membership files, educational materials. Organize years of institutional knowledge searchably.

🌍 Real Deployment: Spanish Government Agency

انتقلت جهة حكومية إقليمية في إسبانيا من غرف الملفات الورقية (أكثر من 200,000 مستند) إلى OpenKM. استغرق مشروع الرقمنة 6 أشهر. النتيجة: المستندات التي كان العثور عليها يستغرق 30–60 دقيقة للعثور على now take 5 seconds. استغنوا عن 3 غرف أرشيف ورقي، موفرين €40,000/year in storage rent alone. Citizen requests that took weeks now get answered in hours.

🏭 Real Deployment: Manufacturing Company (Italy)

استخدمت شركة تصنيع إيطالية حاصلة على شهادة ISO 9001 برنامج OpenKM لإدارة وثائق الجودة. سابقًا، كان كل تدقيق ISO يتطلب أسابيع من التحضير لجمع المستندات المبعثرة بين خوادم الملفات والبريد الإلكتروني والخزائن الورقية. مع OpenKM، انخفض وقت التحضير للتدقيق من من 3 أسابيع إلى 2 يوم. استطاع المدقّق البحث عن المستندات والتحقق منها لحظيًا أثناء عملية التدقيق نفسها.

💡 SUCCESS TIPS

تهيئة OpenKM لمؤسستك

✅ 1. Design Your Folder Structure FIRST

Before uploading a single document, plan your folder hierarchy. Most organizations use: Department → Year → Document Type (مثل /Finance/2024/Invoices/). أو: Client → Project → Phase (مثل /ClientA/ProjectX/Design/). يصعب تغيير بنية مجلدات سيئة لاحقًا — استثمر الوقت من البداية.

✅ 2. Use Metadata, Not Just Folders

Folders are limited — a document can only be in ONE folder. But metadata is unlimited — tag a document as "Invoice" + "ClientA" + "2024" + "Paid" + "€5,000" → now you can search by ANY of those fields. Use OpenKM's Property Groups (مخططات بيانات وصفية مخصّصة) لتصنيف المستندات بشكل صحيح. هذا ما يميّز نظام إدارة المستندات عن خادم الملفات.

✅ 3. Set Up Naming Conventions

Enforce consistent file naming: DATE_TYPE_DESCRIPTION.ext (مثل "2024-03-15_Invoice_ClientA_March.pdf"). يجعل هذا المستندات قابلة للترتيب والبحث والفهم حتى خارج OpenKM. وثّق قواعد التسمية لديك ودرّب فريقك.

✅ 4. Configure Permissions Early

Before adding users, plan your permission structure. Who can see what? Can interns see financial documents? Can clients access their project folder? Use roles (وليس صلاحيات كل مستخدم على حدة) — فهذا أسهل بكثير في الإدارة. فكّر: «ماذا ينبغي أن يرى الموظف الجديد في يومه الأول؟»

✅ 5. Automate What You Can

Use OpenKM's automation rules: auto-file emails to correct folders based on sender. Auto-assign metadata based on document type. Auto-notify managers when contracts expire. Workflow for document approval. The more you automate, the less human error you get.

✅ 6. Train Your Users

The #1 reason DMS implementations fail: users weren't trained and revert to old habits (email attachments, desktop folders, USB drives). Run a 2-hour training session. Create a "Quick Start Guide" PDF. Appoint a "Document Champion" in each department. Resistance to change is the real enemy — not the software.

🔗 التكاملات

OpenKM يتصل بكل شيء

📧

Email (IMAP/SMTP)

Archive emails automatically. Capture attachments as documents.

📝

LibreOffice / MS Office

Edit documents directly in your office suite. Check out → edit → check in.

🔍

OCR (Tesseract)

Enterprise: scan paper → searchable PDF. Uses open-source Tesseract engine.

🔐

LDAP / Active Directory

Enterprise: single sign-on with your existing directory. Sync users automatically.

💼

ERP (Odoo, SAP)

Attach documents to ERP records. Link invoices to purchase orders.

🤖

n8n / Zapier

Automate document workflows with external triggers via REST API.

📊

Reporting Tools

Enterprise: generate reports from document metadata. Custom dashboards.

📱

Mobile / WebDAV

الوصول من أي جهاز. وصّله كمحرك شبكة على الحاسوب المكتبي.

🔌 قوة REST API

تعني واجهة REST API في OpenKM أنك تستطيع ربطه حرفيًا بأي نظام. يمكن لبرنامج Python رفع الفواتير من البريد تلقائيًا. ويمكن لتطبيق ويب البحث في مستندات OpenKM. ويمكن لنظام ERP تخزين أوامر الشراء فيه. ويمكن لتطبيق هاتف مسح الإيصالات وحفظها. واجهة API هي القوة الخارقة للتكامل.

📄🔍🏢

Your Documents. منظم. Searchable. Yours.

يحوّل OpenKM فوضى الملفات المتناثرة إلى مكتبة رقمية منظمة وآمنة وقابلة للبحث. لا مزيد من العقود الضائعة. ولا إصدارات خاطئة. ولا بحث عن مستند يستغرق 30 دقيقة. كل ما أنشأته مؤسستك — تجده في ثوانٍ، وتتحكم فيه، وتملكه.

📁
منظم
🔍
Searchable
🔐
آمن
🔓
مفتوح المصدر

«وَأَلَنَّا لَهُ الْحَدِيدَ»

يليّن OpenKM صلابة فوضى المستندات ليحوّلها إلى معرفة منظمة. عندما تُدار مستنداتك، تصبح مؤسستك أقوى. ✨