Commit Graph

447 Commits

Author SHA1 Message Date
Antoni Sawicki
4d9319eef2 todo update 2024-07-11 21:22:13 -07:00
Antoni Sawicki
7916fa1260 rename files 2024-07-09 22:53:55 -07:00
Antoni Sawicki
9f9014dc15 use short uuid generator instead of rand 2024-07-09 22:50:25 -07:00
Antoni Sawicki
3231a0a61c count image size for simple html mode 2024-07-09 22:03:22 -07:00
Antoni Sawicki
94fb4f437b todo updates 2024-07-09 02:11:41 -07:00
Antoni Sawicki
9110ad0853 embed certs for text mode 2024-07-09 02:09:18 -07:00
Antoni Sawicki
51c4c35651 use local binaries for local docker 2024-07-09 02:07:50 -07:00
Antoni Sawicki
0d998af68c jpeg quality via form value etc 2024-07-09 01:45:03 -07:00
Antoni Sawicki
eb38499280 todo updates 2024-07-09 01:11:20 -07:00
Antoni Sawicki
56fa314d61 image type based on form value 2024-07-08 21:55:03 -07:00
Antoni Sawicki
335a84f52e use form image size 2024-07-08 21:54:45 -07:00
Antoni Sawicki
bb29ce38de pass img type and size 2024-07-08 21:46:47 -07:00
Antoni Sawicki
db4ed0d811 code reorg, comments etc 2024-07-08 21:36:32 -07:00
Antoni Sawicki
2f667e447c move some code to util.go 2024-07-08 21:27:51 -07:00
Antoni Sawicki
00304b5d05 fix makefile 2024-07-07 23:40:46 -07:00
Antoni Sawicki
8d165df36d more fixes 2024-07-03 05:24:56 -07:00
Antoni Sawicki
407907bece add / path prefix 2024-07-02 17:15:46 -07:00
Antoni Sawicki
f838caa328 bugs update 2024-07-02 12:18:51 -07:00
Antoni Sawicki
a8b8a557f7 add error to http status? 2024-07-02 02:57:00 -07:00
Antoni Sawicki
d036914fcb fetch is more fortunate than grab 2024-07-02 02:54:55 -07:00
Antoni Sawicki
701240eb7c process http status code 2024-07-02 02:54:33 -07:00
Antoni Sawicki
1d9af26604 add main todo 2024-07-02 02:38:32 -07:00
Antoni Sawicki
5ed55c387c todo image type based on form value 2024-07-02 02:35:48 -07:00
Antoni Sawicki
0e3192b69f dynamically present content type 2024-07-02 02:32:59 -07:00
Antoni Sawicki
91870f5724 add todo 2024-07-02 02:25:47 -07:00
Antoni Sawicki
c1ffd71e25 use resize.Thumbnail mode instead of calculating size 2024-07-02 02:24:01 -07:00
Antoni Sawicki
26b3c21aa7 remove cache control 2024-07-02 02:23:40 -07:00
Antoni Sawicki
8cec22eb90 add some defensive code for background setting 2024-07-02 02:04:36 -07:00
Antoni Sawicki
e64f413c76 add bgcolor for markdown 2024-07-02 01:42:53 -07:00
Antoni Sawicki
94d0e0d128 add comments todo 2024-07-02 01:23:14 -07:00
Antoni Sawicki
b546b5cbae use flag for image size 2024-07-02 01:21:22 -07:00
Antoni Sawicki
a2a4152b86 fix destination bug 2024-07-02 01:19:19 -07:00
Antoni Sawicki
db77479bad grab image now returns error; delete img src on error 2024-07-02 01:14:24 -07:00
Antoni Sawicki
33436333cf better log entry and todo 2024-07-02 01:06:58 -07:00
Antoni Sawicki
866750700b only resize larger images 2024-07-02 01:05:07 -07:00
Antoni Sawicki
3f445abd14 remove debug print 2024-07-02 00:58:26 -07:00
Antoni Sawicki
d7eb89e135 add embed image support 2024-07-02 00:58:14 -07:00
Antoni Sawicki
bf946f0f63 use prefix const instead of hardcoding 2024-07-02 00:46:24 -07:00
Antoni Sawicki
7673e15b9e add dependencies and goldmark cleanup 2024-07-02 00:36:45 -07:00
Antoni Sawicki
d00b1d5d7f add imgz procesing 2024-07-02 00:36:18 -07:00
Antoni Sawicki
3e8f109edd use HasSuffix to determine content type 2024-07-01 23:15:18 -07:00
Antoni Sawicki
9a0e5809c1 remove seed for random number generator, deprecated 2024-07-01 19:47:52 -07:00
Antoni Sawicki
96acf94521 ver bump 2024-06-24 00:15:30 -07:00
Antoni Sawicki
807373d668 add link to docker 2024-06-22 19:59:11 -07:00
Antoni Sawicki
703e9d0452 fix dockerfile casing 2024-06-22 19:57:11 -07:00
Antoni Sawicki
f7799ecba5 rename funcs for readability 2024-06-22 19:43:53 -07:00
Antoni Sawicki
37562cce23 add txt/reader mode to readme 2024-06-22 19:43:33 -07:00
Antoni Sawicki
631971b0bb printf instead of fata error 2024-06-22 15:40:37 -07:00
Antoni Sawicki
23a7ba5cbf readme update 2024-06-22 15:38:47 -07:00
Antoni Sawicki
2733a84d2d do not display image properties when there is no image 2024-06-22 15:33:27 -07:00