@upsnap/strapi 1.0.0 β 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -199
- package/dist/admin/App--pwy8mra.js +10593 -0
- package/dist/admin/App-CCHfDIjc.mjs +10588 -0
- package/dist/admin/en-B4KWt_jN.js +4 -0
- package/dist/admin/en-Byx4XI2L.mjs +4 -0
- package/dist/admin/index.js +65 -0
- package/dist/admin/index.mjs +65 -0
- package/dist/admin/src/index.d.ts +10 -0
- package/dist/server/index.js +1082 -0
- package/dist/server/index.mjs +1082 -0
- package/dist/server/src/index.d.ts +133 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -1,245 +1,110 @@
|
|
|
1
|
-
#
|
|
1
|
+
# UpSnap
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A lightweight, all-in-one monitoring plugin for Strapi that keeps your site healthy, secure, and fast.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Description
|
|
6
|
+
UpSnap delivers real-time monitoring and actionable insights so you can detect downtime, performance issues, and security risks before they impact your users.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## Core Monitoring Features
|
|
9
|
+
π Reachability monitoring with uptime tracking, response times, HTTP status checks, and historical trends
|
|
10
|
+
π SSL/TLS certificate validation with expiry alerts and security checks
|
|
11
|
+
π Broken link scanning for internal and external URLs
|
|
12
|
+
π Google Lighthouse analysis with Performance, Accessibility, Best Practices, and SEO scores
|
|
13
|
+
π Domain health checks including DNS validation and expiry monitoring
|
|
14
|
+
π Mixed content detection to identify insecure resources on HTTPS pages
|
|
8
15
|
|
|
9
16
|
---
|
|
10
17
|
|
|
11
|
-
##
|
|
18
|
+
## π Multi-Region Monitoring
|
|
19
|
+
Monitor your website from multiple global locations to detect regional downtime, latency issues, and real user impact across different geographies.
|
|
12
20
|
|
|
13
|
-
|
|
14
|
-
|
|
21
|
+
## π‘ Public Status Page Monitoring
|
|
22
|
+
Create and share public status pages to display uptime, performance history, and live monitoring stats with your users or clients.
|
|
15
23
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
β Visual health dashboard inside Strapi
|
|
19
|
-
β Built for Strapi v5 architecture
|
|
24
|
+
## π¨ Incidents Lists & Reporting
|
|
25
|
+
Track monitoring incidents with detailed timelines, status history, recovery tracking, and per-monitor reporting for better visibility and troubleshooting.
|
|
20
26
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
yarn add @upsnap/strapi
|
|
35
|
-
```
|
|
27
|
+
## π Rich Notification Integrations
|
|
28
|
+
Get real-time alerts through multiple channels:
|
|
29
|
+
Email
|
|
30
|
+
Slack
|
|
31
|
+
Discord
|
|
32
|
+
SMS
|
|
33
|
+
Telegram
|
|
34
|
+
Google Chat
|
|
35
|
+
Microsoft Teams
|
|
36
|
+
Webhooks
|
|
37
|
+
PagerDuty
|
|
38
|
+
Zapier
|
|
39
|
+
β¦and more integrations coming soon.
|
|
36
40
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
npm run develop
|
|
41
|
-
```
|
|
41
|
+
## π Website Monitoring
|
|
42
|
+
Comprehensive website health monitoring including availability, performance checks, SSL status, and content integrity monitoring in one place.
|
|
42
43
|
|
|
43
|
-
|
|
44
|
+
**UpSnap** helps Strapi developers, agencies, and site owners maintain reliable, secure, and high-performing websites - all from a simple, integrated dashboard.
|
|
44
45
|
|
|
45
46
|
---
|
|
46
47
|
|
|
47
|
-
##
|
|
48
|
-
|
|
48
|
+
## Requirements
|
|
49
49
|
- Strapi v5.x
|
|
50
|
-
-
|
|
50
|
+
- Nodejs ">=18.0.0 <=22.x.x"
|
|
51
51
|
- React 18 (provided by Strapi)
|
|
52
52
|
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## π Features
|
|
56
53
|
|
|
57
|
-
|
|
58
|
-
- HTTP status validation
|
|
59
|
-
- Response time measurement
|
|
60
|
-
- Availability tracking
|
|
61
|
-
|
|
62
|
-
### π SSL Certificate Monitoring
|
|
63
|
-
- Expiry date detection
|
|
64
|
-
- Certificate validity checks
|
|
65
|
-
- Security warnings
|
|
66
|
-
|
|
67
|
-
### π Broken Link Detection
|
|
68
|
-
- Internal link scanning
|
|
69
|
-
- External link validation
|
|
70
|
-
- Dead link reporting
|
|
71
|
-
|
|
72
|
-
### β‘ Performance Health
|
|
73
|
-
- Server response analysis
|
|
74
|
-
- Latency tracking
|
|
75
|
-
- Basic performance indicators
|
|
76
|
-
|
|
77
|
-
### π‘ Mixed Content Detection
|
|
78
|
-
- HTTP resources inside HTTPS pages
|
|
79
|
-
- Security vulnerability detection
|
|
80
|
-
|
|
81
|
-
### π Clean Admin Dashboard
|
|
82
|
-
- Real-time monitoring overview
|
|
83
|
-
- Status visualization
|
|
84
|
-
- Health summary per domain
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
## π§ How It Works
|
|
89
|
-
|
|
90
|
-
Upsnap performs secure server-side checks:
|
|
91
|
-
|
|
92
|
-
1. Fetches target domain
|
|
93
|
-
2. Validates HTTP status
|
|
94
|
-
3. Inspects SSL certificate
|
|
95
|
-
4. Scans DOM for broken links
|
|
96
|
-
5. Detects mixed content
|
|
97
|
-
6. Measures response metrics
|
|
98
|
-
|
|
99
|
-
All results are aggregated and displayed within Strapi's admin interface.
|
|
100
|
-
|
|
101
|
-
---
|
|
102
|
-
|
|
103
|
-
## π§ Configuration
|
|
104
|
-
|
|
105
|
-
After installation:
|
|
106
|
-
|
|
107
|
-
1. Go to **Settings β Plugins β Upsnap**
|
|
108
|
-
2. Add your target domains
|
|
109
|
-
3. Configure monitoring options
|
|
110
|
-
4. Save and start monitoring
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
## π Use Cases
|
|
115
|
-
|
|
116
|
-
- SaaS platforms managing multiple domains
|
|
117
|
-
- Agencies maintaining client websites
|
|
118
|
-
- DevOps monitoring dashboards
|
|
119
|
-
- Enterprise content systems
|
|
120
|
-
- Website audit automation
|
|
121
|
-
|
|
122
|
-
---
|
|
123
|
-
|
|
124
|
-
## π Development
|
|
54
|
+
## π¦ Installation
|
|
125
55
|
|
|
126
|
-
|
|
56
|
+
Install via npm:
|
|
127
57
|
|
|
128
58
|
```bash
|
|
129
|
-
|
|
59
|
+
npm install @upsnap/strapi
|
|
130
60
|
```
|
|
131
61
|
|
|
132
|
-
|
|
62
|
+
or via yarn:
|
|
133
63
|
|
|
134
64
|
```bash
|
|
135
|
-
|
|
65
|
+
yarn add @upsnap/strapi
|
|
136
66
|
```
|
|
137
67
|
|
|
138
|
-
|
|
68
|
+
Enable it in confing/plugins:
|
|
139
69
|
|
|
140
70
|
```bash
|
|
141
|
-
|
|
71
|
+
upsnap: {
|
|
72
|
+
enabled: true,
|
|
73
|
+
}
|
|
142
74
|
```
|
|
143
75
|
|
|
144
|
-
|
|
76
|
+
Restart Strapi:
|
|
145
77
|
|
|
146
78
|
```bash
|
|
147
|
-
npm run
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
## π Project Structure
|
|
153
|
-
|
|
154
|
-
```
|
|
155
|
-
/admin β Admin UI (React)
|
|
156
|
-
/server β Backend logic
|
|
157
|
-
/dist β Compiled output (published to npm)
|
|
79
|
+
npm run develop
|
|
158
80
|
```
|
|
159
81
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
## π Security
|
|
163
|
-
|
|
164
|
-
- Runs server-side within Strapi
|
|
165
|
-
- No external tracking
|
|
166
|
-
- No third-party data storage
|
|
167
|
-
- Respects Strapi permission system
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
## π§© Compatibility
|
|
172
|
-
|
|
173
|
-
| Strapi Version | Supported |
|
|
174
|
-
|----------------|------------|
|
|
175
|
-
| v5.x | β
Yes |
|
|
176
|
-
| v4.x | β No |
|
|
177
|
-
|
|
178
|
-
---
|
|
179
|
-
|
|
180
|
-
## π§ͺ Production Readiness
|
|
181
|
-
|
|
182
|
-
- Built using Strapi Plugin SDK
|
|
183
|
-
- Peer dependency aligned with Strapi v5
|
|
184
|
-
- TypeScript support
|
|
185
|
-
- Modular architecture
|
|
186
|
-
- Designed for scalability
|
|
187
|
-
|
|
188
|
-
---
|
|
189
|
-
|
|
190
|
-
## π License
|
|
191
|
-
|
|
192
|
-
MIT License
|
|
193
|
-
|
|
194
|
-
---
|
|
195
|
-
|
|
196
|
-
## π¨βπ» Author
|
|
197
|
-
|
|
198
|
-
**Appfoster**
|
|
199
|
-
Website: https://upsnap.ai
|
|
200
|
-
Email: support@upsnap.ai
|
|
201
|
-
|
|
202
|
-
---
|
|
203
|
-
|
|
204
|
-
## π Roadmap
|
|
205
|
-
|
|
206
|
-
- Scheduled monitoring (cron-based)
|
|
207
|
-
- Email / Slack alerts
|
|
208
|
-
- Historical monitoring logs
|
|
209
|
-
- Public status page integration
|
|
210
|
-
- Performance scoring system
|
|
211
|
-
|
|
212
|
-
---
|
|
213
|
-
|
|
214
|
-
## π€ Contributing
|
|
215
|
-
|
|
216
|
-
Contributions are welcome.
|
|
82
|
+
Upsnap will appear in your admin sidebar.
|
|
217
83
|
|
|
218
|
-
|
|
219
|
-
2. Create your feature branch
|
|
220
|
-
3. Commit changes
|
|
221
|
-
4. Open a pull request
|
|
84
|
+
## π§ Configuration
|
|
222
85
|
|
|
223
|
-
|
|
86
|
+
## Quick Setup Guide
|
|
224
87
|
|
|
225
|
-
|
|
88
|
+
After installing the plugin and restarting Strapi:
|
|
226
89
|
|
|
227
|
-
|
|
90
|
+
1. Go to **Upsnap β Settings β API Token**
|
|
91
|
+
Add your API Token from https://upsnap.ai website
|
|
228
92
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
- Submit feature requests
|
|
232
|
-
- Report issues
|
|
93
|
+
2. Add a new monitor
|
|
94
|
+
or select a primary monitor if one is already created
|
|
233
95
|
|
|
234
|
-
|
|
96
|
+
3. Configure monitoring options
|
|
235
97
|
|
|
236
|
-
|
|
98
|
+
4. Save and go to dashboard
|
|
237
99
|
|
|
238
|
-
Upsnap is built for Strapi β the leading open-source headless CMS.
|
|
239
100
|
|
|
240
|
-
|
|
101
|
+
## Documentation
|
|
102
|
+
[Full Documentation](https://github.com/Appfoster/upsnap/wiki)
|
|
241
103
|
|
|
242
|
-
|
|
104
|
+
## Issue Tracking
|
|
105
|
+
[GitHub Issues](https://github.com/Appfoster/upsnap-strapi/issues)
|
|
106
|
+
[Changelog](https://github.com/Appfoster/upsnap/blob/main/CHANGELOG.md)
|
|
243
107
|
|
|
244
|
-
|
|
245
|
-
|
|
108
|
+
## Contact
|
|
109
|
+
**Email**: support@upsnap.ai
|
|
110
|
+
**Website**: [UpSnap](https://upsnap.ai/)
|