This website requires JavaScript.
7360d0b08a
feat: add fullpage and maxheight parameters for enhanced screenshot options
main
v2.2.0
Chris
2026-04-24 15:43:08 +02:00
ada976a224
feat: enable BLOCK_PRIVATE_IPS in docker-compose for enhanced security
v2.1.0
Chris
2026-04-21 12:53:08 +02:00
6973522c45
fix: block non-http(s) schemes, sanitize API_KEY backslash, improve viewport error message
Chris
2026-04-21 12:48:18 +02:00
6dc0001f9d
fix: block 0.0.0.0/8 in isPrivateIP to prevent loopback bypass
Chris
2026-04-21 12:35:31 +02:00
4ab30bcc1d
feat: opt-in SSRF protection via BLOCK_PRIVATE_IPS env var
Chris
2026-04-21 12:26:54 +02:00
9295115742
fix: use hash_equals for API key comparison and update config documentation
Chris
2026-04-21 12:17:34 +02:00
efc9e6510c
feat: optional API key auth via X-API-Key header or ?key= param
Chris
2026-04-21 12:11:23 +02:00
e7924f462e
fix: reject zero-dimension viewport values
Chris
2026-04-21 12:04:05 +02:00
8590465c6a
fix: viewport before page load, 60ms->60s timeout, viewport cap, generic errors
Chris
2026-04-21 11:49:49 +02:00
cc30d2288e
fix: sanitize API_KEY and BLOCK_PRIVATE_IPS in config generation
Chris
2026-04-20 21:50:59 +02:00
3ab7c1334f
feat: add API_KEY and BLOCK_PRIVATE_IPS config vars
Chris
2026-04-20 21:47:09 +02:00
75ead2f5ad
feat: add isPrivateIP helper, fix getUserIP and addToLog
Chris
2026-04-20 21:44:32 +02:00
15720489ba
test: add failing tests for helpers functions
Chris
2026-04-20 17:20:16 +02:00
73118498c9
docs: add security hardening implementation plan
Chris
2026-04-20 09:44:48 +02:00
7f9a752b57
docs: add security hardening design spec
Chris
2026-04-20 09:40:21 +02:00
7323eed789
fix: enhance error handling and improve URL decoding in http2pic class and index.php
Chris
2026-04-20 07:59:06 +02:00
7616dee994
fix: improve error handling and streamline screenshot response in index.php
Chris
2026-04-19 21:58:00 +02:00
4a548f50e7
fix: update URL format in docker-compose and enhance error handling in http2pic class
Chris
2026-04-19 21:27:04 +02:00
faea2b0899
fix: correct URL format in docker-compose files and improve viewport handling in index.php
v2.0.8
Chris
2026-02-15 19:58:43 +01:00
427fa24565
clarify
Chris
2026-02-15 19:29:55 +01:00
086e7c7a77
full path
Chris
2025-06-10 12:00:35 +02:00
181bed4449
config corrections
Chris
2025-06-10 11:57:16 +02:00
6e0795bbdf
url
Chris
2025-06-10 11:55:13 +02:00
5df5a0ad7a
added logging
v2.0.7
Chris
2025-06-10 11:50:24 +02:00
63b49dd282
url showing
Chris
2025-06-10 11:25:27 +02:00
5e8f4e33e3
ups
Chris
2025-06-10 11:23:45 +02:00
a140a35448
symlink
Chris
2025-06-10 11:21:11 +02:00
a0765efc3c
ok
Chris
2025-06-10 11:16:25 +02:00
543e44abc8
fine, I'll do it myself
v2.0.6
Chris
2025-06-10 11:09:14 +02:00
1443cfee12
ok only docker hub
v2.0.5
Chris
2025-06-10 11:06:45 +02:00
0d17b5d474
write permissions for packages
v2.0.4
Chris
2025-06-10 11:02:01 +02:00
3eed66b9a9
testing
v2.0.3
Chris
2025-06-10 10:54:13 +02:00
184e673277
correct token for docker login
v2.0.2
Chris
2025-06-10 10:51:10 +02:00
83926b0f9a
push only to github
v2.0.1
Chris
2025-06-10 10:44:33 +02:00
469ef7f5ea
container and dev preparations
v2.0.0
Chris
2025-06-10 10:39:47 +02:00
fbe7613f97
working prototype, many features missing
Chris
2025-01-13 15:58:58 +00:00
028a4b54f4
api preparations for rework
Chris
2025-01-13 15:42:44 +00:00
f54d35c312
preparations and testing for a rewrite, ditching wkhtmltopdf for chrome-driver
Christian Haschek
2025-01-12 20:13:47 +00:00
cf07363a8d
preparations for rewrite
Chris
2025-01-11 23:14:09 +01:00
637a781f24
changed the way the url is escaped. should fix #14
Christian Haschek
2022-03-08 22:00:58 +01:00
ce3b71c934
url validation now only allows http, https and ftp urls. fixes #13
Christian Haschek
2016-11-20 23:24:01 +01:00
52df764d44
added phantomjs binary
Christian Haschek
2016-11-20 23:23:27 +01:00
4e164c82a9
Merge pull request #11 from chpwssn/master
Christian Haschek
2016-08-30 09:20:10 +02:00
03b72c9198
Catch When cURL can't connect to webserver
Chip Wasson
2016-08-29 21:52:28 -06:00
77f2a2651c
Merge pull request #10 from chpwssn/master
Christian Haschek
2016-08-29 19:38:03 +02:00
6c1aaeae2a
Chrome Won't Infer File Extension
Chip Wasson
2016-08-29 11:22:36 -06:00
745b9cc692
Add Content-Disposition to make saving images cleaner
Chip Wasson
2016-08-29 11:08:12 -06:00
4abd000917
Merge pull request #7 from luckyjay/master
Christian Haschek
2016-01-10 17:39:17 +01:00
2a1452c9f2
Change to PNG as default output
luckyjay
2016-01-10 11:28:35 -05:00
102b39235d
Merge pull request #6 from luckyjay/master
Christian Haschek
2016-01-10 12:11:48 +01:00
62392ad181
Merge pull request #5 from luckyjay/patch-1
Christian Haschek
2016-01-10 12:11:28 +01:00
d63cee86a6
Update http2pic.class.php
luckyjay
2016-01-10 02:07:06 -05:00
84bad66c6a
Update http2pic.class.php
luckyjay
2016-01-10 01:25:06 -05:00
fd553e72ea
Change curl opts to improve reachable test
luckyjay
2016-01-10 01:09:57 -05:00
6fefefdfb5
Update http2pic.class.php
luckyjay
2016-01-09 23:52:12 -05:00
19700ca6da
Remove clipRect setting to fix rendering
luckyjay
2016-01-09 23:49:37 -05:00
3c0d2b20b9
Removed exit command from renderPagePHANTOMJS()
luckyjay
2016-01-09 22:31:03 -05:00
8c446b794d
so the debug file (if exists) won't be visible to everyone
Christian Haschek
2015-10-03 18:47:05 +02:00
d9e70e5abd
phantom render script
Christian Haschek
2015-10-01 15:36:32 +02:00
98667473d8
fixed caching and removed faulty type variable
Christian Haschek
2015-10-01 15:17:30 +02:00
43be0fdfac
added debug functin and fixed false negatives of "isURLReachable" method
Christian Haschek
2015-10-01 15:17:10 +02:00
2c06b8d90e
moved lines around so they make more sense
Christian Haschek
2015-09-30 11:07:03 +02:00
9d8d779ef1
added phantomjs stuff
Christian Haschek
2015-09-30 00:47:36 +02:00
0b5c98ee54
added experimental support for phantomjs as rendering engine. Should work but I couldn't test it yet
Christian Haschek
2015-09-30 00:47:03 +02:00
2ef269fb87
fixed variable change
Christian Haschek
2015-09-30 00:46:14 +02:00
eeb9e6d1d1
added upgrade info
Christian Haschek
2015-09-29 23:12:18 +02:00
5be211b209
resizing now uses right file type
Christian Haschek
2015-09-29 23:10:23 +02:00
5e2248cd04
This project is now officially released under the Apache License
Christian Haschek
2015-09-29 19:54:21 +02:00
8744bad966
added curl as dependency
Christian Haschek
2015-09-29 19:50:32 +02:00
f926d5bb15
http2pic class with several editable options. Code is prepared for changing of rendering engines although at the moment only wkhtmltoimage is supported
Christian Haschek
2015-09-29 19:49:21 +02:00
b630fcd6b6
api.php updated so it just calls the http2pic class
Christian Haschek
2015-09-29 19:38:20 +02:00
627a640bde
Merge pull request #2 from danbovey/master
chrisiaut
2015-09-28 21:15:24 +02:00
a1dfdf789c
Remove url prefix
Dan Bovey
2015-09-28 19:31:17 +01:00
dad5188e19
Switched to jQuery event handlers
Dan Bovey
2015-09-28 19:11:48 +01:00
c50ac9e462
Merge pull request #1 from lekoaf/master
chrisiaut
2015-09-28 17:05:11 +02:00
dca7348b4e
Further increase in readability
Martin Trobäck
2015-09-28 16:54:29 +02:00
8aeda2e482
Increased readability
Martin Trobäck
2015-09-28 16:46:34 +02:00
65113d7131
added download link
Christian Haschek
2015-09-28 16:23:12 +02:00
eceaec3df9
fixed messedup filename for non-cached images
Christian Haschek
2015-09-28 16:02:20 +02:00
a51de98781
if the user didn't specify the cache id, we'll delete the image and not keep it
Christian Haschek
2015-09-28 15:56:04 +02:00
193cf828c2
Opengraph goodnes
Christian Haschek
2015-09-28 15:37:52 +02:00
b216bf11c8
added php example
Christian Haschek
2015-09-28 15:23:50 +02:00
c19829233a
Adding cache folder if nto exist
Christian Haschek
2015-09-28 15:21:43 +02:00
ef5d967aa5
added how to use section
Christian Haschek
2015-09-28 15:21:26 +02:00
deb51373ad
added github fork link
Christian Haschek
2015-09-28 11:36:42 +02:00
9cc7c1704d
safer input
Christian Haschek
2015-09-28 11:36:29 +02:00
28daf463d1
final
Christian Haschek
2015-09-28 01:02:32 +02:00
6cfccc99a1
Readme got even better
Christian Haschek
2015-09-28 01:01:50 +02:00
16bc00bb48
better readme
Christian Haschek
2015-09-28 01:00:27 +02:00
ea39fea3c3
readme :D
Christian Haschek
2015-09-28 00:58:41 +02:00
d1a27d0d1a
don't need that anymore
Christian Haschek
2015-09-28 00:53:50 +02:00
1559b55ca0
added another example
Christian Haschek
2015-09-28 00:52:27 +02:00
feccae9255
beautify :D
Christian Haschek
2015-09-28 00:52:11 +02:00
8d9d3758c3
initial commit
Christian Haschek
2015-09-28 00:35:10 +02:00