Commit Graph

441 Commits

Author SHA1 Message Date
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
Antoni Sawicki
abea41f498 flag for txt by default 2024-06-22 15:18:03 -07:00
Antoni Sawicki
da524ff275 use goldmark instead of gomarkdown 2024-06-22 15:17:26 -07:00
Antoni Sawicki
b92478fd6a add todo for goldmark 2024-06-22 12:14:39 -07:00
Antoni Sawicki
ee0e72f246 use plugins for markdown 2024-06-22 11:53:20 -07:00
Antoni Sawicki
a3c06d346c use html-to-markdown module instead of api 2024-06-22 02:42:53 -07:00
Antoni Sawicki
0065fdc2c7 asciify utf8 2024-06-22 01:48:46 -07:00