You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PaperDebugger is an AI-powered academic writing assistant that helps researchers debug and improve their LaTeX papers.
3
+
<divalign="center">
4
+
<imgsrc="https://img.shields.io/chrome-web-store/users/dfkedikhakpapbfcnbpmfhpklndgiaog?label=Users"alt="Chrome Web Store Users"/>
5
+
<imgsrc="https://img.shields.io/chrome-web-store/v/dfkedikhakpapbfcnbpmfhpklndgiaog?label=Chrome%20Web%20Store&logo=google-chrome&logoColor=white"alt="Chrome Web Store Version"/>
**PaperDebugger** is an AI-powered academic writing assistant that helps researchers debug and improve their LaTeX papers with intelligent suggestions and seamless Overleaf integration.
12
+
13
+
<divalign="center">
14
+
<a href="https://chromewebstore.google.com/detail/paperdebugger/dfkedikhakpapbfcnbpmfhpklndgiaog"><strong>🚀 Install from Chrome Web Store</strong></a> • <a href="https://github.com/PaperDebugger/paperdebugger/releases/latest"><strong>📦 Download Latest Release</strong></a>
[**Install from Chrome Web Store**](https://chromewebstore.google.com/detail/paperdebugger/dfkedikhakpapbfcnbpmfhpklndgiaog) or [**Download Building Artifacts v2.9.8**](https://github.com/PaperDebugger/paperdebugger/actions/runs/17276722242/artifacts/3866902136)
37
+
PaperDebugger never modifies your project, it only reads and provides suggestions.
6
38
7
-
## Overview
8
-
The PaperDebugger backend is built with:
39
+
-**🤖 AI-Powered Chat**: Intelligent conversations about your Overleaf project
40
+
-**⚡ Instant Insert**: One-click insertion of AI responses into your project
41
+
-**💬 Comment System**: Automatically generate and insert comments into your project
42
+
-**📚 Prompt Library**: Custom prompt templates for different use cases
43
+
-**🔒 Privacy First**: Your content stays secure - we only read, never modify
If you want to use a **self-hosted** PaperDebugger backend, you can configure a custom endpoint. **Note**: You need to handle HTTPS serving yourself, as Chrome blocks HTTP requests from HTTPS websites for security reasons.
31
69
32
-
## Prerequisites
70
+
**Steps:**
71
+
1. Open the PaperDebugger extension
72
+
2. Go to Settings, click the version number 5 times to enable "Developer Tools" (a.)
73
+
3. Enter your backend URL in the "Backend Endpoint" field (b.)
74
+
4. Refresh the page
75
+
76
+
If you encounter endpoint errors after refresh, use the "Advanced Options" at the bottom of the login page to reconfigure.
docker run -d --name mongodb -p 27017:27017 mongo:latest
72
137
```
73
138
74
-
### 3. Setting up environments
75
-
139
+
#### 3. Environment Configuration
76
140
```bash
77
141
cp .env.example .env
78
-
#edit the .env file based on your condition
142
+
#Edit the .env file based on your configuration
79
143
```
80
144
81
-
### 4. Build and Run
82
-
145
+
#### 4. Build and Run
83
146
```bash
84
147
# Build the backend
85
148
make build
149
+
86
150
# Run the backend server
87
151
./dist/pd.exe
88
152
```
89
153
90
154
The server will start on `http://localhost:6060`.
91
155
92
-

156
+
<divalign="center">
157
+
<imgsrc="docs/imgs/run.png"alt="Backend Server Running"style="max-width: 600px; border-radius: 8px; box-shadow: 04px12pxrgba(0,0,0,0.15);"/>
158
+
</div>
93
159
160
+
### Frontend Extension Build
94
161
95
-
## Frontend Extension Build
96
-
97
-
### Chrome Extension
162
+
#### Chrome Extension Development
98
163
```bash
99
164
cd webapp/_webapp
100
165
@@ -104,24 +169,14 @@ npm install
104
169
# Build for production (connects to production server)
105
170
npm run build:prd:chrome
106
171
107
-
#The extension files will be in dist/
172
+
#Package the extension
108
173
cd dist
109
174
zip -r paperdebugger-extension.zip *
110
175
```
111
176
112
-
### Installing the Extension
177
+
####Installing the Development Extension
113
178
1. Open Chrome and navigate to `chrome://extensions/`
114
-
2. Enable "Developer mode"
115
-
3. Click "Load unpacked" and select the `webapp/_webapp/dist` directory, or drag the `paperdebugger-extension.zip` file into the extensions page
116
-
117
-
## Custom Endpoint Configuration
118
-
119
-
If you want to use a self-hosted PaperDebugger backend, you should set up a Custom Endpoint. Please note that you need to handle HTTPS serving yourself, as Chrome blocks HTTP requests from HTTPS websites for security reasons.
120
-
121
-
To configure a custom endpoint:
122
-
1. Open the PaperDebugger extension
123
-
2. Go to Settings, click `version number` 5 times to enable "Developer Tools"
124
-
3. Enter your backend URL in the "Backend Endpoint" field
125
-
4. Refresh the page
179
+
2. Enable "Developer mode" (toggle in top-right)
180
+
3. Click "Load unpacked" and select the `webapp/_webapp/dist` directory
181
+
- Or drag the `paperdebugger-extension.zip` file into the extensions page
126
182
127
-
If you encounter endpoint errors after refresh, use the "Advanced Options" at the bottom of the login page to reconfigure the endpoint.
0 commit comments