Commit Graph

81 Commits

Author SHA1 Message Date
Adam Goldsmith c04fed5993 Bump dependencies 2023-11-21 12:27:37 -05:00
Adam Goldsmith b7661a40a2 Replace video.js with vime
video.js still hasn't updated their types for v8 and now v7 is broken
too, so I'm just ditching it for another library
2023-09-14 14:05:26 -04:00
Adam Goldsmith 5766009a44 Fix imports for Typescript 5.2 2023-09-14 13:11:14 -04:00
Adam Goldsmith 6621696e03 Use media query based dark mode from bootstrap 5.3 2023-09-14 12:33:51 -04:00
Adam Goldsmith 41ac616a8a server: Disable clearing screen in `tsx watch` 2023-09-14 12:30:34 -04:00
Adam Goldsmith 902be3fb94 Bump dependencies 2023-09-14 12:28:01 -04:00
Adam Goldsmith 26ffddb1aa Bump dependencies 2023-08-04 00:08:47 -04:00
Adam Goldsmith b8a4b44d55 Add github action to test building
would also do actual tests, but I haven't written any :)
2023-03-29 11:01:25 -04:00
Adam Goldsmith d911588830 Bump lockfile to v6 format 2023-03-29 11:01:25 -04:00
Adam Goldsmith d0ae662efb Revert video.js back to 7.x.x, as 8 has broken type definitions
See https://github.com/videojs/video.js/issues/8141
2023-03-28 01:01:37 -04:00
Adam Goldsmith 29cb71bfdb Bump dependencies 2023-03-27 23:39:34 -04:00
Adam Goldsmith b3b26464ce Add a corner ribbon thing with link to Git source
Basically a simplified version of https://github.com/tholman/github-corners
2023-03-27 23:29:53 -04:00
Adam Goldsmith a6a097a7f7 Constrain video aspect ratio on client instead of resizing on server 2023-01-12 01:48:15 -05:00
Adam Goldsmith 7e8583f8ed Bump vite to version 4 2023-01-12 01:39:57 -05:00
Adam Goldsmith 2782a02954 Switch from hls.js to video.js for better live ui 2023-01-12 01:39:57 -05:00
Adam Goldsmith 6c53556c27 Bump dependencies 2023-01-12 00:07:33 -05:00
Adam Goldsmith 32b0fd851d Convert to ESM, bump node-fetch and pretty-ms
Both packages are now ESM only
2022-10-24 18:29:57 -04:00
Adam Goldsmith 5e99e30fc3 Apply prettier to types/messages.d.ts 2022-10-24 18:29:45 -04:00
Adam Goldsmith b25613d988 Use @types/mp4frag definitions instead of local .d.ts file 2022-10-24 18:29:37 -04:00
Adam Goldsmith ea702f79ea Bump dependencies 2022-10-24 17:04:49 -04:00
Adam Goldsmith f39366cd82 server: Time out websocket if no history/status message recieved within 30 seconds 2022-08-23 16:22:41 -04:00
Adam Goldsmith eddad957b7 Bump dependencies 2022-08-23 16:22:41 -04:00
Adam Goldsmith 5955ff2276 Fix recursive start for dev server in pnpm >=7 2022-08-23 16:22:41 -04:00
Adam Goldsmith 8d41813759 Bump dependencies 2022-08-23 16:22:41 -04:00
Adam Goldsmith 70a16a45ba server: Switch to `ts-node-dev` for automatic reloading 2022-08-23 16:22:41 -04:00
Adam Goldsmith 11996e5174 Compile and run server directly for prod, instead of using ts-node 2022-08-23 16:22:27 -04:00
Adam Goldsmith d6a3fb766f Add reconnection handling to FFmpeg streams 2022-01-04 23:20:53 -05:00
Adam Goldsmith 36c3af1446 Just show error message for octoprint connection failures 2022-01-04 22:48:24 -05:00
Adam Goldsmith 8b0c37476f Bump dependencies 2022-01-04 22:18:47 -05:00
Adam Goldsmith d288af13aa Apply prettier 2022-01-04 21:56:12 -05:00
Adam Goldsmith 310344a450 Use `pnpm --parallel` instead of `concurrently` 2022-01-04 21:37:07 -05:00
Adam Goldsmith 201e801d63 Remove a debug print 2022-01-04 21:35:22 -05:00
Adam Goldsmith b607696455 Enable controls in webcam video element to show stall 2022-01-04 21:35:22 -05:00
Adam Goldsmith d3f5916b34 Switch to PNPM, bump dependencies 2022-01-04 21:35:22 -05:00
Adam Goldsmith afe6a1aed5 Handle camera transforms in ffmpeg, rather than client side
This simplifies the client, as well as fixing rotation
2021-11-18 19:45:51 -05:00
Adam Goldsmith cc0f6d90d0 Re-stream webcams with ffmpeg and stream them via hls.js
This should result in a significant decrease in bandwidth
requirements, as well as providing the ability to reconnect to streams
2021-11-08 20:21:03 -05:00
Adam Goldsmith abf2144ca7 Don't show print time remaining if it is null or 0 2021-11-08 17:34:41 -05:00
Adam Goldsmith 35bb524cb3 Set job file name to monospace 2021-11-08 17:34:41 -05:00
Adam Goldsmith f10608ef63 Use bootstrap progress bar instead of HTML progress bar 2021-11-08 17:34:41 -05:00
Adam Goldsmith 5b53c9b7e1 Make all printer cards the same height 2021-11-08 17:34:41 -05:00
Adam Goldsmith 787ec126c5 Add a "settings" message to send header colors and webcam transform
This should ideally be in 3 commits, but oh well.
2021-11-08 17:34:41 -05:00
Adam Goldsmith ecd5185dc4 server: Switch from generic `http-proxy` to `mjpeg-proxy` for webcam streams 2021-11-03 19:36:25 -04:00
Adam Goldsmith 5d19c77dce server: Move source to `src` folder 2021-11-03 18:55:58 -04:00
Adam Goldsmith 7f2c4f48b2 server: Remove `pretty-ms` and `node-gyp` dependencies
Left over from when server and client shared dependencies
2021-11-03 18:55:58 -04:00
Adam Goldsmith d26f126358 server: Move `ts-node` to devDependencies 2021-11-03 18:55:53 -04:00
Adam Goldsmith 007e08d269 Add card footer with last updated time as string 2021-11-03 16:10:53 -04:00
Adam Goldsmith de43fdd642 Use bootstrap for styling 2021-11-03 16:10:53 -04:00
Adam Goldsmith 1175754a09 server: Move OctoPrint connection handler class to its own file 2021-10-28 02:54:44 -04:00
Adam Goldsmith 009612898a server: Actively check for loss of connection to octoprint websocket
Periodically `ping` the server, and check for returning `pong`s
2021-10-28 02:54:17 -04:00
Adam Goldsmith 51d3cbf41e Don't break when printers are not accessible during server startup 2021-10-28 01:06:42 -04:00