|
1 | | -<div align="center"> |
2 | | - <img src="resources/icon.jpg" alt="API Documenter Logo" width="128" /> |
3 | | - |
4 | | - # API Documenter |
5 | | - ### The Professional Self-Hosted API Ecosystem |
6 | | - |
7 | | - **Postman Power + Enterprise Control + 100% Data Ownership.** |
8 | | - |
9 | | - [](LICENSE) |
10 | | - [](package.json) |
11 | | - [](CONTRIBUTING.md) |
12 | | - [](#) |
13 | | -</div> |
14 | | - |
15 | | ---- |
16 | | - |
17 | | -## 🌟 The Vision |
18 | | - |
19 | | -**API Documenter** is more than just an API client; it is a complete **Documentation and Testing Ecosystem**. It was built for engineering teams that cannot compromise on data privacy or reliability. While existing tools force your sensitive API keys and internal endpoints onto their cloud, API Documenter keeps your data exactly where it belongs: **on your machine and in your private database.** |
20 | | - |
21 | | ---- |
22 | | - |
23 | | -## 🚀 Master Feature Suite |
24 | | - |
25 | | -### 1. 📂 Folder-Level RBAC (Enterprise Security) |
26 | | -The first self-hosted tool to offer granular, folder-level **Role Based Access Control**. |
27 | | -- **Admins**: Manage project connections, deployment settings, and global team permissions. |
28 | | -- **Editors**: Create and modify endpoints within specific folders they have access to. |
29 | | -- **Viewers**: Access real-time documentation and test endpoints without risk of modifying team data. |
30 | | -- **Team Isolation**: Different members can have different roles on different folders within the same project. |
31 | | - |
32 | | -### 2. 📝 Advanced Documentation Engine |
33 | | -A dedicated workspace for crafting beautiful, production-ready API documentation. |
34 | | -- **Markdown-Native**: Write documentation using standard Markdown with real-time side-by-side preview. |
35 | | -- **Smart Components**: Insert **Smart Table of Contents**, **Page Breaks**, and dynamic code blocks. |
36 | | -- **Built-in PDF Compilation**: Export high-fidelity A4 documentation PDFs using a built-in Chromium engine (no external Chrome dependency required). |
37 | | -- **Distraction-Free Mode**: Collapse all sidebars and toolbars to focus purely on the content. |
38 | | - |
39 | | -### 3. 🔄 Advanced Database Synchronization |
40 | | -Bypass the proprietary cloud and sync directly with your own infrastructure. |
41 | | -- **Native Support**: Direct integration with **MySQL** and **PostgreSQL**. |
42 | | -- **Vercel Proxy Bridge**: One-click deployment of a secure RBAC proxy. Your database credentials stay encrypted in Vercel environment variables—never stored on user machines. |
43 | | -- **Real-Time Connectivity**: Instantly syncs changes across team members while maintaining an offline-first cache for zero-latency editing. |
44 | | -- **Smart Error Recovery**: Robust handling for VPN/Firewall interruptions with detailed connection error reporting and one-click retry. |
45 | | - |
46 | | -### 4. ⚡ High-Performance Request Engine |
47 | | -A testing suite built for speed and precision. |
48 | | -- **Complete Method Support**: GET, POST, PUT, DELETE, PATCH, and OPTIONS. |
49 | | -- **Variable Injection**: Multi-environment support with dynamic variable substitution in URLs, Headers, and Bodies. |
50 | | -- **Response Analytics**: Real-time benchmarks for execution time, payload size, and status codes. |
51 | | -- **Rich Body Support**: JSON (with syntax highlighting), Key-Value pairs, and raw text. |
52 | | - |
53 | | -### 5. 🎨 Aesthetic & Ergonomic UI |
54 | | -Designed for developers who spend 8+ hours a day in their tools. |
55 | | -- **Premium Monochrome Design**: A sleek, glassmorphic dark-mode interface that reduces eye strain. |
56 | | -- **Dynamic Font Scaling**: Global font scaling (10px to 20px) ensures accessibility and comfort on any display density. |
57 | | -- **Zero-Flicker Performance**: Optimized React components and IndexedDB caching for a snappy, native feel. |
58 | | - |
59 | | ---- |
60 | | - |
61 | | -## 🛠️ Technical Architecture |
62 | | - |
63 | | -API Documenter is engineered with a **Security-First** mindset: |
64 | | - |
65 | | -- **Frontend**: React 18 & TypeScript for type-safe UI logic. |
66 | | -- **Desktop Layer**: Electron with a hardened IPC bridge. |
67 | | -- **Local Persistence**: **Dexie.js (IndexedDB)** for ultra-fast, offline-first data storage. |
68 | | -- **Remote Bridge**: A serverless **Node.js Proxy** (deployed to Vercel) that handles DB pooling and RBAC authorization without exposing internal ports. |
69 | | -- **State Engine**: **Zustand** for lightweight UI state and **React Query** for robust server-state synchronization. |
70 | | - |
71 | | ---- |
72 | | - |
73 | | -## 📦 Installation & Setup |
74 | | - |
75 | | -### For Developers |
76 | | - |
77 | | -1. **Clone the repository:** |
78 | | - ```bash |
79 | | - git clone https://github.com/PraneethKulukuri26/API-Documenter.git |
80 | | - cd API-Documenter |
81 | | - ``` |
82 | | - |
83 | | -2. **Install dependencies:** |
84 | | - ```bash |
85 | | - npm install |
86 | | - ``` |
87 | | - |
88 | | -3. **Start Development:** |
89 | | - ```bash |
90 | | - npm run dev |
91 | | - ``` |
92 | | - |
93 | | -4. **Package for Distribution:** |
94 | | - ```bash |
95 | | - npm run build:win # Windows |
96 | | - npm run build:mac # macOS |
97 | | - ``` |
98 | | - |
99 | | ---- |
100 | | - |
101 | | -## 🛡️ Privacy Commitment |
102 | | - |
103 | | -**Your data is yours.** API Documenter does not track your requests, store your passwords, or upload your documentation to external servers. All team collaboration happens through **your** database and **your** Vercel account. |
104 | | - |
105 | | ---- |
106 | | - |
107 | | -<div align="center"> |
108 | | - Built for the community by <a href="https://github.com/PraneethKulukuri26">Praneeth Kulukuri</a> |
109 | | -</div> |
| 1 | +<div align="center"> |
| 2 | + <img src="resources/icon.jpg" alt="API Documenter Logo" width="128" /> |
| 3 | + |
| 4 | + # API Documenter |
| 5 | + ### The Professional Self-Hosted API Ecosystem |
| 6 | + |
| 7 | + **Postman Power + Enterprise Control + 100% Data Ownership.** |
| 8 | + |
| 9 | + [](LICENSE) |
| 10 | + [](package.json) |
| 11 | + [](CONTRIBUTING.md) |
| 12 | + [](#) |
| 13 | +</div> |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +## 🌟 The Vision |
| 18 | + |
| 19 | +**API Documenter** is more than just an API client; it is a complete **Documentation, Testing, and Collaboration Ecosystem**. It was built for engineering teams that cannot compromise on data privacy or reliability. While existing tools force your sensitive API keys and internal endpoints onto their cloud, API Documenter keeps your data exactly where it belongs: **on your machine, in your Git repository, and in your private database.** |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## 🤝 The Developer-Friendly Philosophy (Inspired by Bruno) |
| 24 | + |
| 25 | +Why do developers love tools like Bruno? Because **transparency matters**. |
| 26 | + |
| 27 | +In API Documenter, there are **no opaque cloud synchronization engines** holding your data hostage. Everything you create is stored locally as plain text (`.apidoc`, `.folder`, `.json`) in a transparent, easily readable folder structure. |
| 28 | + |
| 29 | +- **Pure Git Control:** Because your APIs are just files in a folder, you can use your standard Git workflows. Branch, commit, review, and merge your API specs right alongside your backend code. |
| 30 | +- **No Forced Cloud Backend:** We don't force you onto a proprietary cloud. You own your data. |
| 31 | +- **Direct File Editing:** You can open your API workspace in VS Code, modify a `.apidoc` file by hand, and the API Documenter UI instantly reflects the change. |
| 32 | + |
| 33 | +**The API Documenter Advantage:** We take this developer-friendly, transparent, local-first philosophy and superpower it for Enterprise Teams by adding **Folder-Level RBAC** and **Hybrid Database Sync**. You get the transparency of local files *plus* the collaboration power of a team workspace. |
| 34 | + |
| 35 | +--- |
| 36 | + |
| 37 | +## 🚀 Master Feature Suite |
| 38 | + |
| 39 | +### 1. 📂 Folder-Level RBAC (Enterprise Security) |
| 40 | +The first self-hosted tool to offer granular, folder-level **Role Based Access Control** via a secure Proxy Server. |
| 41 | +- **Admins**: Full access. Manage project connections, global variables, and assign team permissions. |
| 42 | +- **Editors**: Can read, write, and modify endpoints within specific folders they are assigned to, but cannot delete destructive entities. |
| 43 | +- **Viewers**: Read-only access to view documentation and test endpoints without the risk of modifying team data. |
| 44 | +- **Team Isolation**: Complete isolation between projects and selective folder visibility. |
| 45 | + |
| 46 | +### 2. 📝 Advanced Documentation Engine |
| 47 | +A dedicated workspace for crafting beautiful, production-ready API documentation. |
| 48 | +- **Markdown-Native**: Write documentation using standard Markdown with real-time side-by-side preview. |
| 49 | +- **Smart Components**: Insert **Smart Table of Contents**, **Page Breaks**, and dynamic code blocks. |
| 50 | +- **Built-in PDF Compilation**: Export high-fidelity A4 documentation PDFs using a built-in Chromium engine (no external Chrome dependency required). |
| 51 | + |
| 52 | +### 3. 🔄 Advanced Database Synchronization & Offline Mode |
| 53 | +Bypass the proprietary cloud and sync directly with your own infrastructure. |
| 54 | +- **Native Support**: Direct integration with **MySQL** and **PostgreSQL**. |
| 55 | +- **Offline-First Queue**: Make changes offline. The app automatically queues creations, modifications, and deletions into a robust `sync_queue`. |
| 56 | +- **Smart Conflict Resolution**: When coming back online, the app seamlessly deduplicates events, auto-resolves identical deletions, and gracefully handles `update-update` and `delete-update` conflicts with a beautiful UI. |
| 57 | +- **Vercel Proxy Bridge**: One-click deployment of a secure RBAC proxy. Your database credentials stay encrypted in Vercel environment variables—never stored on user machines. |
| 58 | + |
| 59 | +### 4. 🌿 Git Integration (Version Control) |
| 60 | +True version control for your API documentation. |
| 61 | +- **Local File Watcher**: Seamlessly tracks changes across `.apidoc`, `.folder`, and `.json` schema files. |
| 62 | +- **Branch Management**: Create, switch, and sync branches directly from the application. |
| 63 | +- **Commit & Discard**: Commit your API states locally or discard un-staged changes with ease. |
| 64 | + |
| 65 | +### 5. ⚡ High-Performance Request Engine |
| 66 | +A testing suite built for speed and precision. |
| 67 | +- **Complete Method Support**: GET, POST, PUT, DELETE, PATCH, and OPTIONS. |
| 68 | +- **Variable Injection**: Multi-environment support with dynamic variable substitution in URLs, Headers, and Bodies. Manage **Global** vs. **Folder-level** environment scopes. |
| 69 | +- **Response Analytics**: Real-time benchmarks for execution time, payload size, and status codes. |
| 70 | +- **Rich Body Support**: JSON (with syntax highlighting), Key-Value pairs, FormData, and raw text. |
| 71 | + |
| 72 | +### 6. 🎨 Aesthetic & Ergonomic UI |
| 73 | +Designed for developers who spend 8+ hours a day in their tools. |
| 74 | +- **Premium Monochrome Design**: A sleek, glassmorphic dark-mode interface that reduces eye strain. |
| 75 | +- **Dynamic Font Scaling**: Global font scaling (10px to 20px) ensures accessibility and comfort on any display density. |
| 76 | +- **Zero-Flicker Performance**: Optimized React components and IndexedDB caching for a snappy, native feel. |
| 77 | + |
| 78 | +--- |
| 79 | + |
| 80 | +## 🛠️ Technical Architecture |
| 81 | + |
| 82 | +API Documenter is engineered with a **Security-First** mindset: |
| 83 | + |
| 84 | +- **Frontend**: React 18 & TypeScript for type-safe UI logic. |
| 85 | +- **Desktop Layer**: Electron with a hardened IPC bridge. |
| 86 | +- **Local Persistence**: **Dexie.js (IndexedDB)** for ultra-fast, offline-first data storage. |
| 87 | +- **Remote Bridge**: A serverless **Node.js Proxy** (deployed to Vercel) that handles DB pooling and RBAC authorization without exposing internal ports. |
| 88 | +- **State Engine**: **Zustand** for lightweight UI state and **React Query** for robust server-state synchronization. |
| 89 | + |
| 90 | +> 💡 **For a deep dive into the folder structure, Git integration, and Sync Queue engine, please read our comprehensive [Developer Guide](DEVELOPER.md).** |
| 91 | +
|
| 92 | +--- |
| 93 | + |
| 94 | +## 📦 Installation & Setup |
| 95 | + |
| 96 | +### For Developers |
| 97 | + |
| 98 | +1. **Clone the repository:** |
| 99 | + ```bash |
| 100 | + git clone https://github.com/PraneethKulukuri26/API-Documenter.git |
| 101 | + cd API-Documenter |
| 102 | + ``` |
| 103 | + |
| 104 | +2. **Install dependencies:** |
| 105 | + ```bash |
| 106 | + npm install |
| 107 | + ``` |
| 108 | + |
| 109 | +3. **Start Development:** |
| 110 | + ```bash |
| 111 | + npm run dev |
| 112 | + ``` |
| 113 | + |
| 114 | +4. **Package for Distribution:** |
| 115 | + ```bash |
| 116 | + npm run build:win # Windows |
| 117 | + npm run build:mac # macOS |
| 118 | + ``` |
| 119 | + |
| 120 | +--- |
| 121 | + |
| 122 | +## 🛡️ Privacy Commitment |
| 123 | + |
| 124 | +**Your data is yours.** API Documenter does not track your requests, store your passwords, or upload your documentation to external servers. All team collaboration happens through **your** database and **your** Vercel account. |
| 125 | + |
| 126 | +--- |
| 127 | + |
| 128 | +<div align="center"> |
| 129 | + Built for the community by <a href="https://github.com/PraneethKulukuri26">Praneeth Kulukuri</a> |
| 130 | +</div> |
0 commit comments