Commit graph

72 commits

Author SHA1 Message Date
f24047b33b
fix canvas version mismatch breaking build 2022-01-19 20:52:02 +01:00
f004daaa3c add docker deno build to Makefile, clean step, fix app build, .gitignore 2021-09-23 12:38:41 +02:00
ff39c8eeb3 bot error reporting does not use colors & truncates at 2500 chars 2021-09-22 23:57:42 +02:00
cf19301f96 add 60s timeout to bot commands to prevent lockups 2021-09-22 23:57:06 +02:00
a5068e4b64 fix bot --rr flag; tidy up bot /help & /start; cosmetics 2021-09-22 23:56:42 +02:00
04ba5b7e4e show used images in CLI and bot; caption cmdline in bot 2021-09-22 23:55:48 +02:00
546102205e fix recursive defaults 2021-09-20 23:06:11 +02:00
fd06a2a618 add recursive args to bot as well 2021-09-20 23:05:24 +02:00
e391b9b6bf add cli params for recursive modes 2021-09-20 22:56:02 +02:00
bfe739a487 recursive traversal is implicit 2021-09-20 22:43:58 +02:00
85881f877c cli - reformat & lint 2021-09-20 22:41:00 +02:00
4d8b0b85dd cli - use proper defaults 2021-09-20 22:40:12 +02:00
33603eabff cli - allow multiple modes to be selected, recursive collages
also use module augmentation to simplify types and all

TODO: make web app also use the same recursive code
2021-09-20 22:38:04 +02:00
2647238410 check both cases for directories 2021-09-19 13:47:52 +02:00
405fd3cad5 checks for nonexistent dirs 2021-09-19 13:44:35 +02:00
9a13c3c393 ...and -n 2021-09-19 13:36:31 +02:00
1e1faaa4c9 fix width/height args 2021-09-19 13:34:29 +02:00
0edc9a7ab4 fix args 2021-09-19 13:32:50 +02:00
8915a36b3d actual cmdline parsing in tg 2021-09-19 13:19:00 +02:00
d443fc6d7e fix persistence (again) 2021-09-19 12:21:20 +02:00
6091c19c8b update gitignore 2021-09-19 12:19:31 +02:00
b74d5838eb fix persistence 2021-09-19 12:18:32 +02:00
918e021eed fix lint 2021-09-19 12:14:41 +02:00
8ea2782038 remove clamping down files, improve logging 2021-09-19 12:09:17 +02:00
7e41fe054e autoformat & reasonable /start command 2021-09-19 12:09:15 +02:00
7e6a761363 lazy load images in deno 2021-09-19 12:08:46 +02:00
7919e4fb7d makefile improvements 2021-09-19 11:30:28 +02:00
e82fcd5d42 error logging 2021-09-19 11:30:17 +02:00
c89777621a unstable in .gitlab-ci.yml 2021-09-19 10:34:09 +02:00
3409978203 rudimentary tg bot 2021-09-19 10:31:34 +02:00
d8dff75411 deno build --unstable 2021-09-19 09:48:25 +02:00
944dc9ca5f add a --recursive option to deno cli 2021-09-18 19:04:29 +02:00
26ceccbde2 formatting 2021-09-18 18:58:16 +02:00
e34c3a96c4 pin specific canvas version in deno 2021-09-18 18:57:38 +02:00
86c9644972 -m param without args list modes 2021-09-18 12:11:03 +02:00
e9bc9f568d limit cli only to jpgs/pngs (by default) 2021-09-18 11:42:44 +02:00
eb455e2311 clamp cli to 25 images for performance reasons 2021-09-17 19:09:51 +02:00
57f32ef643 cli takes directories as well as files 2021-09-17 18:56:57 +02:00
cd76a36d99 adjust .gitlab-ci.yml to also build app, remove Makefile dep 2021-09-15 21:29:48 +02:00
71af6bb680 add base CI for Deno 2021-09-15 21:22:18 +02:00
6720eace7a add Makefile 2021-09-15 21:19:22 +02:00
0982857082 fix linter errors, reformat 2021-09-15 21:19:03 +02:00
1ba396bc7c make image loading work even in compiled version (?) 2021-09-15 21:16:01 +02:00
a656d37d8c reformat cli/main.ts 2021-09-15 21:15:41 +02:00
14efcf03a1 unnecessary files, fix default extension 2021-09-15 20:56:40 +02:00
b5a6b70c2b npx browserslist@latest --update-db 2021-09-15 19:14:58 +02:00
5734774366 autoformat, fix lint errors 2021-09-15 19:13:26 +02:00
054f9a9218 deno cli version (ugly) proof of concept 2021-09-15 19:09:44 +02:00
79f9108f34 autoformat 2021-09-11 23:51:22 +02:00
de53e1b741 add CHANGELOG.md 2020-07-20 15:11:22 +02:00