Commit graph

49 commits

Author SHA1 Message Date
804000f681 Update dependencies 2025-09-02 20:40:53 +02:00
c8fb228a24 Get rid of deprecation warnings 2025-04-09 19:24:28 +02:00
56c7321c83 Update rust dependencies 2025-04-09 19:24:28 +02:00
618f298cc6 Add xkcd document 2025-04-09 19:24:28 +02:00
a24532d9cc Add sunrise/sunset document 2025-04-09 19:24:28 +02:00
14b48c3c21 Update dependencies 2025-03-05 13:27:23 +01:00
f4eb4d58b0 Fix spinch deployment 2025-03-03 22:25:38 +01:00
c0fe22922d Dither image outside of typst 2025-03-03 20:52:50 +01:00
a55109c677 Remove showbits-common 2025-03-01 23:26:34 +01:00
6e6dfb2b66 Remove all dependencies on showbits-common 2025-03-01 23:23:43 +01:00
de7ae63a5e Typstify /chat_message to /chat 2025-03-01 23:18:03 +01:00
6d4db1ca2e Download typst packages on demand 2025-03-01 20:14:01 +01:00
fa43074f3d Typstify /image endpoint 2025-03-01 18:38:22 +01:00
84d631a9c3 Move typst wasm plugin into separate workspace 2025-03-01 02:36:04 +01:00
92ec72ab4b Dither images using wasm plugin 2025-03-01 02:17:03 +01:00
179d0653bb Set up typst wasm plugin 2025-03-01 01:02:34 +01:00
49d6a2c022 Load unifont fonts into typst 2025-02-28 23:53:28 +01:00
428b825e43 Use new typst rendering in /test endpoint 2025-02-28 23:53:28 +01:00
8526566f39 Add showbits-typst crate 2025-02-28 23:10:15 +01:00
87b031101f Switch from time to jiff 2025-02-25 01:08:46 +01:00
f833a5fea5 Update taffy to 0.7.6 2025-02-22 16:46:49 +01:00
ea0cc4c7e3 Update typst and related packages 2025-02-22 16:39:05 +01:00
f4e345abdf Update rand to 0.9.0 2025-02-22 16:30:21 +01:00
3ba4bcd2f8 Update escpos to 0.15.0 2025-02-22 16:26:06 +01:00
e9ed7d6eaa Update cosmic-text to 0.12.1 2025-02-22 16:13:03 +01:00
05b1734800 Update axum to 0.8.1 2025-02-22 16:01:49 +01:00
8a33b7f6ca Run cargo update 2025-02-22 15:54:40 +01:00
611bf3a9f1 Enable more lints 2025-02-22 15:35:46 +01:00
0345a80349 Update dependencies 2024-05-14 01:51:50 +02:00
9b6865ff50 Add /typst 2024-05-13 13:02:26 +02:00
a9ba160c13 Print random easter egg 2024-03-30 16:28:30 +01:00
755889e82d Add /cells 2024-03-17 17:41:08 +01:00
853895df79 Add /calendar 2024-03-13 02:37:52 +01:00
a51f3fa9b5 Add /index.html and /image.html 2024-03-10 01:06:20 +01:00
74b0d25dfc Add /image endpoint 2024-03-09 22:47:10 +01:00
ef5f0e3af4 Add Image widget 2024-03-09 22:46:55 +01:00
638a449343 Make naming scheme more consistent
Constructor functions that set/overwrite a value are called with_*,
functions that add a value are called and_*.
2024-03-09 14:53:15 +01:00
0f21c3701e Improve text widget API 2024-03-09 13:28:13 +01:00
dd40058e71 Add showbits-assets with Unifont 15.1.05 2024-03-09 01:38:11 +01:00
6ab43a8d5e Try to draw simple "Hello world!" 2024-03-08 17:01:54 +01:00
c8c0759015 Implement Tree printing 2024-03-08 13:37:38 +01:00
dc6265f837 Add Text widget 2024-03-07 23:43:12 +01:00
bea5e03834 Add Widget and Node 2024-03-07 13:58:10 +01:00
eb04b3fb50 Rip out buffer and widgets
I've decided to use the "taffy" crate for layouting. To make the API
somewhat bearable to use, I've decided to perform all rendering in a
good ol' rgb image buffer (in this case, an ImageBuffer from the "image"
crate). The pixels will be converted to their final representation just
before being sent to whatever device will be displaying them.

I've removed the buffer and the color traits because they're no longer
necessary. I've also removed the existing widgets because the widget
system will have to be redesigned to work well with taffy.
2024-03-06 00:36:19 +01:00
a2867b7188 Import teepee code 2024-03-05 00:50:43 +01:00
097f4ee548 Add ColorBw for printer 2024-03-05 00:09:34 +01:00
59a1235b1d Add Color trait 2024-03-05 00:09:32 +01:00
ba68e34d0d Add Widget and BoxedWidget 2024-03-04 00:25:43 +01:00
44294830af Create project 2024-03-02 23:02:32 +01:00